aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2017-05-02 13:30:07 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2017-05-02 13:30:07 -0400
commitea480a306d46efe3dd1839618137f0e73a80e9b3 (patch)
tree9ff5a3970ce3de345d2c4d962fd050cb524b6516 /gdb/gdbarch.h
parent1395c6ce47510babad3dcb9892f6f2517a3f2b59 (diff)
downloadgdb-ea480a306d46efe3dd1839618137f0e73a80e9b3.zip
gdb-ea480a306d46efe3dd1839618137f0e73a80e9b3.tar.gz
gdb-ea480a306d46efe3dd1839618137f0e73a80e9b3.tar.bz2
Change field separator in gdbarch.sh
The fields in the description of the gdbarch interface are separated using colons. That becomes a problem if we want to use things like std::vector in it. This patch changes the field separator to use semicolons instead. I think there's very little chance we'll ever want to use a semicolon in one of the fields, but if you think another character would be more appropriate, let me know. gdb/ChangeLog: * gdbarch.sh: Use semi-colon as field separator instead of colon. * gdbarch.h: Re-generate.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 7617908..d59e1490 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -129,7 +129,7 @@ extern void set_gdbarch_bits_big_endian (struct gdbarch *gdbarch, int bits_big_e
/* Number of bits in a char or unsigned char for the target machine.
Just like CHAR_BIT in <limits.h> but describes the target machine.
- v:TARGET_CHAR_BIT:int:char_bit::::8 * sizeof (char):8::0:
+ v;TARGET_CHAR_BIT;int;char_bit;;;;8 * sizeof (char);8;;0;
Number of bits in a short or unsigned short for the target machine. */