This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] PID cmdline argument should be whole from digits


> Date: Sat, 13 Feb 2010 16:20:44 +0100
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> 
> +      if (pid_or_core_arg[0] != 0
> +	  && strspn (pid_or_core_arg, "0123456789") == strlen (pid_or_core_arg))

Should we disallow PIDs in hex?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]