* [ob]: Get rid of deprecated_print_address_numeric
@ 2008-05-19 9:06 Markus Deuling
0 siblings, 0 replies; only message in thread
From: Markus Deuling @ 2008-05-19 9:06 UTC (permalink / raw)
To: insight; +Cc: Ulrich Weigand
[-- Attachment #1: Type: text/plain, Size: 628 bytes --]
Hi,
this patch: http://sourceware.org/ml/gdb-patches/2008-05/msg00540.html
gets rid of deprecated_print_address_numeric in GDB. Therefor I propose following
patch for Insight as obvious. This patch is untested. I'll be very happy if someone
with Insight experience could look it over and give it a test.
Thank you very much. Ok to commit as obvious?
ChangeLog:
* generic/gdbtk-cmds.c (gdbtk_load_asm): Replace
deprecated_print_address_numeric with paddress.
* generic/gdbtk-stack.c (get_frame_name): Likewise (comment).
Regards,
Markus
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com
[-- Attachment #2: diff-gdbtk --]
[-- Type: text/plain, Size: 1198 bytes --]
diff -urpN src/gdb/gdbtk/generic/gdbtk-cmds.c dev/gdb/gdbtk/generic/gdbtk-cmds.c
--- src/gdb/gdbtk/generic/gdbtk-cmds.c 2008-05-12 09:24:54.000000000 +0200
+++ dev/gdb/gdbtk/generic/gdbtk-cmds.c 2008-05-19 10:59:19.000000000 +0200
@@ -1889,7 +1889,7 @@ gdbtk_load_asm (ClientData clientData, C
for (i = 0; i < 3; i++)
Tcl_SetObjLength (client_data->result_obj[i], 0);
- deprecated_print_address_numeric (pc, 1, gdb_stdout);
+ fputs_filtered (paddress (pc), gdb_stdout);
gdb_flush (gdb_stdout);
result_ptr->obj_ptr = client_data->result_obj[1];
diff -urpN src/gdb/gdbtk/generic/gdbtk-stack.c dev/gdb/gdbtk/generic/gdbtk-stack.c
--- src/gdb/gdbtk/generic/gdbtk-stack.c 2008-03-07 09:03:19.000000000 +0100
+++ dev/gdb/gdbtk/generic/gdbtk-stack.c 2008-05-19 11:00:44.000000000 +0200
@@ -594,7 +594,7 @@ get_frame_name (Tcl_Interp *interp, Tcl_
/* we have no convenient way to deal with this yet... */
if (fi->pc != sal.pc || !sal.symtab)
{
- deprecated_print_address_numeric (fi->pc, 1, gdb_stdout);
+ fputs_filtered (paddress (fi->pc), gdb_stdout);
printf_filtered (" in ");
}
printf_symbol_filtered (gdb_stdout, funname ? funname : "??", funlang,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-19 9:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-19 9:06 [ob]: Get rid of deprecated_print_address_numeric Markus Deuling
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).