diff options
author | Pedro Alves <palves@redhat.com> | 2017-03-31 13:41:45 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-04-12 14:14:56 +0100 |
commit | e9bb3fbbe81115b196b436cf513f0fd7b41d6a4a (patch) | |
tree | 96004feb0dd8ab788a825bf51bcae52aa0927de8 /gdb/i386-tdep.c | |
parent | 53375380e934928af133bca69c1e1912c35e9c73 (diff) | |
download | gdb-e9bb3fbbe81115b196b436cf513f0fd7b41d6a4a.zip gdb-e9bb3fbbe81115b196b436cf513f0fd7b41d6a4a.tar.gz gdb-e9bb3fbbe81115b196b436cf513f0fd7b41d6a4a.tar.bz2 |
Remove unnecessary set_gdbarch_gnu_triplet_regexp calls
i386_gdbarch_init already does this unconditionally for all x86 ports.
Tested on x86-64 Fedora 23.
gdb/ChangeLog:
2017-04-12 Pedro Alves <palves@redhat.com>
* i386-tdep.c (i386_elf_init_abi, i386_go32_init_abi): Remove
calls to set_gdbarch_gnu_triplet_regexp.
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r-- | gdb/i386-tdep.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index 49f9824..2edf5cf 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -4464,8 +4464,6 @@ i386_elf_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) i386_stap_is_single_operand); set_gdbarch_stap_parse_special_token (gdbarch, i386_stap_parse_special_token); - - set_gdbarch_gnu_triplet_regexp (gdbarch, i386_gnu_triplet_regexp); } /* System V Release 4 (SVR4). */ @@ -4514,8 +4512,6 @@ i386_go32_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) set_gdbarch_has_dos_based_file_system (gdbarch, 1); - set_gdbarch_gnu_triplet_regexp (gdbarch, i386_gnu_triplet_regexp); - set_gdbarch_wchar_bit (gdbarch, 16); set_gdbarch_wchar_signed (gdbarch, 0); } |