diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/cp-support.c | 2 | ||||
-rw-r--r-- | gdb/dwarf2read.h | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 028a58c..f1ed42a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2019-11-27 Tom Tromey <tromey@adacore.com> + + * dwarf2read.h (struct dwarf2_per_objfile): Remove unnecessary + backslashes. + * cp-support.c: Remove unnecessary backslashes. + 2019-11-27 Christian Biesinger <cbiesinger@google.com> * ada-exp.y (write_ambiguous_var): Replace SYMBOL_SET_LINKAGE_NAME diff --git a/gdb/cp-support.c b/gdb/cp-support.c index bec8dc8..9286259 100644 --- a/gdb/cp-support.c +++ b/gdb/cp-support.c @@ -2006,7 +2006,7 @@ static std::string quote (const char *str) { if (str != NULL) - return std::string (1, '\"') + str + '\"'; + return std::string (1, '"') + str + '"'; else return "<null>"; } diff --git a/gdb/dwarf2read.h b/gdb/dwarf2read.h index 53fc7f4..140bbed 100644 --- a/gdb/dwarf2read.h +++ b/gdb/dwarf2read.h @@ -259,8 +259,8 @@ public: /* Mapping from abstract origin DIE to concrete DIEs that reference it as DW_AT_abstract_origin. */ - std::unordered_map<sect_offset, std::vector<sect_offset>, \ - gdb::hash_enum<sect_offset>> \ + std::unordered_map<sect_offset, std::vector<sect_offset>, + gdb::hash_enum<sect_offset>> abstract_to_concrete; }; |