Remove some unnecessary backslashes
I found a couple of unnecessary backslashes in gdb. This removes them. Offhand, I wonder whether this abstract_to_concrete thing could be done some other way? This seems possibly expensive. Anyway, tested by rebuilding. I'm going to check this in as obvious. gdb/ChangeLog 2019-11-27 Tom Tromey <tromey@adacore.com> * dwarf2read.h (struct dwarf2_per_objfile): Remove unnecessary backslashes. * cp-support.c: Remove unnecessary backslashes. Change-Id: I956c91ae24407eeafec8a731545b45f5222e6a9d
This commit is contained in:
parent
43678b0afe
commit
fad03f6e5b
|
@ -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
|
||||
|
|
|
@ -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>";
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue