aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-03-20 17:09:17 +0000
committerDJ Delorie <dj@redhat.com>2001-03-20 17:09:17 +0000
commita9cbbe6d3e713210dcb111b1fa2dacda55eab456 (patch)
tree31fa42c665b45beed2e34267dc54f044a154049d
parent8bd1f2c64c2a827ad3ebb719bb64a229172e4e8e (diff)
downloadgdb-a9cbbe6d3e713210dcb111b1fa2dacda55eab456.zip
gdb-a9cbbe6d3e713210dcb111b1fa2dacda55eab456.tar.gz
gdb-a9cbbe6d3e713210dcb111b1fa2dacda55eab456.tar.bz2
merge from gcc
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/cplus-dem.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 9895470..5bb5073 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-20 Jason Merrill <jason@redhat.com>
+
+ * cplus-dem.c (main): Skip initial $.
+
2001-03-15 Michael Meissner <meissner@redhat.com>
* hashtab.c (higher_prime_number): Silence warning that 4294967291
diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c
index 6133e6e..31a7555 100644
--- a/libiberty/cplus-dem.c
+++ b/libiberty/cplus-dem.c
@@ -5139,7 +5139,7 @@ main (argc, argv)
{
int skip_first = 0;
- if (mbuffer[0] == '.')
+ if (mbuffer[0] == '.' || mbuffer[0] == '$')
++skip_first;
if (strip_underscore && mbuffer[skip_first] == '_')
++skip_first;