forked from Imagelibrary/binutils-gdb
C++ keyword cleanliness, mostly auto-generated
This patch renames symbols that happen to have names which are reserved keywords in C++. Most of this was generated with Tromey's cxx-conversion.el script. Some places where later hand massaged a bit, to fix formatting, etc. And this was rebased several times meanwhile, along with re-running the script, so re-running the script from scratch probably does not result in the exact same output. I don't think that matters anyway. gdb/ 2015-02-27 Tom Tromey <tromey@redhat.com> Pedro Alves <palves@redhat.com> Rename symbols whose names are reserved C++ keywords throughout. gdb/gdbserver/ 2015-02-27 Tom Tromey <tromey@redhat.com> Pedro Alves <palves@redhat.com> Rename symbols whose names are reserved C++ keywords throughout.
This commit is contained in:
@@ -1790,13 +1790,13 @@ record_latest_value (struct value *val)
|
||||
i = value_history_count % VALUE_HISTORY_CHUNK;
|
||||
if (i == 0)
|
||||
{
|
||||
struct value_history_chunk *new
|
||||
struct value_history_chunk *newobj
|
||||
= (struct value_history_chunk *)
|
||||
|
||||
xmalloc (sizeof (struct value_history_chunk));
|
||||
memset (new->values, 0, sizeof new->values);
|
||||
new->next = value_history_chain;
|
||||
value_history_chain = new;
|
||||
memset (newobj->values, 0, sizeof newobj->values);
|
||||
newobj->next = value_history_chain;
|
||||
value_history_chain = newobj;
|
||||
}
|
||||
|
||||
value_history_chain->values[i] = val;
|
||||
|
||||
Reference in New Issue
Block a user