This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [mi] watchpoint-scope exec async command


> > We are deleting the scope breakpoint because the watchpoint has gone
> > out of scope
> 
> Are you sure?  Bob didn't show enough backtraces for me to be sure,
> but the one backtrace he did show seems to tell that we are deleting
> the scope breakpoint because it's marked either disp_del or
> disp_del_at_next_stop (and I'd like to know which of these two
> possibilities actually happens there), not because the watchpoint has
> gone out of scope (or at least not directly because of that).
> 
> Bob, could you please show the backtraces at every place where you
> until now only posted the result of printing variables?  Also, please
> put a breakpoint where GDB says a watchpoint has gone out of scope,
> and show a transcript of a session where we could see the sequence of
> the events: the watchpoint and/or scope breakpoint is hit, marked to
> be deleted ASAP, then actually deleted.

OK, this is going to be confusing. To recap, this is the source code
with the problem,

Just to recap, the bug happens like this,

    wpscope.c: 
       int wpscope ( int param ) {
           return param+1;
       }

       int main(int argc, char **argv){
           return wpscope ( argc );
       }

    and ran these commands,

       $ ../gdb ./wpscope
       (gdb) b wpscope
       Breakpoint 1 at 0x8048357: file wpscope.c, line 2.
       (gdb) r
       Starting program: /home/bob/cvs/gdb/original/builddir/gdb/tmp/wpscope

       Breakpoint 1, wpscope (param=1) at wpscope.c:2
       2           return param+1;
       (gdb) watch param
       Hardware watchpoint 2: param
       (gdb) fin
       Run till exit from #0  wpscope (param=1) at wpscope.c:2
       main (argc=1, argv=0xbffffce4) at wpscope.c:7
       7       }
       Value returned is $1 = 2
       (gdb) n
       Hardware watchpoint 2 deleted because the program has left the block
       in which its expression is valid.
       Segmentation fault

Now, I've run gdb twice, once with hardware watchpoints and then again
with software watchpoints.

Most of the transcript between the hardware and software is identical.
So I'm going to try to print this in a way that makes things simple.
If you see '>>' at the beggining of a line, that is data I typed into
the debugged gdb.(the one that is crashing)

When you see h> at the beggining thats a hardware watchpoint and when
you see s> that's a software watchpoint.

>> b wpscope
>> r
>> watch program

Breakpoint 1, watch_command_1 (arg=0x831ff7b "", accessflag=0, from_tty=1) at ../../src/gdb/breakpoint.c:5761
(tgdb) p b
$1 = (struct breakpoint *) 0x83b4878
(tgdb) p b->disposition
$2 = disp_donttouch
(tgdb) p b->related_breakpoint
$3 = (struct breakpoint *) 0x83b49d0
(tgdb) p b->related_breakpoint->disposition
$4 = disp_del

(tgdb) bt
#0  watch_command_1 (arg=0x831ff7b "", accessflag=0, from_tty=1) at ../../src/gdb/breakpoint.c:5764
#1  0x080e131f in watch_command (arg=0x831ff76 "param", from_tty=1) at ../../src/gdb/breakpoint.c:5859
#2  0x080be17b in do_cfunc (c=0x8331b48, args=0x831ff76 "param", from_tty=1) at ../../src/gdb/cli/cli-decode.c:57
#3  0x080c0676 in cmd_func (cmd=0x8331b48, args=0x831ff76 "param", from_tty=1) at ../../src/gdb/cli/cli-decode.c:1636
#4  0x080863d5 in execute_command (p=0x831ff7a "m", from_tty=1) at ../../src/gdb/top.c:442
#5  0x0812a3ef in command_handler (command=0x831ff70 "watch param") at ../../src/gdb/event-top.c:508
#6  0x0812aba4 in command_line_handler (rl=0x8378dd8 "\230\2157\b") at ../../src/gdb/event-top.c:793
#7  0x081e8e0c in rl_callback_read_char () at ../../src/readline/callback.c:123
#8  0x08129b47 in rl_callback_read_char_wrapper (client_data=0x0) at ../../src/gdb/event-top.c:174
#9  0x0812a2b1 in stdin_event_handler (error=0, client_data=0x0) at ../../src/gdb/event-top.c:424
#10 0x08129281 in handle_file_event (event_file_desc=0) at ../../src/gdb/event-loop.c:722
#11 0x08128b55 in process_event () at ../../src/gdb/event-loop.c:335
#12 0x08128b9e in gdb_do_one_event (data=0x0) at ../../src/gdb/event-loop.c:372
#13 0x08125e41 in catch_errors (func=0x8128b6a <gdb_do_one_event>, func_args=0x0, errstring=0x8286e7f"", mask=6) at ../../src/gdb/exceptions.c:515
#14 0x080ce73c in tui_command_loop (data=0x0) at ../../src/gdb/tui/tui-interp.c:151
#15 0x0812635c in current_interp_command_loop () at ../../src/gdb/interps.c:278
#16 0x0807be63 in captured_command_loop (data=0x0) at ../../src/gdb/main.c:92
#17 0x08125e41 in catch_errors (func=0x807be58 <captured_command_loop>, func_args=0x0, errstring=0x826c4dc "", mask=6) at ../../src/gdb/exceptions.c:515
#18 0x0807cd24 in captured_main (data=0xbffffae0) at ../../src/gdb/main.c:800
#19 0x08125e41 in catch_errors (func=0x807be97 <captured_main>, func_args=0xbffffae0, errstring=0x826c4dc "", mask=6) at ../../src/gdb/exceptions.c:515
#20 0x0807cd5a in gdb_main (args=0xbffffae0) at ../../src/gdb/main.c:809
#21 0x0807be54 in main (argc=2, argv=0xbffffb54) at ../../src/gdb/gdb.c:35

>> finish

Breakpoint 2, delete_breakpoint (bpt=0x83b49d0) at ../../src/gdb/breakpoint.c:6721
(tgdb) p bpt
$5 = (struct breakpoint *) 0x83b49d0
(tgdb) p bpt->disposition
$6 = disp_del
(tgdb) p breakpoint_chain->next->next->next->next->next->next
$7 = (struct breakpoint *) 0x83b4878
(tgdb) p breakpoint_chain->next->next->next->next->next->next->related_breakpoint
$8 = (struct breakpoint *) 0x83b49d0

#0  delete_breakpoint (bpt=0x83b49d0) at ../../src/gdb/breakpoint.c:6721
#1  0x080e2888 in breakpoint_auto_delete (bs=0x8380a50) at ../../src/gdb/breakpoint.c:6702
#2  0x0811c8e3 in normal_stop () at ../../src/gdb/infrun.c:2999
#3  0x081196c2 in proceed (addr=4294967295, siggnal=TARGET_SIGNAL_DEFAULT, step=0) at ../../src/gdb/infrun.c:827
#4  0x0811741d in finish_command (arg=0x0, from_tty=1) at ../../src/gdb/infcmd.c:1280
#5  0x080be17b in do_cfunc (c=0x8337d60, args=0x0, from_tty=1) at ../../src/gdb/cli/cli-decode.c:57
#6  0x080c0676 in cmd_func (cmd=0x8337d60, args=0x0, from_tty=1) at ../../src/gdb/cli/cli-decode.c:1636
#7  0x080863d5 in execute_command (p=0x831ff76 "", from_tty=1) at ../../src/gdb/top.c:442
#8  0x0812a3ef in command_handler (command=0x831ff70 "finish") at ../../src/gdb/event-top.c:508
#9  0x0812aba4 in command_line_handler (rl=0x8378f00 "x\2177\b") at ../../src/gdb/event-top.c:793
#10 0x081e8e0c in rl_callback_read_char () at ../../src/readline/callback.c:123
#11 0x08129b47 in rl_callback_read_char_wrapper (client_data=0x0) at ../../src/gdb/event-top.c:174
#12 0x0812a2b1 in stdin_event_handler (error=0, client_data=0x0) at ../../src/gdb/event-top.c:424
#13 0x08129281 in handle_file_event (event_file_desc=0) at ../../src/gdb/event-loop.c:722
#14 0x08128b55 in process_event () at ../../src/gdb/event-loop.c:335
#15 0x08128b9e in gdb_do_one_event (data=0x0) at ../../src/gdb/event-loop.c:372
#16 0x08125e41 in catch_errors (func=0x8128b6a <gdb_do_one_event>, func_args=0x0, errstring=0x8286e7f"", mask=6) at ../../src/gdb/exceptions.c:515
#17 0x080ce73c in tui_command_loop (data=0x0) at ../../src/gdb/tui/tui-interp.c:151
#18 0x0812635c in current_interp_command_loop () at ../../src/gdb/interps.c:278
#19 0x0807be63 in captured_command_loop (data=0x0) at ../../src/gdb/main.c:92
#20 0x08125e41 in catch_errors (func=0x807be58 <captured_command_loop>, func_args=0x0, errstring=0x826c4dc "", mask=6) at ../../src/gdb/exceptions.c:515
#21 0x0807cd24 in captured_main (data=0xbffffae0) at ../../src/gdb/main.c:800
#22 0x08125e41 in catch_errors (func=0x807be97 <captured_main>, func_args=0xbffffae0, errstring=0x826c4dc "", mask=6) at ../../src/gdb/exceptions.c:515
#23 0x0807cd5a in gdb_main (args=0xbffffae0) at ../../src/gdb/main.c:809
#24 0x0807be54 in main (argc=2, argv=0xbffffb54) at ../../src/gdb/gdb.c:35

NOTE: Then I type 'finish' twice because Daniel asked me to print the same data after the 
breakpoint_auto_delete function was done,

Run till exit from #0  breakpoint_auto_delete (bs=0x8380a50) at ../../src/gdb/breakpoint.c:6699
normal_stop () at ../../src/gdb/infrun.c:3004


(tgdb) p breakpoint_chain->next->next->next->next->next->next
$9 = (struct breakpoint *) 0x83b4878
(tgdb) p breakpoint_chain->next->next->next->next->next->next->disposition 
$10 = disp_donttouch
(tgdb) p breakpoint_chain->next->next->next->next->next->next->related_breakpoint
$11 = (struct breakpoint *) 0x83b49d0
(tgdb) p breakpoint_chain->next->next->next->next->next->next->related_breakpoint->disposition
$12 = disp_del

NOTE: At this point, there is a difference between hardware and software
version.

h> (tgdb) p *breakpoint_chain->next->next->next->next->next->next->related_breakpoint
h> $13 = {
h>   next = 0x401ba0bc,
h>   type = 1075552444,
h>   enable_state = bp_enabled,
h>   disposition = disp_del,
h>   number = -11,
h>   loc = 0x83b4a78,
h>   line_number = 0,
h>   source_file = 0x0,
h>   silent = 0 '\0',
h>   ignore_count = 0,
h>   commands = 0x0,
h>   frame_id = {
h>     stack_addr = 3221224176,
h>    code_addr = 134513501,
h>    special_addr = 0,
h>    stack_addr_p = 1,
h>    code_addr_p = 1,
h>    special_addr_p = 0
h>},
h>  cond = 0x0,
h>  addr_string = 0x0,
h>  language = language_c,
h>  input_radix = 10,
h>  cond_string = 0x0,
h>  exp_string = 0x0,
h>  exp = 0x0,
h>  exp_valid_block = 0x0,
h>  val = 0x0,
h>  val_chain = 0x0,
h>  related_breakpoint = 0x0,
h>  watchpoint_frame = {
h>    stack_addr = 0,
h>    code_addr = 0,
h>    special_addr = 0,
h>    stack_addr_p = 0,
h>    code_addr_p = 0,
h>    special_addr_p = 0
h>  },
h>  thread = -1,
h>  hit_count = 1,
h>  dll_pathname = 0x0,
h>  triggered_dll_pathname = 0x0,
h>  forked_inferior_pid = 0,
h>  exec_pathname = 0x0,
h>  ops = 0x0,
h>  from_tty = 0,
h>  flag = 0,
h>  pending = 0
h>}
h>

s> $14 = {
s>   next = 0x83b4918,
s>   type = 1075552444,
s>   enable_state = bp_enabled,
s>   disposition = disp_del,
s>   number = -11,
s>   loc = 0x83b4a78,
s>   line_number = 0,
s>   source_file = 0x0,
s>   silent = 0 '\0',
s>   ignore_count = 0,
s>   commands = 0x0,
s>   frame_id = {
s>     stack_addr = 3221224176,
s>     code_addr = 134513501,
s>     special_addr = 0,
s>     stack_addr_p = 1,
s>     code_addr_p = 1,
s>     special_addr_p = 0
s>   },
s>   cond = 0x0,
s>   addr_string = 0x0,
s>   language = language_c,
s>   input_radix = 10,
s>   cond_string = 0x0,
s>   exp_string = 0x0,
s>   exp = 0x0,
s>   exp_valid_block = 0x0,
s>   val = 0x0,
s>   val_chain = 0x0,
s>   related_breakpoint = 0x0,
s>   watchpoint_frame = {
s>     stack_addr = 0,
s>     code_addr = 0,
s>     special_addr = 0,
s>     stack_addr_p = 0,
s>     code_addr_p = 0,
s>     special_addr_p = 0
s>   },
s>   thread = -1,
s>   hit_count = 1,
s>   dll_pathname = 0x0,
s>   triggered_dll_pathname = 0x0,
s>   forked_inferior_pid = 0,
s>   exec_pathname = 0x0,
s>   ops = 0x0,
s>   from_tty = 0,
s>   flag = 0,
s>   pending = 0
s> }

>> next
Breakpoint 3, insert_bp_location (bpt=0x83a9048, tmp_error_stream=0x837b390, disabled_breaks=0xbffff574, process_warning=0xbffff56c, hw_breakpoint_error=0xbffff570) at ../../src/gdb/breakpoint.c:1022

(tgdb) p bpt->owner
$16 = (struct breakpoint *) 0x83b4878
(tgdb) p bpt->owner->disposition
$17 = disp_donttouch
(tgdb) p bpt->owner->related_breakpoint
$18 = (struct breakpoint *) 0x83b49d0

NOTE: Another spot where hardware/software are different,

h>(tgdb) p bpt->owner->related_breakpoint->disposition
h>$19 = 49
h>
h>(tgdb) p *breakpoint_chain->next->next->next->next->next->next->related_breakpoint
h>$20 = {
h>  next = 0x0,
h>  type = 1650878054,
h>  enable_state = 134231092,
h>  disposition = 49,
h>  number = 0,
h>  loc = 0x401ba0bc,
h>  line_number = 0,
h>  source_file = 0x0,
h>  silent = 0 '\0',
h>  ignore_count = 0,
h>  commands = 0x0,
h>  frame_id = {
h>    stack_addr = 3221224176,
h>    code_addr = 134513501,
h>    special_addr = 0,
h>    stack_addr_p = 1,
h>    code_addr_p = 1,
h>    special_addr_p = 0
h>  },
h>  cond = 0x29,
h>  addr_string = 0x401ba0dc "\033@\033@\bJ;\b\bJ;\b\033@\033@\033@\033@\033@\033@\033@\033@\004\033@\00
h>4\033@\f\033@\f\033@>\b>\b\034\033@\034\033@$\033@$\033@,\033@,\033@4\033@4\033@<\033@<\033@D\033@D\03
h>3@L\033@L\033@T\033@T\033@\\\033@\\\033@d\033@d\033@K;\bK;\bt\033@t\033@|\033@|\033@\204\033@\204\033@
h>\214\033@\214\033@\224\033@\224\033@"...,
h>  language = 1075552476,
h>  input_radix = 10,  
h>  cond_string = 0x0,
h>  exp_string = 0x0,
h>  exp = 0x0,
h>  exp_valid_block = 0x0,
h>  val = 0x0,
h>  val_chain = 0x28,
h>  related_breakpoint = 0x10,
h>  watchpoint_frame = {
h>    stack_addr = 137890056,
h>    code_addr = 134777731,
h>    special_addr = 137890064,
h>    stack_addr_p = 1,
h>    code_addr_p = 0,
h>    special_addr_p = 0
h>  },
h>  thread = 138103256,
h>  hit_count = 134789552,
h>  dll_pathname = 0x808be88 "U\211S\203\024\213E\b\211\004$\211E\213E\2018Xa0\bt$\004$$'\b\210\211D$\bD
h>$\004\201\001",
h>  triggered_dll_pathname = 0x808ba20 "U\211\203\030\213E\f\201x\b\b\bu\002$\213E\b\211\004$\213U\f\211
h>D$\b\213E\b\211D$\004\213E\f\211\004$\213B\bU\211]U\211\203\030\213E\b\20181\bt$\004$#'\b\211D$\bD$\00
h>4",
h>  forked_inferior_pid = 134789640,
h>  exec_pathname = 0x808bd58 "U\211\203\030\213E\b\211\004$\211E\213E\2018Xa0\bt$\004$",
h>  ops = 0x808b99c,
h>  from_tty = 134790604,
h>  flag = 134790683,
h>  pending = 137890080
h>}

s>(tgdb) p bpt->owner->related_breakpoint->disposition
s> $19 = disp_del
s> 
s> (tgdb) p *breakpoint_chain->next->next->next->next->next->next->related_breakpoint
s> 
s> $20 = {
s>   next = 0x0,
s>   type = bp_none,
s>   enable_state = bp_disabled,
s>   disposition = disp_del,
s>   number = 0,
s>   loc = 0x0,
s>   line_number = 0,
s>   source_file = 0x0,
s>   silent = 0 '\0',
s>   ignore_count = 0,
s>   commands = 0x837a52c,
s>   frame_id = {
s>     stack_addr = 137864492,
s>     code_addr = 0,
s>     special_addr = 0,
s>     stack_addr_p = 0,
s>     code_addr_p = 0,
s>     special_addr_p = 0
s>   },
s>   cond = 0xffff,
s>   addr_string = 0x2 <Address 0x2 out of bounds>,
s>   language = language_unknown,
s>   input_radix = 0,
s>   cond_string = 0x0,
s>   exp_string = 0x0,
s>   exp = 0x51,
s>   exp_valid_block = 0x401ba104,
s>   val = 0x401ba104,
s>   val_chain = 0x0,
s>   related_breakpoint = 0x41,
s>   watchpoint_frame = {
s>     stack_addr = 1075552444,
s>     code_addr = 1075552444,
s>     special_addr = 0,
s>     stack_addr_p = 0,
s>     code_addr_p = 0,
s>     special_addr_p = 0
s>   },
s>   thread = -1,
s>   hit_count = 1,
s>   dll_pathname = 0x0,
s>   triggered_dll_pathname = 0x0,
s>   forked_inferior_pid = 0,
s>   exec_pathname = 0x0,
s>   ops = 0x0,
s>   from_tty = 0,
s>   flag = 0,
s>   pending = 0
s> }

NOTE: Back to normal

(tgdb) p breakpoint_chain->next->next->next->next->next->next
$21 = (struct breakpoint *) 0x83b4878
(tgdb) p breakpoint_chain->next->next->next->next->next->next->disposition
$22 = disp_donttouch
(tgdb) p breakpoint_chain->next->next->next->next->next->next->related_breakpoint
$23 = (struct breakpoint *) 0x83b49d0


h>(tgdb) p breakpoint_chain->next->next->next->next->next->next->related_breakpoint->disposition
h>$24 = 49
h>
h>(tgdb) p *breakpoint_chain->next->next->next->next->next->next->related_breakpoint
h>$25 = {
h>  next = 0x0,
h>  type = 1650878054,
h>  enable_state = 134231092,
h>  disposition = 49,
h>  number = 0,
h>  loc = 0x401ba0bc,
h>  line_number = 0,
h>  source_file = 0x0,
h>  silent = 0 '\0',
h>  ignore_count = 0,
h>  commands = 0x0,
h>  frame_id = {
h>    stack_addr = 3221224176,
h>    code_addr = 134513501,
h>    special_addr = 0,
h>    stack_addr_p = 1,
h>    code_addr_p = 1,
h>    special_addr_p = 0
h>  },
h>  cond = 0x29,
h>  addr_string = 0x401ba0dc "\033@\033@\bJ;\b\bJ;\b\033@\033@\033@\033@\033@\033@\033@\033@\004\033@\00
h>4\033@\f\033@\f\033@>\b>\b\034\033@\034\033@$\033@$\033@,\033@,\033@4\033@4\033@<\033@<\033@D\033@D\03
h>3@L\033@L\033@T\033@T\033@\\\033@\\\033@d\033@d\033@K;\bK;\bt\033@t\033@|\033@|\033@\204\033@\204\033@
h>\214\033@\214\033@\224\033@\224\033@"...,
h>  language = 1075552476,
h>  input_radix = 10,
h>  cond_string = 0x0,
h>  exp_string = 0x0,
h>  exp = 0x0,
h>  exp_valid_block = 0x0,
h>  val = 0x0,
h>  val_chain = 0x28,
h>  related_breakpoint = 0x10,
h>  watchpoint_frame = {
h>    stack_addr = 137890056,
h>    code_addr = 134777731,
h>    special_addr = 137890064,
h>    stack_addr_p = 1,
h>    code_addr_p = 0,
h>    special_addr_p = 0
h>  },
h>  thread = 138103256,
h>  hit_count = 134789552,
h>  dll_pathname = 0x808be88 "U\211S\203\024\213E\b\211\004$\211E\213E\2018Xa0\bt$\004$$'\b\210\211D$\bD
h>$\004\201\001",
h>  triggered_dll_pathname = 0x808ba20 "U\211\203\030\213E\f\201x\b\b\bu\002$\213E\b\211\004$\213U\f\211
h>D$\b\213E\b\211D$\004\213E\f\211\004$\213B\bU\211]U\211\203\030\213E\b\20181\bt$\004$#'\b\211D$\bD$\00
h>4",
h>  forked_inferior_pid = 134789640,
h>  exec_pathname = 0x808bd58 "U\211\203\030\213E\b\211\004$\211E\213E\2018Xa0\bt$\004$",
h>  ops = 0x808b99c,
h>  from_tty = 134790604,
h>  flag = 134790683,
h>  pending = 137890080
h>}

s> (tgdb) p breakpoint_chain->next->next->next->next->next->next->related_breakpoint->disposition
s> $24 = disp_del
s> (tgdb) p *breakpoint_chain->next->next->next->next->next->next->related_breakpoint
s> 
s> $25 = {
s>   next = 0x0,
s>   type = bp_none,
s>   enable_state = bp_disabled,
s>   disposition = disp_del,
s>   number = 0,
s>   loc = 0x0,
s>   line_number = 0,
s>   source_file = 0x0,
s>   silent = 0 '\0',
s>   ignore_count = 0,
s>   commands = 0x837a52c,
s>   frame_id = {
s>     stack_addr = 137864492,
s>     code_addr = 0,
s>     special_addr = 0,
s>     stack_addr_p = 0,
s>     code_addr_p = 0,
s>     special_addr_p = 0
s>   },
s>   cond = 0xffff,
s>   addr_string = 0x2 <Address 0x2 out of bounds>,
s>   language = language_unknown,
s>   input_radix = 0,
s>   cond_string = 0x0,
s>   exp_string = 0x0,
s>   exp = 0x51,
s>   exp_valid_block = 0x401ba104,
s>   val = 0x401ba104,
s>   val_chain = 0x0,
s>   related_breakpoint = 0x41,
s>   watchpoint_frame = {
s>     stack_addr = 1075552444,
s>     code_addr = 1075552444,
s>     special_addr = 0,
s>     stack_addr_p = 0,
s>     code_addr_p = 0,
s>     special_addr_p = 0
s>   },
s>   thread = -1,
s>   hit_count = 1,
s>   dll_pathname = 0x0,
s>   triggered_dll_pathname = 0x0,
s>   forked_inferior_pid = 0,
s>   exec_pathname = 0x0,
s>   ops = 0x0,
s>   from_tty = 0,
s>   flag = 0,
s>   pending = 0
s> }

#0  insert_bp_location (bpt=0x83a9048, tmp_error_stream=0x837b390, disabled_breaks=0xbffff574, process_warning=0xbffff56c, hw_breakpoint_error=0xbffff570) at ../../src/gdb/breakpoint.c:1022
#1  0x080d9edb in insert_breakpoints () at ../../src/gdb/breakpoint.c:1151
#2  0x08119621 in proceed (addr=4294967295, siggnal=TARGET_SIGNAL_DEFAULT, step=1) at ../../src/gdb/infrun.c:774
#3  0x081165a8 in step_1 (skip_subroutines=1, single_inst=0, count_string=0x0) at ../../src/gdb/infcmd.c:698
#4  0x08116311 in next_command (count_string=0x0, from_tty=1) at ../../src/gdb/infcmd.c:595
#5  0x080be17b in do_cfunc (c=0x8337dd0, args=0x0, from_tty=1) at ../../src/gdb/cli/cli-decode.c:57
#6  0x080c0676 in cmd_func (cmd=0x8337dd0, args=0x0, from_tty=1) at ../../src/gdb/cli/cli-decode.c:1636
#7  0x080863d5 in execute_command (p=0x831ff74 "", from_tty=1) at ../../src/gdb/top.c:442
#8  0x0812a3ef in command_handler (command=0x831ff70 "next") at ../../src/gdb/event-top.c:508
#9  0x0812aba4 in command_line_handler (rl=0x837b270 "@\n8\b") at ../../src/gdb/event-top.c:793
#10 0x081e8e0c in rl_callback_read_char () at ../../src/readline/callback.c:123
#11 0x08129b47 in rl_callback_read_char_wrapper (client_data=0x0) at ../../src/gdb/event-top.c:174
#12 0x0812a2b1 in stdin_event_handler (error=0, client_data=0x0) at ../../src/gdb/event-top.c:424
#13 0x08129281 in handle_file_event (event_file_desc=0) at ../../src/gdb/event-loop.c:722
#14 0x08128b55 in process_event () at ../../src/gdb/event-loop.c:335
#15 0x08128b9e in gdb_do_one_event (data=0x0) at ../../src/gdb/event-loop.c:372
#16 0x08125e41 in catch_errors (func=0x8128b6a <gdb_do_one_event>, func_args=0x0, errstring=0x8286e7f"", mask=6) at ../../src/gdb/exceptions.c:515
#17 0x080ce73c in tui_command_loop (data=0x0) at ../../src/gdb/tui/tui-interp.c:151
#18 0x0812635c in current_interp_command_loop () at ../../src/gdb/interps.c:278
#19 0x0807be63 in captured_command_loop (data=0x0) at ../../src/gdb/main.c:92
#20 0x08125e41 in catch_errors (func=0x807be58 <captured_command_loop>, func_args=0x0, errstring=0x826c4dc "", mask=6) at ../../src/gdb/exceptions.c:515
#21 0x0807cd24 in captured_main (data=0xbffffae0) at ../../src/gdb/main.c:800
#22 0x08125e41 in catch_errors (func=0x807be97 <captured_main>, func_args=0xbffffae0, errstring=0x826c4dc "", mask=6) at ../../src/gdb/exceptions.c:515
#23 0x0807cd5a in gdb_main (args=0xbffffae0) at ../../src/gdb/main.c:809
#24 0x0807be54 in main (argc=2, argv=0xbffffb54) at ../../src/gdb/gdb.c:35

Bob Rossi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]