[Bug 60670] Changing debugger default output radix

John Birch jbb at kdevelop.org
Sat Jul 26 11:05:07 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=60670     




------- Additional Comments From jbb at kdevelop.org  2003-07-26 11:04 -------
Add watch variable like so 
/F varname 
which is using a gdb output format (/F) 
 
see gdb info page on "Output Format" 
 
two useful ones for your situation from the gdb info page are 
 
x - Regard the bits of the value as an integer, and print the integer in 
hexadecimal. 
a -  Print as an address, both absolute in hexadecimal and as an offset 
     from the nearest preceding symbol.  You can use this format used 
     to discover where (in what function) an unknown address is located: 
 
          (gdb) p/a 0x54320 
          $3 = 0x54320 <_initialize_vx+396> 
 
It would be nice to add this to the interface in a more user friendly manner, 
but I have no time at the moment. I can point someone in the right direction if 
they contact me.




More information about the KDevelop-devel mailing list