diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-04-10 23:32:33 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-04-10 23:32:33 +0000 |
commit | d8c0a2e707057364978b1cbe59d73d9bc929e0a6 (patch) | |
tree | 8103b4ce8bbeeec69feb5743ab5d230239acfb57 /gdb/stack.c | |
parent | 7cc19214aa83761f61b42a8eed01732d39495972 (diff) | |
download | gdb-d8c0a2e707057364978b1cbe59d73d9bc929e0a6.zip gdb-d8c0a2e707057364978b1cbe59d73d9bc929e0a6.tar.gz gdb-d8c0a2e707057364978b1cbe59d73d9bc929e0a6.tar.bz2 |
* stack.c (select_frame): Cleanup internal error message, do not
use %p.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index a348934..6a26e9a 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -1488,8 +1488,9 @@ select_frame (struct frame_info *fi, int level) ; 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); |