This is the mail archive of the gdb-patches@sources.redhat.com 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: [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.

enjoy,
Andrew



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