[PATCH] Replace DEPRECATED_SYMBOL_NAME in i386-tdep.c
Mark Kettenis
kettenis@chello.nl
Sun Mar 2 10:42:00 GMT 2003
Sorry for the almost empty subject line on the similar patch to
i386-linux-tdep.c that I sent out yesterday. Anyway, this gets rid of
DEPRECATED_SYMBOL_NAME in i386-tdep.c.
Checked in.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
Index: i386-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386-tdep.c,v
retrieving revision 1.114
diff -u -p -r1.114 i386-tdep.c
--- i386-tdep.c 2 Mar 2003 04:02:23 -0000 1.114
+++ i386-tdep.c 2 Mar 2003 10:38:43 -0000
@@ -1293,7 +1293,7 @@ i386_pe_skip_trampoline_code (CORE_ADDR
unsigned long indirect = read_memory_unsigned_integer (pc + 2, 4);
struct minimal_symbol *indsym =
indirect ? lookup_minimal_symbol_by_pc (indirect) : 0;
- char *symname = indsym ? DEPRECATED_SYMBOL_NAME (indsym) : 0;
+ char *symname = indsym ? SYMBOL_LINKAGE_NAME (indsym) : 0;
if (symname)
{
More information about the Gdb-patches
mailing list