This is the mail archive of the
mailing list for the GDB project.
Re: [RFA 2nd try] tell in which register a register var is loaded.
>>I don't think the ``$'' prefix is consistent with existing code - based mainly on a quick grep that didn't reveal any code doing this. (I don't actually have anything agains the convention though - just a separate change :-)
> Look at tracepoint.c around line 2380 in function scope_info
> and you will find lots of GDB code using printf_filtered("... in register $%s",REGISTER_NAME(...))
>>Otherwize, yes, a much more helpful error message.
Doh! Ok, fine with me then.