conditional breakpoint with (char* ) string condition

Jim Blandy jimb@codesourcery.com
Mon May 15 19:17:00 GMT 2006


Daniel Jacobowitz <drow@false.org> writes:
> On Fri, May 12, 2006 at 11:00:16AM -0700, Jim Blandy wrote:
>> Should we establish a convention of starting GDB-provided convenience
>> variable names with _, to avoid conflicting with script variables?
>> Thus, $_strcmp and $_strlen?
>
> Or should they have a $gdb_ prefix?  Or $_gdb_?

Or $this_is_a_gdb_variable_20060515_GNU_prvt_ISO_IEC_9989:1999_?  :)
(There must be some way to get a UUID and 'http' in there...)

Hey, maybe we could just take over some prefix like $- that doesn't
conflict with the user and register namespace at all.



More information about the Gdb mailing list