This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] Zap %p
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 10 Apr 2002 19:36:14 -0400
- Subject: [patch] Zap %p
FYI (oops),
Cleanup the internal_error() message for the ->level patch. Some
compilers (and ARI) don't like it.
Andrew
2002-04-10 Andrew Cagney <ac131313@redhat.com>
* stack.c (select_frame): Cleanup internal error message, do not
use %p.
Index: stack.c
===================================================================
RCS file: /cvs/src/src/gdb/stack.c,v
retrieving revision 1.32
diff -u -r1.32 stack.c
--- stack.c 10 Apr 2002 22:14:02 -0000 1.32
+++ stack.c 10 Apr 2002 23:31:38 -0000
@@ -1488,8 +1488,9 @@
;
else
internal_error (__FILE__, __LINE__,
- "oops! fi=0x%p, fi->level=%d, level=%d",
- fi, fi ? fi->level : -1, level);
+ "Conflicting frame levels fi->level=%d, level=%d",
+ (fi ? fi->level : -1),
+ level);
if (selected_frame_level_changed_hook)
selected_frame_level_changed_hook (level);