This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Patch: Remove 'Dave' error message.
- To: gdb at sourceware dot cygnus dot com
- Subject: Patch: Remove 'Dave' error message.
- From: Nick Clifton <nickc at cygnus dot com>
- Date: Mon, 14 Feb 2000 16:59:09 -0800
Hi Guys,
Well I am sorry to have to do this, but we have a customer who got
very confused by the Dave error message in GDB and wanted to know
what a "Dave" was...
So here is a patch to fix it. This patch was originally developed
by Mark Alexander back in February of last year, but it appears to
have been lost in patch limbo.
Is it OK to apply this patch ?
Cheers
Nick
2000-02-14 Nick Clifton <nickc@cygnus.com>
* symfile.c (find_sym_fns): Provide a more useful error
message.
Index: symfile.c
===================================================================
RCS file: /cvs/src//src/gdb/symfile.c,v
retrieving revision 1.1.1.17
diff -p -r1.1.1.17 symfile.c
*** symfile.c 2000/02/03 04:14:35 1.1.1.17
--- symfile.c 2000/02/15 00:52:05
*************** find_sym_fns (objfile)
*** 1189,1195 ****
return;
}
}
! error ("I'm sorry, Dave, I can't do that. Symbol format `%s' unknown.",
bfd_get_target (objfile->obfd));
}
--- 1189,1196 ----
return;
}
}
!
! error ("Can't read symbols: symbol format `%s' unknown.",
bfd_get_target (objfile->obfd));
}