(xprintstr): Ensure GDB (> 6.6) prints symbol name

as strings and not character arrays.
This commit is contained in:
Nick Roberts 2007-02-24 21:15:02 +00:00
parent 174c9ce974
commit d33322491e
2 changed files with 6 additions and 1 deletions

View file

@ -977,7 +977,7 @@ Print $ as a lisp object of any type.
end
define xprintstr
set $data = $arg0->data
set $data = (char *) $arg0->data
output ($arg0->size > 1000) ? 0 : ($data[0])@($arg0->size_byte < 0 ? $arg0->size & ~gdb_array_mark_flag : $arg0->size_byte)
end

View file

@ -1,3 +1,8 @@
2007-02-24 Nick Roberts <nickrob@snap.net.nz>
* .gdbinit (xprintstr): Ensure GDB (> 6.6) prints symbol name
as strings and not character arrays.
2007-02-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* macterm.c [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag)