This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [commit] Print MALLOC_NAME as a string
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 09 Dec 2002 17:47:47 -0500
- Subject: Re: [commit] Print MALLOC_NAME as a string
- References: <3DF51B6E.10009@redhat.com>
Closely followed by this. Wraps any function addresses in `<...>'.
committed,
Andrew
2002-12-09 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (gdbarch_dump): Wrap function addresses in <>.
* gdbarch.c: Re-generate.
Index: gdbarch.sh
===================================================================
RCS file: /cvs/src/src/gdb/gdbarch.sh,v
retrieving revision 1.182
diff -u -r1.182 gdbarch.sh
--- gdbarch.sh 9 Dec 2002 22:22:40 -0000 1.182
+++ gdbarch.sh 9 Dec 2002 22:44:09 -0000
@@ -1641,7 +1641,7 @@
then
printf " if (GDB_MULTI_ARCH)\n"
printf " fprintf_unfiltered (file,\n"
- printf " \"gdbarch_dump: ${macro} = 0x%%08lx\\\\n\",\n"
+ printf " \"gdbarch_dump: ${macro} = <0x%%08lx>\\\\n\",\n"
printf " (long) current_gdbarch->${function}\n"
printf " /*${macro} ()*/);\n"
else