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]

gdbtk-{cmds,stack}.c build error


Become undefined "print_address_numeric" error.
Will it be influence of this correction?

2005-02-14  Andrew Cagney  <cagney@gnu.org>
 
       * printcmd.c (deprecated_print_address_numeric): Rename
        print_address_numeric, call paddress.

Index: gdbtk/generic/gdbtk-cmds.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-cmds.c,v
retrieving revision 1.87
diff -u -r1.87 gdbtk-cmds.c
--- gdbtk/generic/gdbtk-cmds.c	8 Feb 2005 01:13:29 -0000	1.87
+++ gdbtk/generic/gdbtk-cmds.c	16 Feb 2005 03:24:07 -0000
@@ -1880,7 +1880,7 @@
   for (i = 0; i < 3; i++)
     Tcl_SetObjLength (client_data->result_obj[i], 0);
 
-  print_address_numeric (pc, 1, gdb_stdout);
+  deprecated_print_address_numeric (pc, 1, gdb_stdout);
   gdb_flush (gdb_stdout);
 
   result_ptr->obj_ptr = client_data->result_obj[1];
Index: gdbtk/generic/gdbtk-stack.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-stack.c,v
retrieving revision 1.20
diff -u -r1.20 gdbtk-stack.c
--- gdbtk/generic/gdbtk-stack.c	7 Jan 2004 18:35:59 -0000	1.20
+++ gdbtk/generic/gdbtk-stack.c	16 Feb 2005 03:24:08 -0000
@@ -591,7 +591,7 @@
       /* we have no convenient way to deal with this yet... */
       if (fi->pc != sal.pc || !sal.symtab)
 	{
-	  print_address_numeric (fi->pc, 1, gdb_stdout);
+	  deprecated_print_address_numeric (fi->pc, 1, gdb_stdout);
 	  printf_filtered (" in ");
 	}
       printf_symbol_filtered (gdb_stdout, funname ? funname : "??", funlang,

-- 
Yoshinori Sato
<ysato@users.sourceforge.jp>


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