From 9f2aab2d0a9fb0a16d8c05cbe16ab11d3d7761ca Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 3 Oct 2002 22:31:31 +0000 Subject: [PATCH] 2002-10-03 Jeff Johnston * gdbmi.texinfo: Fix examples that show frames to remove extraneous blank in level field. Part of fix for PR gdb/192. --- gdb/mi/ChangeLog | 5 +++++ gdb/mi/gdbmi.texinfo | 42 +++++++++++++++++++++--------------------- 2 files changed, 26 insertions(+), 21 deletions(-) diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog index 1574dd6efa7..0a0954f534e 100644 --- a/gdb/mi/ChangeLog +++ b/gdb/mi/ChangeLog @@ -1,3 +1,8 @@ +2002-10-03 Jeff Johnston + + * gdbmi.texinfo: Fix examples that show frames to remove + extraneous blank in level field. Part of fix for PR gdb/192. + 2002-10-03 Jeff Johnston * mi-cmd-var.c (mi_cmd_var_update): Fix for PR gdb/672. For m2, diff --git a/gdb/mi/gdbmi.texinfo b/gdb/mi/gdbmi.texinfo index 6145dcf81e6..164b1e823b7 100644 --- a/gdb/mi/gdbmi.texinfo +++ b/gdb/mi/gdbmi.texinfo @@ -2034,7 +2034,7 @@ file="../../../devo/gdb/testsuite/gdb.mi/basics.c",line="8"@} 205^done (@value{GDBP}) 111-exec-return -111^done,frame=@{level="0 ",func="callee3", +111^done,frame=@{level="0",func="callee3", args=[@{name="strarg", value="0x11940 \"A string argument.\""@}], file="../../../devo/gdb/testsuite/gdb.mi/basics.c",line="18"@} @@ -2641,15 +2641,15 @@ functionality of @samp{-stack-list-arguments}. -stack-list-frames ^done, stack=[ -frame=@{level="0 ",addr="0x00010734",func="callee4", +frame=@{level="0",addr="0x00010734",func="callee4", file="../../../devo/gdb/testsuite/gdb.mi/basics.c",line="8"@}, -frame=@{level="1 ",addr="0x0001076c",func="callee3", +frame=@{level="1",addr="0x0001076c",func="callee3", file="../../../devo/gdb/testsuite/gdb.mi/basics.c",line="17"@}, -frame=@{level="2 ",addr="0x0001078c",func="callee2", +frame=@{level="2",addr="0x0001078c",func="callee2", file="../../../devo/gdb/testsuite/gdb.mi/basics.c",line="22"@}, -frame=@{level="3 ",addr="0x000107b4",func="callee1", +frame=@{level="3",addr="0x000107b4",func="callee1", file="../../../devo/gdb/testsuite/gdb.mi/basics.c",line="27"@}, -frame=@{level="4 ",addr="0x000107e0",func="main", +frame=@{level="4",addr="0x000107e0",func="main", file="../../../devo/gdb/testsuite/gdb.mi/basics.c",line="32"@}] (@value{GDBP}) -stack-list-arguments 0 @@ -2731,25 +2731,25 @@ Full stack backtrace: (@value{GDBP}) -stack-list-frames ^done,stack= -[frame=@{level="0 ",addr="0x0001076c",func="foo", +[frame=@{level="0",addr="0x0001076c",func="foo", file="recursive2.c",line="11"@}, -frame=@{level="1 ",addr="0x000107a4",func="foo", +frame=@{level="1",addr="0x000107a4",func="foo", file="recursive2.c",line="14"@}, -frame=@{level="2 ",addr="0x000107a4",func="foo", +frame=@{level="2",addr="0x000107a4",func="foo", file="recursive2.c",line="14"@}, -frame=@{level="3 ",addr="0x000107a4",func="foo", +frame=@{level="3",addr="0x000107a4",func="foo", file="recursive2.c",line="14"@}, -frame=@{level="4 ",addr="0x000107a4",func="foo", +frame=@{level="4",addr="0x000107a4",func="foo", file="recursive2.c",line="14"@}, -frame=@{level="5 ",addr="0x000107a4",func="foo", +frame=@{level="5",addr="0x000107a4",func="foo", file="recursive2.c",line="14"@}, -frame=@{level="6 ",addr="0x000107a4",func="foo", +frame=@{level="6",addr="0x000107a4",func="foo", file="recursive2.c",line="14"@}, -frame=@{level="7 ",addr="0x000107a4",func="foo", +frame=@{level="7",addr="0x000107a4",func="foo", file="recursive2.c",line="14"@}, -frame=@{level="8 ",addr="0x000107a4",func="foo", +frame=@{level="8",addr="0x000107a4",func="foo", file="recursive2.c",line="14"@}, -frame=@{level="9 ",addr="0x000107a4",func="foo", +frame=@{level="9",addr="0x000107a4",func="foo", file="recursive2.c",line="14"@}, frame=@{level="10",addr="0x000107a4",func="foo", file="recursive2.c",line="14"@}, @@ -2764,11 +2764,11 @@ Show frames between @var{low_frame} and @var{high_frame}: (@value{GDBP}) -stack-list-frames 3 5 ^done,stack= -[frame=@{level="3 ",addr="0x000107a4",func="foo", +[frame=@{level="3",addr="0x000107a4",func="foo", file="recursive2.c",line="14"@}, -frame=@{level="4 ",addr="0x000107a4",func="foo", +frame=@{level="4",addr="0x000107a4",func="foo", file="recursive2.c",line="14"@}, -frame=@{level="5 ",addr="0x000107a4",func="foo", +frame=@{level="5",addr="0x000107a4",func="foo", file="recursive2.c",line="14"@}] (@value{GDBP}) @end smallexample @@ -2779,7 +2779,7 @@ Show a single frame: (@value{GDBP}) -stack-list-frames 3 3 ^done,stack= -[frame=@{level="3 ",addr="0x000107a4",func="foo", +[frame=@{level="3",addr="0x000107a4",func="foo", file="recursive2.c",line="14"@}] (@value{GDBP}) @end smallexample @@ -3442,7 +3442,7 @@ number-of-threads="3" (@value{GDBP}) -thread-select 3 ^done,new-thread-id="3", -frame=@{level="0 ",func="vprintf", +frame=@{level="0",func="vprintf", args=[@{name="format",value="0x8048e9c \"%*s%c %d %c\\n\""@}, @{name="arg",value="0x2"@}],file="vprintf.c",line="31"@} (@value{GDBP}) -- 2.30.2