aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-06-19 02:43:22 +0000
committerFred Fish <fnf@specifix.com>1992-06-19 02:43:22 +0000
commit4341615d9250af9d59ade7331cdaaf0a51f4b024 (patch)
treeb632c996aa3bfe1c46956704935665db69860a65 /gdb/buildsym.c
parent0eb759402a5957bbb06c108362bcc585202b40ea (diff)
downloadgdb-4341615d9250af9d59ade7331cdaaf0a51f4b024.zip
gdb-4341615d9250af9d59ade7331cdaaf0a51f4b024.tar.gz
gdb-4341615d9250af9d59ade7331cdaaf0a51f4b024.tar.bz2
* valprint.c (type_print_1): Plug memory leak. Print all
C++ syms as demangled, not just functions. * buildsym.c (read_range_type): When we find a signed char type, do a lookup of signed char, not plain char. Plain char's still get looked up as plain char's elsewhere.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r--gdb/buildsym.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index 9af0af6..24552ed 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -3344,7 +3344,7 @@ read_range_type (pp, typenums, objfile)
if (n3 == ( 1 << (8 * sizeof (short) - 1)) - 1)
return (lookup_fundamental_type (objfile, FT_SHORT));
if (n3 == ( 1 << (8 * sizeof (char) - 1)) - 1)
- return (lookup_fundamental_type (objfile, FT_CHAR));
+ return (lookup_fundamental_type (objfile, FT_SIGNED_CHAR));
}
/* We have a real range type on our hands. Allocate space and