diff options
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r-- | gdb/arch-utils.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index 3cd0a218803..ce6ad784f02 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -874,6 +874,14 @@ default_gcc_target_options (struct gdbarch *gdbarch) gdbarch_ptr_bit (gdbarch) == 64 ? " -mcmodel=large" : ""); } +/* gdbarch gnu_triplet_regexp method. */ + +const char * +default_gnu_triplet_regexp (struct gdbarch *gdbarch) +{ + return gdbarch_bfd_arch_info (gdbarch)->arch_name; +} + /* -Wmissing-prototypes */ extern initialize_file_ftype _initialize_gdbarch_utils; |