aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>2002-02-23 13:18:36 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>2002-02-23 13:18:36 +0000
commit3ab136500f06eb436f585ebb6ed640d17d27ab47 (patch)
tree6b5cc6c212821497b90204e663196d104314e416
parent85ae890cdffa7d51a2e3050e09210d27efe56ca5 (diff)
downloadgdb-3ab136500f06eb436f585ebb6ed640d17d27ab47.zip
gdb-3ab136500f06eb436f585ebb6ed640d17d27ab47.tar.gz
gdb-3ab136500f06eb436f585ebb6ed640d17d27ab47.tar.bz2
* maint.c (print_section_info): Do not prepend `0x' to filepos
output, it will be handled by local_hex_string_custom.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/maint.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 751cdd0..557bbfb 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
+
+ * maint.c (print_section_info): Do not prepend `0x' to filepos
+ output, it will be handled by local_hex_string_custom.
+
2002-02-23 Richard Earnshaw <rearnsha"arm.com>
* arm-linux-nat.c (store_newfpe_single): Use regcache_collect.
diff --git a/gdb/maint.c b/gdb/maint.c
index 59de6dc..0d2be09 100644
--- a/gdb/maint.c
+++ b/gdb/maint.c
@@ -1,5 +1,5 @@
/* Support for GDB maintenance commands.
- Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001
+ Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
Written by Fred Fish at Cygnus Support.
@@ -296,7 +296,7 @@ print_section_info (const char *name, flagword flags,
/* FIXME-32x64: Need print_address_numeric with field width. */
printf_filtered (" 0x%s", paddr (addr));
printf_filtered ("->0x%s", paddr (endaddr));
- printf_filtered (" at 0x%s",
+ printf_filtered (" at %s",
local_hex_string_custom ((unsigned long) filepos, "08l"));
printf_filtered (": %s", name);
print_bfd_flags (flags);