From: Andrew Cagney Date: Sun, 18 Aug 2002 17:59:57 +0000 (+0000) Subject: 2002-08-18 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=01fc4e33ebb24b83f85c99412a4115e014065fc2;p=binutils-gdb.git 2002-08-18 Andrew Cagney * osabi.c (gdbarch_init_osabi): Don't complain about an unknown ABI. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dce4de09876..0c3f636e2e8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-08-18 Andrew Cagney + + * osabi.c (gdbarch_init_osabi): Don't complain about an unknown + ABI. + 2002-08-18 Mark Kettenis * i386b-nat.c [FETCH_INFERIOR_REGISTERS]: Remove dead code. diff --git a/gdb/osabi.c b/gdb/osabi.c index 580c7e19756..83eb767c0b7 100644 --- a/gdb/osabi.c +++ b/gdb/osabi.c @@ -232,13 +232,8 @@ gdbarch_init_osabi (struct gdbarch_info info, struct gdbarch *gdbarch, if (osabi == GDB_OSABI_UNKNOWN) { - /* Don't complain about not knowing the OS ABI if we don't - have an inferior. */ - if (info.abfd) - fprintf_filtered - (gdb_stderr, "GDB doesn't recognize the OS ABI of the inferior. " - "Attempting to continue with the default %s settings", - bfd_printable_arch_mach (arch_info->arch, arch_info->mach)); + /* Don't complain about an unknown OSABI. Assume the user knows + what they are doing. */ return; }