"procces exited"
Leon Pollak
leonp at plris.com
Mon Apr 7 07:49:04 BST 2008
Probably, the attachment was too long, therefore I do nit see my message back.
Resending with shoerter output.
---
On Sunday, 6 בApril 2008, Vladimir Prus wrote:
> Leon Pollak wrote:
> > Hello, all.
> >
> > The latest binary 3.5.1-20 (and several before) prints "Process exited"
> > in the gdb window and debugging is impossible further.
> > For the problem to occur:
> > - open/close some structure in the variables window;
> > - step (run to) out of the funstion or into some function (cause the
> > current stack change).
> > "Process exited" appears.
>
> Can you please provide all the relevant information?
Well, I am not sure I know what is relevant here...:-(
The case is stably reproducible in my installation with gdb:
GNU gdb 6.7
Copyright (C) 2007 Free Software Foundation, Inc.
...
This GDB was configured
as "--host=x86_64-redhat-linux-gnu --target=powerpc-rtems4.9".
----
Below is the console output.
(gdb) source /Projects/VDTS/src/.gdbinit
source /Projects/VDTS/src/.gdbinit
Redefine command "rr"? (y or n) [answered Y; input not from terminal]
hook-stop
Current language: auto; currently c++
0x0001b6b0 in cSocket (this=0xd097c4) at /Projects/VDTS/src/socket.cpp:9
9 farAddrLen=sizeof(farAddr); myAddrLen=sizeof(myAddr); TheType = Type; }
hook-cont
Program received signal SIGSTOP, Stopped (signal).
hook-stop
0xfe0037c0 in ?? ()
Loading...Loading ofp.elf , please wait ....\r
File offset 0x000000A0 to address 0x00010000 size 862436\r
0 kbytes\r50 kbytes\r119 kbytes\r188 kbytes\r257 kbytes\r326 kbytes\r395
kbytes\r464 kbytes\r533 kbytes\r602 kbytes\r671 kbytes\r740 kbytes\r809
kbytes\rFile offset 0x000D2988 to address 0x000FBBF0 size 13896\r
0 kbytes\rLoading program file passed\r
^done
(gdb) -break-insert /Projects/VDTS/Common/utils.cpp:20
^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00043230",func="CauseResetHW()",file="/Projects/VDTS/Common/utils.cpp",fullname="/Projects/VDTS/Common/utils.cpp",line="20",times="0"}
(gdb) -break-insert /Projects/VDTS/Common/utils.cpp:10
^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x00041efc",func="Debug()",file="/Projects/VDTS/Common/utils.cpp",fullname="/Projects/VDTS/Common/utils.cpp",line="10",times="0"}
(gdb) -break-insert /opt/rtems-4.7/rtems-src-4.7brunch/c/src/lib/libbsp/powerpc/FDR_8247/vectors/vectors_init.c:27
No source file
named /opt/rtems-4.7/rtems-src-4.7brunch/c/src/lib/libbsp/powerpc/FDR_8247/vectors/vectors_init.c.
^error,msg="No source file
named /opt/rtems-4.7/rtems-src-4.7brunch/c/src/lib/libbsp/powerpc/FDR_8247/vectors/vectors_init.c."
(gdb) -break-insert /Projects/VDTS/Common/utils.cpp:14
^done,bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="0x00041f1c",func="BreakP()",file="/Projects/VDTS/Common/utils.cpp",fullname="/Projects/VDTS/Common/utils.cpp",line="14",times="0"}
(gdb) -break-insert /Projects/VDTS/src/ledsio.cpp:62
^done,bkpt={number="4",type="breakpoint",disp="keep",enabled="y",addr="0x00016a0c",func="cIOandLEDs::Body(eTaskArg)",file="/Projects/VDTS/src/ledsio.cpp",fullname="/Projects/VDTS/src/ledsio.cpp",line="62",times="0"}
(gdb) -break-insert /opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libcsupport/src/ioctl.c:51
^done,bkpt={number="5",type="breakpoint",disp="keep",enabled="y",addr="0x00063448",func="ioctl",file="/opt/rtems/rtems-src/c/src/../../cpukit/libcsupport/src/ioctl.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libcsupport/src/ioctl.c",line="51",times="0"}
(gdb) -break-insert /opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libnetworking/net/if.c:490
^done,bkpt={number="6",type="breakpoint",disp="keep",enabled="y",addr="0x0006a3b4",func="ifioctl",file="/opt/rtems/rtems-src/c/src/../../cpukit/libnetworking/net/if.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libnetworking/net/if.c",line="490",times="0"}
(gdb) -break-insert /Projects/VDTS/src/ctrl.cpp:52
^done,bkpt={number="7",type="breakpoint",disp="keep",enabled="y",addr="0x000107cc",func="cVDTS::DoControl()",file="/Projects/VDTS/src/ctrl.cpp",fullname="/Projects/VDTS/src/ctrl.cpp",line="52",times="0"}
(gdb) -break-insert /Projects/VDTS/src/ctrl.cpp:111
^done,bkpt={number="8",type="breakpoint",disp="keep",enabled="y",addr="0x00010460",func="cVDTS::DoATP()",file="/Projects/VDTS/src/ctrl.cpp",fullname="/Projects/VDTS/src/ctrl.cpp",line="111",times="0"}
(gdb) -break-insert /Projects/VDTS/src/ctrl.cpp:128
^done,bkpt={number="9",type="breakpoint",disp="keep",enabled="y",addr="0x00010484",func="cVDTS::DoATP()",file="/Projects/VDTS/src/ctrl.cpp",fullname="/Projects/VDTS/src/ctrl.cpp",line="128",times="0"}
(gdb) -break-insert /Projects/VDTS/src/ctrl.cpp:131
^done,bkpt={number="10",type="breakpoint",disp="keep",enabled="y",addr="0x000104c0",func="cVDTS::DoATP()",file="/Projects/VDTS/src/ctrl.cpp",fullname="/Projects/VDTS/src/ctrl.cpp",line="131",times="0"}
(gdb) -break-condition 1
^done
(gdb) -break-after 1 0
^done
(gdb) -break-enable 1
^done
(gdb) -break-condition 2
^done
(gdb) -break-after 2 0
^done
(gdb) -break-enable 2
^done
(gdb) -break-condition 3
^done
(gdb) -break-after 3 0
^done
(gdb) -break-enable 3
^done
(gdb) -break-condition 4
^done
(gdb) -break-after 4 0
^done
(gdb) -break-enable 4
^done
(gdb) -break-condition 5
^done
(gdb) -break-after 5 0
^done
(gdb) -break-disable 5
^done
(gdb) -break-condition 6
^done
(gdb) -break-after 6 0
^done
(gdb) -break-enable 6
^done
(gdb) -break-condition 7
^done
(gdb) -break-after 7 0
^done
(gdb) -break-enable 7
^done
(gdb) -break-condition 8
^done
(gdb) -break-after 8 0
^done
(gdb) -break-enable 8
^done
(gdb) -break-condition 9
^done
(gdb) -break-after 9 0
^done
(gdb) -break-enable 9
^done
(gdb) -break-condition 10
^done
(gdb) -break-after 10 0
^done
(gdb) -break-enable 10
^done
(gdb) -exec-continue
^running
hook-cont
hook-stop
Current language: auto; currently c
*stopped,reason="breakpoint-hit",bkptno="6",thread-id="0",frame={addr="0x0006a3b4",func="ifioctl",args=[{name="so",value="0x301468"},
{name="cmd",value="3223349521"},{name="data",value="0xd096c8 \"eth0\""},
{name="p",value="0x0"}],file="/opt/rtems/rtems-src/c/src/../../cpukit/libnetworking/net/if.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libnetworking/net/if.c",line="490"}
(gdb) -file-list-exec-source-file
^done,line="490",file="/opt/rtems/rtems-src/c/src/../../cpukit/libnetworking/net/if.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libnetworking/net/if.c"
(gdb) -break-list
^done,BreakpointTable={nr_rows="10",nr_cols="6",hdr=[{width="3",alignment="-1",col_name="number",colhdr="Num"},
{width="14",alignment="-1",col_name="type",colhdr="Type"},
{width="4",alignment="-1",col_name="disp",colhdr="Disp"},
{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},
{width="10",alignment="-1",col_name="addr",colhdr="Address"},
{width="40",alignment="2",col_name="what",colhdr="What"}],body=[bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00043230",func="CauseResetHW()",file="/Projects/VDTS/Common/utils.cpp",fullname="/Projects/VDTS/Common/utils.cpp",line="20",times="0"},bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x00041efc",func="Debug()",file="/Projects/VDTS/Common/utils.cpp",fullname="/Projects/VDTS/Common/utils.cpp",line="10",times="0"},bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="0x00041f1c",func="BreakP()",file="/Projects/VDTS/Common/utils.cpp",fullname="/Projects/VDTS/Common/utils.cpp",line="14",times="0"},bkpt={number="4",type="breakpoint",disp="keep",enabled="y",addr="0x00016a0c",func="cIOandLEDs::Body(eTaskArg)",file="/Projects/VDTS/src/ledsio.cpp",fullname="/Projects/VDTS/src/ledsio.cpp",line="62",times="0"},bkpt={number="5",type="breakpoint",disp="keep",enabled="n",addr="0x00063448",func="ioctl",file="/opt/rtems/rtems-src/c/src/../../cpukit/libcsupport/src/ioctl.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libcsupport/src/ioctl.c",line="51",times="0"},bkpt={number="6",type="breakpoint",disp="keep",enabled="y",addr="0x0006a3b4",func="ifioctl",file="/opt/rtems/rtems-src/c/src/../../cpukit/libnetworking/net/if.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libnetworking/net/if.c",line="490",times="1"},bkpt={number="7",type="breakpoint",disp="keep",enabled="y",addr="0x000107cc",func="cVDTS::DoControl()",file="/Projects/VDTS/src/ctrl.cpp",fullname="/Projects/VDTS/src/ctrl.cpp",line="52",times="0"},bkpt={number="8",type="breakpoint",disp="keep",enabled="y",addr="0x00010460",func="cVDTS::DoATP()",file="/Projects/VDTS/src/ctrl.cpp",fullname="/Projects/VDTS/src/ctrl.cpp",line="111",times="0"},bkpt={number="9",type="breakpoint",disp="keep",enabled="y",addr="0x00010484",func="cVDTS::DoATP()",file="/Projects/VDTS/src/ctrl.cpp",fullname="/Projects/VDTS/src/ctrl.cpp",line="128",times="0"},bkpt={number="10",type="breakpoint",disp="keep",enabled="y",addr="0x000104c0",func="cVDTS::DoATP()",file="/Projects/VDTS/src/ctrl.cpp",fullname="/Projects/VDTS/src/ctrl.cpp",line="131",times="0"}]}
(gdb) -stack-list-arguments 0 0 0
^done,stack-args=[frame={level="0",args=[name="so",name="cmd",name="data",name="p"]}]
(gdb) -stack-list-locals 0
^done,locals=[name="ifp",name="ifr",name="error"]
(gdb) -thread-list-ids
warning: RMT ERROR : failed to get remote thread list.
^done,thread-ids={},number-of-threads="0"
(gdb) info frame
info frame
Stack level 0, frame at 0xd095c0:
pc = 0x6a3b4 in ifioctl
(/opt/rtems/rtems-src/c/src/../../cpukit/libnetworking/net/if.c:490); saved
pc 0x81580
called by frame at 0xd095e8
source language c.
Arglist at 0xd09570, args: so=0x301468, cmd=3223349521, data=0xd096c8 "eth0",
p=0x0
Locals at 0xd09570, Previous frame's sp is 0xd095c0
Saved registers:
r31 at 0xd095bc, pc at 0xd095c4, lr at 0xd095c4
^done
(gdb) -stack-info-depth 6
^done,depth="6"
(gdb) -stack-list-frames 0 5
^done,stack=[frame={level="0",addr="0x0006a3b4",func="ifioctl",file="/opt/rtems/rtems-src/c/src/../../cpukit/libnetworking/net/if.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libnetworking/net/if.c",line="490"},frame={level="1",addr="0x00081580",func="so_ioctl",file="/opt/rtems/rtems-src/c/src/../../cpukit/libnetworking/rtems/rtems_syscall.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libnetworking/rtems/rtems_syscall.c",line="713"},frame={level="2",addr="0x0008168c",func="rtems_bsdnet_ioctl",file="/opt/rtems/rtems-src/c/src/../../cpukit/libnetworking/rtems/rtems_syscall.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libnetworking/rtems/rtems_syscall.c",line="731"},frame={level="3",addr="0x000634c4",func="ioctl",file="/opt/rtems/rtems-src/c/src/../../cpukit/libcsupport/src/ioctl.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libcsupport/src/ioctl.c",line="57"},frame={level="4",addr="0x0007e024",func="rtems_bsdnet_ifconfig",file="/opt/rtems/rtems-src/c/src/../../cpukit/libnetworking/rtems/rtems_glue.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libnetworking/rtems/rtems_glue.c",line="1024"},frame={level="5",addr="0x0007d6d0",func="rtems_bsdnet_setup",file="/opt/rtems/rtems-src/c/src/../../cpukit/libnetworking/rtems/rtems_glue.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libnetworking/rtems/rtems_glue.c",line="850"}]
(gdb) print /x &so
print /x &so
$1 = 0xd09598
^done
(gdb) -var-create KDEV273 * "so"
^done,name="KDEV273",numchild="23",value="0x301468",type="struct socket *"
(gdb) print /x &cmd
print /x &cmd
$2 = 0xd0959c
^done
(gdb) -var-create KDEV274 * "cmd"
^done,name="KDEV274",numchild="0",value="3223349521",type="u_long"
(gdb) print /x &data
print /x &data
$3 = 0xd095a0
^done
(gdb) -var-create KDEV275 * "data"
^done,name="KDEV275",numchild="1",value="0xd096c8 \"eth0\"",type="caddr_t"
(gdb) print /x &p
print /x &p
$4 = 0xd095a4
^done
(gdb) -var-create KDEV276 * "p"
^done,name="KDEV276",numchild="1",value="0x0",type="struct proc *"
(gdb) print /x &ifp
print /x &ifp
$5 = 0xd09588
^done
(gdb) -var-create KDEV277 * "ifp"
^done,name="KDEV277",numchild="25",value="0xd00cc8",type="struct ifnet *"
(gdb) print /x &ifr
print /x &ifr
$6 = 0xd09584
^done
(gdb) -var-create KDEV278 * "ifr"
^done,name="KDEV278",numchild="2",value="0xd09588",type="struct ifreq *"
(gdb) print /x &error
print /x &error
$7 = 0xd09580
^done
(gdb) -var-create KDEV279 * "error"
^done,name="KDEV279",numchild="0",value="13669784",type="int"
(gdb) print /x &so
print /x &so
$8 = 0xd09598
^done
(gdb) whatis so
whatis so
type = struct socket *
^done
(gdb) print /x &cmd
print /x &cmd
$9 = 0xd0959c
^done
(gdb) whatis cmd
whatis cmd
type = u_long
^done
(gdb) print /x &data
print /x &data
$10 = 0xd095a0
^done
(gdb) whatis data
whatis data
type = caddr_t
^done
(gdb) print /x &p
print /x &p
$11 = 0xd095a4
^done
(gdb) whatis p
whatis p
type = struct proc *
^done
(gdb) print /x &ifp
print /x &ifp
$12 = 0xd09588
^done
(gdb) whatis ifp
whatis ifp
type = struct ifnet *
^done
(gdb) print /x &ifr
print /x &ifr
$13 = 0xd09584
^done
(gdb) whatis ifr
whatis ifr
type = struct ifreq *
^done
(gdb) print /x &error
print /x &error
$14 = 0xd09580
^done
(gdb) whatis error
whatis error
type = int
^done
(gdb) -var-update *
^done,changelist=[]
(gdb) -var-evaluate-expression "KDEV273"
^done,value="0x301468"
(gdb) -var-evaluate-expression "KDEV274"
^done,value="3223349521"
(gdb) -var-evaluate-expression "KDEV275"
^done,value="0xd096c8 \"eth0\""
(gdb) -var-evaluate-expression "KDEV276"
^done,value="0x0"
(gdb) -var-evaluate-expression "KDEV277"
^done,value="0xd00cc8"
(gdb) -var-evaluate-expression "KDEV278"
^done,value="0xd09588"
(gdb) -var-evaluate-expression "KDEV279"
^done,value="13669784"
(gdb) -var-list-children "KDEV277"
^done,numchild="25",children=[child={name="KDEV277.if_softc",exp="if_softc",numchild="0",type="void
*"},child={name="KDEV277.if_name",exp="if_name",numchild="1",type="char
*"},child={name="KDEV277.if_next",exp="if_next",numchild="25",type="struct
ifnet
*"},child={name="KDEV277.if_addrlist",exp="if_addrlist",numchild="10",type="struct
ifaddr
*"},child={name="KDEV277.if_pcount",exp="if_pcount",numchild="0",type="int"},child={name="KDEV277.if_bpf",exp="if_bpf",numchild="0",type="struct
bpf_if
*"},child={name="KDEV277.if_index",exp="if_index",numchild="0",type="u_short"},child={name="KDEV277.if_unit",exp="if_unit",numchild="0",type="short
int"},child={name="KDEV277.if_timer",exp="if_timer",numchild="0",type="short
int"},child={name="KDEV277.if_flags",exp="if_flags",numchild="0",type="int"},child={name="KDEV277.if_linkmib",exp="if_linkmib",numchild="0",type="void
*"},child={name="KDEV277.if_linkmiblen",exp="if_linkmiblen",numchild="0",type="size_t"},child={name="KDEV277.if_data",exp="if_data",numchild="23",type="struct
if_data"},child={name="KDEV277.if_output",exp="if_output",numchild="0",type="int
(*)(struct ifnet *, struct mbuf *, struct sockaddr *, struct rtentry
*)"},child={name="KDEV277.if_start",exp="if_start",numchild="0",type="void
(*)(struct ifnet
*)"},child={name="KDEV277.if_ioctl",exp="if_ioctl",numchild="0",type="int (*)
(struct ifnet *, ioctl_command_t,
caddr_t)"},child={name="KDEV277.if_watchdog",exp="if_watchdog",numchild="0",type="void
(*)(struct ifnet
*)"},child={name="KDEV277.if_poll_recv",exp="if_poll_recv",numchild="0",type="int
(*)(struct ifnet *, int
*)"},child={name="KDEV277.if_poll_xmit",exp="if_poll_xmit",numchild="0",type="int
(*)(struct ifnet *, int
*)"},child={name="KDEV277.if_poll_intren",exp="if_poll_intren",numchild="0",type="void
(*)(struct ifnet
*)"},child={name="KDEV277.if_poll_slowinput",exp="if_poll_slowinput",numchild="0",type="void
(*)(struct ifnet *, struct mbuf
*)"},child={name="KDEV277.if_init",exp="if_init",numchild="0",type="void (*)
(void *)"},child={name="KDEV277.if_tap",exp="if_tap",numchild="0",type="int
(*)(struct ifnet *, struct ether_header *, struct mbuf
*)"},child={name="KDEV277.if_snd",exp="if_snd",numchild="5",type="struct
ifqueue"},child={name="KDEV277.if_poll_slowq",exp="if_poll_slowq",numchild="5",type="struct
ifqueue *"}]
(gdb) -var-evaluate-expression "KDEV277.if_softc"
^done,value="0xcffed0"
(gdb) -var-evaluate-expression "KDEV277.if_name"
^done,value="0xcffecc \"\""
(gdb) -var-evaluate-expression "KDEV277.if_next"
^done,value="0xa010001"
(gdb) -var-evaluate-expression "KDEV277.if_addrlist"
^done,value="0x494e4954"
(gdb) -var-evaluate-expression "KDEV277.if_pcount"
^done,value="0"
(gdb) -var-evaluate-expression "KDEV277.if_bpf"
^done,value="0x1"
(gdb) -var-evaluate-expression "KDEV277.if_index"
^done,value="0"
(gdb) -var-evaluate-expression "KDEV277.if_unit"
^done,value="1"
(gdb) -var-evaluate-expression "KDEV277.if_timer"
^done,value="0"
(gdb) -var-evaluate-expression "KDEV277.if_flags"
^done,value="-1431644972"
(gdb) -var-evaluate-expression "KDEV277.if_linkmib"
^done,value="0x2aaaf4d4"
(gdb) -var-evaluate-expression "KDEV277.if_linkmiblen"
^done,value="2863322196"
(gdb) -var-evaluate-expression "KDEV277.if_data"
^done,value="{...}"
(gdb) -var-evaluate-expression "KDEV277.if_output"
^done,value="0"
(gdb) -var-evaluate-expression "KDEV277.if_start"
^done,value="0"
(gdb) -var-evaluate-expression "KDEV277.if_ioctl"
^done,value="0x79"
(gdb) -var-evaluate-expression "KDEV277.if_watchdog"
^done,value="0"
(gdb) -var-evaluate-expression "KDEV277.if_poll_recv"
^done,value="0"
(gdb) -var-evaluate-expression "KDEV277.if_poll_xmit"
^done,value="0"
(gdb) -var-evaluate-expression "KDEV277.if_poll_intren"
^done,value="0x1312d00"
(gdb) -var-evaluate-expression "KDEV277.if_poll_slowinput"
^done,value="0xcffecc"
(gdb) -var-evaluate-expression "KDEV277.if_init"
^done,value="0xf7ea0 <_Priority_Bit_map>"
(gdb) -var-evaluate-expression "KDEV277.if_tap"
^done,value="0x80000000"
(gdb) -var-evaluate-expression "KDEV277.if_snd"
^done,value="{...}"
(gdb) -var-evaluate-expression "KDEV277.if_poll_slowq"
^done,value="0x0"
(gdb) -exec-finish
^running
hook-stop
*stopped,reason="function-finished",thread-id="0",frame={addr="0x00081580",func="so_ioctl",args=[{name="iop",value="0xffc94"},
{name="so",value="0x301468"},{name="command",value="3223349521"},
{name="buffer",value="0xd096c8"}],file="/opt/rtems/rtems-src/c/src/../../cpukit/libnetworking/rtems/rtems_syscall.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libnetworking/rtems/rtems_syscall.c",line="713"},gdb-result-var="$15",return-value="0"
(gdb) -file-list-exec-source-file
^done,line="713",file="/opt/rtems/rtems-src/c/src/../../cpukit/libnetworking/rtems/rtems_syscall.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libnetworking/rtems/rtems_syscall.c"
(gdb) -break-list
^done,BreakpointTable={nr_rows="10",nr_cols="6",hdr=[{width="3",alignment="-1",col_name="number",colhdr="Num"},
{width="14",alignment="-1",col_name="type",colhdr="Type"},
{width="4",alignment="-1",col_name="disp",colhdr="Disp"},
{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},
{width="10",alignment="-1",col_name="addr",colhdr="Address"},
{width="40",alignment="2",col_name="what",colhdr="What"}],body=[bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00043230",func="CauseResetHW()",file="/Projects/VDTS/Common/utils.cpp",fullname="/Projects/VDTS/Common/utils.cpp",line="20",times="0"},bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x00041efc",func="Debug()",file="/Projects/VDTS/Common/utils.cpp",fullname="/Projects/VDTS/Common/utils.cpp",line="10",times="0"},bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="0x00041f1c",func="BreakP()",file="/Projects/VDTS/Common/utils.cpp",fullname="/Projects/VDTS/Common/utils.cpp",line="14",times="0"},bkpt={number="4",type="breakpoint",disp="keep",enabled="y",addr="0x00016a0c",func="cIOandLEDs::Body(eTaskArg)",file="/Projects/VDTS/src/ledsio.cpp",fullname="/Projects/VDTS/src/ledsio.cpp",line="62",times="0"},bkpt={number="5",type="breakpoint",disp="keep",enabled="n",addr="0x00063448",func="ioctl",file="/opt/rtems/rtems-src/c/src/../../cpukit/libcsupport/src/ioctl.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libcsupport/src/ioctl.c",line="51",times="0"},bkpt={number="6",type="breakpoint",disp="keep",enabled="y",addr="0x0006a3b4",func="ifioctl",file="/opt/rtems/rtems-src/c/src/../../cpukit/libnetworking/net/if.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libnetworking/net/if.c",line="490",times="1"},bkpt={number="7",type="breakpoint",disp="keep",enabled="y",addr="0x000107cc",func="cVDTS::DoControl()",file="/Projects/VDTS/src/ctrl.cpp",fullname="/Projects/VDTS/src/ctrl.cpp",line="52",times="0"},bkpt={number="8",type="breakpoint",disp="keep",enabled="y",addr="0x00010460",func="cVDTS::DoATP()",file="/Projects/VDTS/src/ctrl.cpp",fullname="/Projects/VDTS/src/ctrl.cpp",line="111",times="0"},bkpt={number="9",type="breakpoint",disp="keep",enabled="y",addr="0x00010484",func="cVDTS::DoATP()",file="/Projects/VDTS/src/ctrl.cpp",fullname="/Projects/VDTS/src/ctrl.cpp",line="128",times="0"},bkpt={number="10",type="breakpoint",disp="keep",enabled="y",addr="0x000104c0",func="cVDTS::DoATP()",file="/Projects/VDTS/src/ctrl.cpp",fullname="/Projects/VDTS/src/ctrl.cpp",line="131",times="0"}]}
(gdb) -stack-list-arguments 0 0 0
^done,stack-args=[frame={level="0",args=[name="iop",name="so",name="command",name="buffer"]}]
(gdb) -stack-list-locals 0
^done,locals=[]
(gdb) -thread-list-ids
warning: RMT ERROR : failed to get remote thread list.
^done,thread-ids={},number-of-threads="0"
(gdb) info frame
info frame
Stack level 0, frame at 0xd095e8:
pc = 0x81580 in so_ioctl
(/opt/rtems/rtems-src/c/src/../../cpukit/libnetworking/rtems/rtems_syscall.c:713);
saved pc 0x8168c
called by frame at 0xd09618
source language c.
Arglist at 0xd095c0, args: iop=0xffc94, so=0x301468, command=3223349521,
buffer=0xd096c8
Locals at 0xd095c0, Previous frame's sp is 0xd095e8
Saved registers:
r31 at 0xd095e4, pc at 0xd095ec, lr at 0xd095ec
^done
(gdb) -stack-info-depth 6
^done,depth="6"
(gdb) -stack-list-frames 0 5
^done,stack=[frame={level="0",addr="0x00081580",func="so_ioctl",file="/opt/rtems/rtems-src/c/src/../../cpukit/libnetworking/rtems/rtems_syscall.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libnetworking/rtems/rtems_syscall.c",line="713"},frame={level="1",addr="0x0008168c",func="rtems_bsdnet_ioctl",file="/opt/rtems/rtems-src/c/src/../../cpukit/libnetworking/rtems/rtems_syscall.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libnetworking/rtems/rtems_syscall.c",line="731"},frame={level="2",addr="0x000634c4",func="ioctl",file="/opt/rtems/rtems-src/c/src/../../cpukit/libcsupport/src/ioctl.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libcsupport/src/ioctl.c",line="57"},frame={level="3",addr="0x0007e024",func="rtems_bsdnet_ifconfig",file="/opt/rtems/rtems-src/c/src/../../cpukit/libnetworking/rtems/rtems_glue.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libnetworking/rtems/rtems_glue.c",line="1024"},frame={level="4",addr="0x0007d6d0",func="rtems_bsdnet_setup",file="/opt/rtems/rtems-src/c/src/../../cpukit/libnetworking/rtems/rtems_glue.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libnetworking/rtems/rtems_glue.c",line="850"},frame={level="5",addr="0x0007db60",func="rtems_bsdnet_initialize_network",file="/opt/rtems/rtems-src/c/src/../../cpukit/libnetworking/rtems/rtems_glue.c",fullname="/opt/rtems-4.8.0/rtems-4.8.0.src/cpukit/libnetworking/rtems/rtems_glue.c",line="956"}]
(gdb) -var-delete "KDEV273"
^done,ndeleted="1"
(gdb) -var-delete "KDEV274"
^done,ndeleted="1"
(gdb) -var-delete "KDEV275"
^done,ndeleted="1"
(gdb) -var-delete "KDEV276"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_softc"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_name"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_next"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_addrlist"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_pcount"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_bpf"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_index"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_unit"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_timer"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_flags"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_linkmib"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_linkmiblen"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_data"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_output"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_start"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_ioctl"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_watchdog"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_poll_recv"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_poll_xmit"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_poll_intren"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_poll_slowinput"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_init"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_tap"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_snd"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277.if_poll_slowq"
^done,ndeleted="1"
(gdb) -var-delete "KDEV277"
(gdb) Process exited
More information about the KDevelop
mailing list