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]

Re: [commit] Print MALLOC_NAME as a string


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

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