-- http://www.bosbc.com/ cgf@bosbc.com "Strange how unreal VMS=>UNIX Solutions Boston Business Computing the real can be." >From cgf@redhat.com Mon Nov 27 17:19:00 2000 From: Christopher Faylor To: gdb-testresults@sources.redhat.com Subject: test results Date: Mon, 27 Nov 2000 17:19:00 -0000 Message-id: <20001127201851.A28958@redhat.com> X-SW-Source: 2000-11/msg00000.html Content-length: 1141249 Test Run By cgf on Thu Nov 16 22:13:07 2000 Native configuration is i686-pc-linux-gnu === gdb tests === Schedule of variations: unix Running target unix Using /cygnus/src/uberbaum/gdb/../dejagnu/baseboards/unix.exp as board description file for target. Using /cygnus/src/uberbaum/gdb/../dejagnu/config/unix.exp as generic interface file for target. Using /cygnus/src/uberbaum/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file. Running /cygnus/src/uberbaum/gdb/testsuite/gdb.asm/asm-source.exp ... testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.asm/asm-source.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/a2-run.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/run (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/run spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /cygnus/build/native/gdb/testsuite/gdb.base/run Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/run...done. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/run usage: factorial Program exited with code 01. (gdb) PASS: gdb.base/a2-run.exp: run "run" with no args run 5 Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/run 5 120 Program exited normally. (gdb) PASS: gdb.base/a2-run.exp: run "run" with arg run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/run 5 120 Program exited normally. (gdb) PASS: gdb.base/a2-run.exp: run "run" again with same args set args (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/run usage: factorial Program exited with code 01. (gdb) PASS: gdb.base/a2-run.exp: run after setting args to nil set args 6 (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/run 6 720 Program exited normally. (gdb) PASS: gdb.base/a2-run.exp: run "run" again after setting args run `echo 8` Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/run `echo 8` 40320 Program exited normally. (gdb) PASS: gdb.base/a2-run.exp: run "run" with shell testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/a2-run.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/all-bin.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/all-types.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/all-types (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/all-types.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/all-types Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/all-types.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/all-types.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /cygnus/build/native/gdb/testsuite/gdb.base/all-types Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/all-types...done. (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x80483e6: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/all-types.c, line 35. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/all-types Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/all-types.c:35 35 dummy(); (gdb) next 36 return 0; (gdb) PASS: gdb.base/all-bin.exp: continuing after dummy() print v_int+v_char $1 = 71 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_char print v_int+v_short $2 = 9 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_short print v_int+v_signed_char $3 = 72 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_signed_char print v_int+v_unsigned_char $4 = 73 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_unsigned_char print v_int+v_signed_short $5 = 10 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_signed_short print v_int+v_unsigned_short $6 = 11 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_unsigned_short print v_int+v_signed_int $7 = 13 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_signed_int print v_int+v_unsigned_int $8 = 14 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_unsigned_int print v_int+v_long $9 = 15 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_long print v_int+v_signed_long $10 = 16 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_signed_long print v_int+v_unsigned_long $11 = 17 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_unsigned_long print v_int+v_float $12 = 106.34343719482422 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_float print v_int+v_double $13 = 206.56565599999999 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_double print v_int <= v_char $14 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_char print v_int <= v_short $15 = 0 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_short print v_int <= v_signed_char $16 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_signed_char print v_int <= v_unsigned_char $17 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_unsigned_char print v_int <= v_signed_short $18 = 0 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_signed_short print v_int <= v_unsigned_short $19 = 0 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_unsigned_short print v_int <= v_signed_int $20 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_signed_int print v_int <= v_unsigned_int $21 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_unsigned_int print v_int <= v_long $22 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_long print v_int <= v_signed_long $23 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_signed_long print v_int <= v_unsigned_long $24 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_unsigned_long print v_int <= v_float $25 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_float print v_int <= v_double $26 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_double set variable v_char=0 (gdb) PASS: gdb.base/all-bin.exp: set v_char=0 set variable v_double=0.0 (gdb) PASS: gdb.base/all-bin.exp: set v_double=0 set variable v_unsigned_long=0 (gdb) PASS: gdb.base/all-bin.exp: set v_unsigned_long=0 print v_int && v_char $27 = 0 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_char print v_int && v_short $28 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_short print v_int && v_signed_char $29 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_signed_char print v_int && v_unsigned_char $30 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_unsigned_char print v_int && v_signed_short $31 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_signed_short print v_int && v_unsigned_short $32 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_unsigned_short print v_int && v_signed_int $33 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_signed_int print v_int && v_unsigned_int $34 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_unsigned_int print v_int && v_long $35 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_long print v_int && v_signed_long $36 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_signed_long print v_int && v_unsigned_long $37 = 0 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_unsigned_long print v_int && v_float $38 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_float print v_int && v_double $39 = 0 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_double testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/all-bin.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/annota1 (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/annota1 spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /cygnus/build/native/gdb/testsuite/gdb.base/annota1 Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/annota1...done. (gdb) set height 0 (gdb) break main Breakpoint 1 at 0x804844e: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c, line 32. (gdb) PASS: gdb.base/annota1.exp: breakpoint main set annotate 2 pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: annotation set at level 2 info break post-prompt breakpoints-headers field 0 Num field 1 Type field 2 Disp field 3 Enb field 4 Address field 5 What breakpoints-table record field 0 1 field 1 breakpoint field 2 keep field 3 y field 4 0x0804844e field 5 in main at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c:32 breakpoints-table-end pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: breakpoint info run post-prompt Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/annota1 frames-invalid frames-invalid breakpoints-invalid starting frames-invalid breakpoints-invalid breakpoints-invalid breakpoints-invalid breakpoints-invalid breakpoints-invalid breakpoints-invalid breakpoints-invalid breakpoints-invalid breakpoints-invalid frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid breakpoint 1 Breakpoint 1, frame-begin 0 0x804844e frame-function-name main frame-args () frame-source-begin at frame-source-file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c frame-source-file-end : frame-source-line 32 frame-source-end source /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c:32:323:beg:0x804844e frame-end stopped pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: run until main breakpoint next post-prompt starting frames-invalid frames-invalid frames-invalid source /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c:34:359:beg:0x8048463 frame-end stopped pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: go after array init line print my_array post-prompt value-history-begin 1 - $1 = value-history-value { array-section-begin 0 - 1 elt , 2 elt , 3 elt array-section-end } value-history-end pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: print array print non_existent_value post-prompt error-begin No symbol "non_existent_value" in current context. error pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: print non_existent_value break handle_USR1 post-prompt breakpoints-invalid Breakpoint 2 at 0x8048443: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c, line 19. pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: breakpoint handle_USR1 break printf post-prompt breakpoints-invalid Breakpoint 3 at 0x4008805c pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: breakpoint printf continue post-prompt Continuing. starting frames-invalid breakpoint 3 Breakpoint 3, frame-begin 0 0x4008805c frame-address 0x4008805c frame-address-end in frame-function-name printf frame-args () frame-where from /lib/libc.so.6 frame-end stopped pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: continue to printf backtrace post-prompt frame-begin 0 0x4008805c #0 frame-address 0x4008805c frame-address-end in frame-function-name printf frame-args () frame-where from /lib/libc.so.6 frame-end frame-begin 1 0x8048492 #1 frame-address 0x8048492 frame-address-end in frame-function-name main frame-args () frame-source-begin at frame-source-file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c frame-source-file-end : frame-source-line 40 frame-source-end frame-end frame-begin 2 0x400529cb #2 frame-address 0x400529cb frame-address-end in frame-function-name __libc_start_main frame-args () frame-where from /lib/libc.so.6 frame-end pre-prompt (gdb) prompt FAIL: gdb.base/annota1.exp: backtrace from shlibrary signal SIGUSR1 post-prompt Continuing with signal SIGUSR1. starting frames-invalid breakpoint 2 Breakpoint 2, frame-begin 0 0x8048443 frame-function-name handle_USR1 frame-args ( arg-begin sig arg-name-end = arg-value - 10 arg-end ) frame-source-begin at frame-source-file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c frame-source-file-end : frame-source-line 19 frame-source-end source /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c:19:240:beg:0x8048443 frame-end stopped pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: send SIGUSR1 backtrace post-prompt frame-begin 0 0x8048443 #0 frame-function-name handle_USR1 frame-args ( arg-begin sig arg-name-end = arg-value - 10 arg-end ) frame-source-begin at frame-source-file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c frame-source-file-end : frame-source-line 19 frame-source-end frame-end frame-begin 1 0x40058c68 #1 frame-address 0x40058c68 frame-address-end in frame-function-name sigaction frame-args () frame-where from /lib/libc.so.6 frame-end frame-begin 2 0x8048492 #2 frame-address 0x8048492 frame-address-end in frame-function-name main frame-args () frame-source-begin at frame-source-file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c frame-source-file-end : frame-source-line 40 frame-source-end frame-end frame-begin 3 0x400529cb #3 frame-address 0x400529cb frame-address-end in frame-function-name __libc_start_main frame-args () frame-where from /lib/libc.so.6 frame-end pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: backtrace @ signal handler delete 1 post-prompt pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: delete bp 1 delete 2 post-prompt pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: delete bp 2 delete 3 post-prompt pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: delete bp 3 break main post-prompt breakpoints-invalid Breakpoint 4 at 0x804844e: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c, line 32. pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: break at 28 display value post-prompt display-begin 1 display-number-end : display-format display-expression value display-expression-end = display-expression 7 display-end pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: set up display run post-prompt pre-query The program being debugged has been started already. Start it from the beginning? (y or n) query y post-query frames-invalid Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/annota1 frames-invalid frames-invalid breakpoints-invalid starting frames-invalid breakpoints-invalid breakpoints-invalid breakpoints-invalid breakpoints-invalid breakpoints-invalid breakpoints-invalid breakpoints-invalid breakpoints-invalid breakpoints-invalid frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid breakpoint 4 Breakpoint 4, frame-begin 0 0x804844e frame-function-name main frame-args () frame-source-begin at frame-source-file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c frame-source-file-end : frame-source-line 32 frame-source-end source /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c:32:323:beg:0x804844e frame-end display-begin 1 display-number-end : display-format display-expression value display-expression-end = display-expression 0 display-end stopped pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: re-run break 46 post-prompt breakpoints-invalid Breakpoint 5 at 0x80484b8: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c, line 46. pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: break at 46 ignore 5 4 post-prompt Will ignore next 4 crossings of breakpoint 5. breakpoints-invalid breakpoints-invalid pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: ignore 5 4 continue post-prompt Continuing. starting frames-invalid value is 7 my_array[2] is 3 frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid breakpoint 5 Breakpoint 5, frame-begin 0 0x80484b8 frame-function-name main frame-args () frame-source-begin at frame-source-file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c frame-source-file-end : frame-source-line 46 frame-source-end source /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c:46:559:beg:0x80484b8 frame-end display-begin 1 display-number-end : display-format display-expression value display-expression-end = display-expression 11 display-end stopped breakpoints-invalid pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: annotate ignore count change next post-prompt starting frames-invalid source /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c:45:531:beg:0x80484be frame-end display-begin 1 display-number-end : display-format display-expression value display-expression-end = display-expression 12 display-end stopped pre-prompt (gdb) prompt next post-prompt starting frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid source /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.c:49:579:beg:0x80484c3 frame-end display-begin 1 display-number-end : display-format display-expression value display-expression-end = display-expression 12 display-end stopped pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: breakpoint ignore count signal SIGTRAP post-prompt Continuing with signal SIGTRAP. starting frames-invalid frames-invalid signalled Program terminated with signal signal-name SIGTRAP signal-name-end , signal-string Trace/breakpoint trap signal-string-end . The program no longer exists. stopped pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: signal sent Executing on build: ls core (timeout = 300) spawn ls core ls: core: No such file or directory PASS: gdb.base/annota1.exp: No core dumped testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/annota1.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/arithmet.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/int-type (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/int-type spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /cygnus/build/native/gdb/testsuite/gdb.base/int-type Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/int-type...done. (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x80483e3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c, line 17. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/int-type Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c:17 17 x = 14; (gdb) set variable x=14 (gdb) PASS: gdb.base/arithmet.exp: set variable x=14 set variable y=2 (gdb) PASS: gdb.base/arithmet.exp: set variable y=2 set variable z=2 (gdb) PASS: gdb.base/arithmet.exp: set variable z=2 set variable w=3 (gdb) PASS: gdb.base/arithmet.exp: set variable w=3 print x $1 = 14 (gdb) PASS: gdb.base/arithmet.exp: print value of x print y $2 = 2 (gdb) PASS: gdb.base/arithmet.exp: print value of y print z $3 = 2 (gdb) PASS: gdb.base/arithmet.exp: print value of z print w $4 = 3 (gdb) PASS: gdb.base/arithmet.exp: print value of w print x+y $5 = 16 (gdb) PASS: gdb.base/arithmet.exp: print value of x+y print x-y $6 = 12 (gdb) PASS: gdb.base/arithmet.exp: print value of x-y print x*y $7 = 28 (gdb) PASS: gdb.base/arithmet.exp: print value of x*y print x/y $8 = 7 (gdb) PASS: gdb.base/arithmet.exp: print value of x/y print x%y $9 = 0 (gdb) PASS: gdb.base/arithmet.exp: print value of x%y print x+y+z $10 = 18 (gdb) PASS: gdb.base/arithmet.exp: print value of x+y print x-y-z $11 = 10 (gdb) PASS: gdb.base/arithmet.exp: print value of x-y print x*y*z $12 = 56 (gdb) PASS: gdb.base/arithmet.exp: print value of x*y print x/y/z $13 = 3 (gdb) PASS: gdb.base/arithmet.exp: print value of x/y print x%y%z $14 = 0 (gdb) PASS: gdb.base/arithmet.exp: print value of x%y set variable x=10 (gdb) PASS: gdb.base/arithmet.exp: set variable x set variable y=4 (gdb) PASS: gdb.base/arithmet.exp: set variable y set variable z=2 (gdb) PASS: gdb.base/arithmet.exp: set variable z print x+y-z $15 = 12 (gdb) PASS: gdb.base/arithmet.exp: print value of x+y-z print x+y*z $16 = 18 (gdb) PASS: gdb.base/arithmet.exp: print value of x+y*z set variable z=3 (gdb) PASS: gdb.base/arithmet.exp: set variable z print x+y%z $17 = 11 (gdb) PASS: gdb.base/arithmet.exp: print value of x+y%z print x+y/z $18 = 11 (gdb) PASS: gdb.base/arithmet.exp: print value of x+y/z set variable z=2 (gdb) PASS: gdb.base/arithmet.exp: set variable z print x-y*z $19 = 2 (gdb) PASS: gdb.base/arithmet.exp: print value of x-y*z print x-y%z $20 = 10 (gdb) PASS: gdb.base/arithmet.exp: print value of x-y%z print x-y/z $21 = 8 (gdb) PASS: gdb.base/arithmet.exp: print value of x-y/z print x*y/z $22 = 20 (gdb) PASS: gdb.base/arithmet.exp: print value of x*y/z set variable z=3 (gdb) PASS: gdb.base/arithmet.exp: set z to 3 print x*y%z $23 = 1 (gdb) PASS: gdb.base/arithmet.exp: print value of x*y%z print x/y%z $24 = 2 (gdb) PASS: gdb.base/arithmet.exp: print value of x/y%z print x-(y+z) $25 = 3 (gdb) PASS: gdb.base/arithmet.exp: print value of x-(y+z) print x/(y*z) $26 = 0 (gdb) PASS: gdb.base/arithmet.exp: print value of x/(y*z) print x-(y/z) $27 = 9 (gdb) PASS: gdb.base/arithmet.exp: print value of x-(y/z) print (x+y)*z $28 = 42 (gdb) PASS: gdb.base/arithmet.exp: print value of (x+y)*z testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/arithmet.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/assign.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/all-types.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/all-types (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/all-types.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/all-types spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /cygnus/build/native/gdb/testsuite/gdb.base/all-types Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/all-types...done. (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x80483e6: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/all-types.c, line 35. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/all-types Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/all-types.c:35 35 dummy(); (gdb) next 36 return 0; (gdb) PASS: gdb.base/assign.exp: continuing after dummy() print v_int=57 $1 = 57 (gdb) print v_int $2 = 57 (gdb) PASS: gdb.base/assign.exp: v_int=57 set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=57 $3 = 63 (gdb) print v_int $4 = 63 (gdb) PASS: gdb.base/assign.exp: v_int+=57 set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int-=57 $5 = -51 (gdb) print v_int $6 = -51 (gdb) PASS: gdb.base/assign.exp: v_int-=57 set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int*=5 $7 = 30 (gdb) print v_int $8 = 30 (gdb) PASS: gdb.base/assign.exp: v_int*=5 set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int/=4 $9 = 1 (gdb) print v_int $10 = 1 (gdb) PASS: gdb.base/assign.exp: v_int/=4 set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int%=4 $11 = 2 (gdb) print v_int $12 = 2 (gdb) PASS: gdb.base/assign.exp: v_int%=4 set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_char $13 = 71 (gdb) print v_int $14 = 71 (gdb) PASS: gdb.base/assign.exp: v_int+=char set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_signed_char $15 = 72 (gdb) print v_int $16 = 72 (gdb) PASS: gdb.base/assign.exp: v_int+=signed_char set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_unsigned_char $17 = 73 (gdb) print v_int $18 = 73 (gdb) PASS: gdb.base/assign.exp: v_int+=unsigned_char set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_short $19 = 9 (gdb) print v_int $20 = 9 (gdb) PASS: gdb.base/assign.exp: v_int+=short set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_signed_short $21 = 10 (gdb) print v_int $22 = 10 (gdb) PASS: gdb.base/assign.exp: v_int+=signed_short set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_unsigned_short $23 = 11 (gdb) print v_int $24 = 11 (gdb) PASS: gdb.base/assign.exp: v_int=+unsigned_short set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_signed_int $25 = 13 (gdb) print v_int $26 = 13 (gdb) PASS: gdb.base/assign.exp: v_int+=signed_int set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_unsigned_int $27 = 14 (gdb) print v_int $28 = 14 (gdb) PASS: gdb.base/assign.exp: v_int+=unsigned_int set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_long $29 = 15 (gdb) print v_int $30 = 15 (gdb) PASS: gdb.base/assign.exp: v_int+=long set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_signed_long $31 = 16 (gdb) print v_int $32 = 16 (gdb) PASS: gdb.base/assign.exp: v_int+=signed_long set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_unsigned_long $33 = 17 (gdb) print v_int $34 = 17 (gdb) PASS: gdb.base/assign.exp: v_int+=unsigned_long set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_float $35 = 106 (gdb) print v_int $36 = 106 (gdb) PASS: gdb.base/assign.exp: v_int+=v_float set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_double $37 = 206 (gdb) print v_int $38 = 206 (gdb) PASS: gdb.base/assign.exp: v_int+=double testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/assign.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/async.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/async.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/async (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/async.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/async Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/async.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/async.ci testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/async.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/attach.exp ... testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/attach.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/bitfields (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/bitfields spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /cygnus/build/native/gdb/testsuite/gdb.base/bitfields Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/bitfields...done. (gdb) set print sevenbit-strings (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break break1 Breakpoint 1 at 0x80483e3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c, line 28. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/bitfields Breakpoint 1, break1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c:28 28 } (gdb) print flags $1 = {uc = 1 '\001', s1 = 0, u1 = 0, s2 = 0, u2 = 0, s3 = 0, u3 = 0, s9 = 0, u9 = 0, sc = 0 '\000'} (gdb) PASS: gdb.base/bitfields.exp: print flags cont Continuing. Breakpoint 1, break1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c:28 28 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #1 print flags $2 = {uc = 0 '\000', s1 = -1, u1 = 0, s2 = 0, u2 = 0, s3 = 0, u3 = 0, s9 = 0, u9 = 0, sc = 0 '\000'} (gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (s1) cont Continuing. Breakpoint 1, break1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c:28 28 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #2 print flags $3 = {uc = 0 '\000', s1 = 0, u1 = 1, s2 = 0, u2 = 0, s3 = 0, u3 = 0, s9 = 0, u9 = 0, sc = 0 '\000'} (gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (u1) cont Continuing. Breakpoint 1, break1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c:28 28 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #3 print flags $4 = {uc = 0 '\000', s1 = 0, u1 = 0, s2 = 1, u2 = 0, s3 = 0, u3 = 0, s9 = 0, u9 = 0, sc = 0 '\000'} (gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (s2) cont Continuing. Breakpoint 1, break1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c:28 28 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #4 print flags $5 = {uc = 0 '\000', s1 = 0, u1 = 0, s2 = 0, u2 = 1, s3 = 0, u3 = 0, s9 = 0, u9 = 0, sc = 0 '\000'} (gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (u2) cont Continuing. Breakpoint 1, break1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c:28 28 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #5 print flags $6 = {uc = 0 '\000', s1 = 0, u1 = 0, s2 = 0, u2 = 0, s3 = 1, u3 = 0, s9 = 0, u9 = 0, sc = 0 '\000'} (gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (s3) cont Continuing. Breakpoint 1, break1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c:28 28 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #6 print flags $7 = {uc = 0 '\000', s1 = 0, u1 = 0, s2 = 0, u2 = 0, s3 = 0, u3 = 1, s9 = 0, u9 = 0, sc = 0 '\000'} (gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (u3) cont Continuing. Breakpoint 1, break1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c:28 28 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #7 print flags $8 = {uc = 0 '\000', s1 = 0, u1 = 0, s2 = 0, u2 = 0, s3 = 0, u3 = 0, s9 = 1, u9 = 0, sc = 0 '\000'} (gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (s9) cont Continuing. Breakpoint 1, break1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c:28 28 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #8 print flags $9 = {uc = 0 '\000', s1 = 0, u1 = 0, s2 = 0, u2 = 0, s3 = 0, u3 = 0, s9 = 0, u9 = 1, sc = 0 '\000'} (gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (u9) cont Continuing. Breakpoint 1, break1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c:28 28 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #9 print flags $10 = {uc = 0 '\000', s1 = 0, u1 = 0, s2 = 0, u2 = 0, s3 = 0, u3 = 0, s9 = 0, u9 = 0, sc = 1 '\001'} (gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (sc) delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break break2 Breakpoint 2 at 0x80483eb: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c, line 32. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/bitfields Breakpoint 2, break2 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c:32 32 } (gdb) print/x flags $11 = {uc = 0xff, s1 = 0x0, u1 = 0x1, s2 = 0x0, u2 = 0x3, s3 = 0x0, u3 = 0x7, s9 = 0x0, u9 = 0x1ff, sc = 0x0} (gdb) PASS: gdb.base/bitfields.exp: bitfield containment #1 cont Continuing. Breakpoint 2, break2 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c:32 32 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break2 print/x flags $12 = {uc = 0x0, s1 = 0xffffffff, u1 = 0x0, s2 = 0xffffffff, u2 = 0x0, s3 = 0xffffffff, u3 = 0x0, s9 = 0xffffffff, u9 = 0x0, sc = 0xff} (gdb) PASS: gdb.base/bitfields.exp: bitfield containment #2 delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break break3 Breakpoint 3 at 0x80483f3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c, line 36. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/bitfields Breakpoint 3, break3 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c:36 36 } (gdb) print flags $13 = {uc = 0 '\000', s1 = 0, u1 = 1, s2 = 0, u2 = 3, s3 = 0, u3 = 7, s9 = 0, u9 = 511, sc = 0 '\000'} (gdb) PASS: gdb.base/bitfields.exp: unsigned bitfield ranges delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break break4 Breakpoint 4 at 0x80483fb: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c, line 40. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/bitfields Breakpoint 4, break4 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c:40 40 } (gdb) print flags $14 = {uc = 0 '\000', s1 = 0, u1 = 0, s2 = 1, u2 = 0, s3 = 3, u3 = 0, s9 = 255, u9 = 0, sc = 0 '\000'} (gdb) PASS: gdb.base/bitfields.exp: signed bitfields, max positive values cont Continuing. Breakpoint 4, break4 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c:40 40 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break4 #1 print i $15 = -256 (gdb) PASS: gdb.base/bitfields.exp: determining signed-ness of bitfields print flags $16 = {uc = 0 '\000', s1 = -1, u1 = 0, s2 = -2, u2 = 0, s3 = -4, u3 = 0, s9 = -256, u9 = 0, sc = 0 '\000'} (gdb) PASS: gdb.base/bitfields.exp: signed bitfields, max negative values cont Continuing. Breakpoint 4, break4 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.c:40 40 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break4 #2 print flags $17 = {uc = 0 '\000', s1 = -1, u1 = 0, s2 = -1, u2 = 0, s3 = -1, u3 = 0, s9 = -1, u9 = 0, sc = 0 '\000'} (gdb) PASS: gdb.base/bitfields.exp: signed bitfields with -1 testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitfields.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitops.exp ... spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) print !1 $1 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of !1 print !0 $2 = 1 (gdb) PASS: gdb.base/bitops.exp: print value of !0 print !100 $3 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of !100 print !1000 $4 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of !1000 print !10 $5 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of !10 print !2 $6 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of !2 print 10 | 5 $7 = 15 (gdb) PASS: gdb.base/bitops.exp: print value of 10 | 5 print 10 & 5 $8 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of 10 & 5 print 10 ^ 5 $9 = 15 (gdb) PASS: gdb.base/bitops.exp: print value of 10 ^ 5 print -!0 $10 = -1 (gdb) PASS: gdb.base/bitops.exp: print value of -!0 print ~-!0 $11 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of ~-!0 print 3 * 2 / 4.0 * 2.0 $12 = 3 (gdb) PASS: gdb.base/bitops.exp: print value of 3 * 2 / 4.0 * 2.0 print 8 << 2 >> 4 $13 = 2 (gdb) PASS: gdb.base/bitops.exp: print value of 8 << 2 >> 4 print -1 < 0 > 1 $14 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of -1 < 0 > 1 print 15 ^ 10 ^ 5 ^ 7 $15 = 7 (gdb) PASS: gdb.base/bitops.exp: print value of 15 ^ 10 ^ 5 ^ 7 print 3.5 < 4.0 $16 = 1 (gdb) PASS: gdb.base/bitops.exp: print value of 3.5 < 4.0 print 3.5 < -4.0 $17 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of 3.5 < -4.0 print 2 > -3 $18 = 1 (gdb) PASS: gdb.base/bitops.exp: print value of 2 > -3 print -3>4 $19 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of -3>4 print (-3 > 4) $20 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of (-3 > 4) print 3>=2.5 $21 = 1 (gdb) PASS: gdb.base/bitops.exp: print value of 3>=2.5 print 3>=4.5 $22 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of 3>=4.5 print 3==3.0 $23 = 1 (gdb) PASS: gdb.base/bitops.exp: print value of 3==3.0 print 3==4.0 $24 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of 3==4.0 print 3!=3.0 $25 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of 3!=3.0 print 3!=5.0 $26 = 1 (gdb) PASS: gdb.base/bitops.exp: print value of 3!=5.0 print 0 || 1 && 0 | 0 ^ 0 == 8 > 128 >>1 +2 *2 $27 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of 0 || 1 && 0 | 0 ^ 0 == 8 > 128 >>1 +2 *2 print 1.0 || 0 $28 = 1 (gdb) PASS: gdb.base/bitops.exp: print value of 1.0 || 0 print 0.0 || 1.0 $29 = 1 (gdb) PASS: gdb.base/bitops.exp: print value of 0.0 || 1.0 print 0.0 || 0 $30 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of 0.0 || 0 print 0 || 1 && 0 | 0 ^ 0 == 8 $31 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of 0 || 1 && 0 | 0 ^ 0 == 8 print 0 == 8 > 128 >> 1 + 2 * 2 $32 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of 0 == 8 > 128 >> 1 + 2 * 2 testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/bitops.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/break (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/break Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/break.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/break.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /cygnus/build/native/gdb/testsuite/gdb.base/break Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/break...done. (gdb) delete breakpoints (gdb) PASS: gdb.base/break.exp: Delete all breakpoints when none break main Breakpoint 1 at 0x80484d2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 75. (gdb) PASS: gdb.base/break.exp: breakpoint function break break.c:factorial Breakpoint 2 at 0x804858a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 96. (gdb) PASS: gdb.base/break.exp: breakpoint function in file list main 65 int 66 main (argc, argv, envp) 67 int argc; 68 char *argv[], **envp; 69 #endif 70 { 71 #ifdef usestubs 72 set_debug_traps(); 73 breakpoint(); 74 #endif (gdb) PASS: gdb.base/break.exp: use `list' to establish default source file break 79 Breakpoint 3 at 0x8048500: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 79. (gdb) PASS: gdb.base/break.exp: breakpoint line number break 79 Note: breakpoint 3 also set at pc 0x8048500. Breakpoint 4 at 0x8048500: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 79. (gdb) PASS: gdb.base/break.exp: breakpoint duplicate break break.c:85 Breakpoint 5 at 0x8048568: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 85. (gdb) PASS: gdb.base/break.exp: breakpoint line number in file info break Num Type Disp Enb Address What 1 breakpoint keep y 0x080484d2 in main at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 2 breakpoint keep y 0x0804858a in factorial at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:96 3 breakpoint keep y 0x08048500 in main at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:79 4 breakpoint keep y 0x08048500 in main at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:79 5 breakpoint keep y 0x08048568 in main at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:85 (gdb) PASS: gdb.base/break.exp: breakpoint info run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/break Breakpoint 1, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 75 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ (gdb) PASS: gdb.base/break.exp: run until function breakpoint continue Continuing. Breakpoint 3, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:79 79 printf ("%d\n", factorial (atoi ("6"))); (gdb) PASS: gdb.base/break.exp: run until breakpoint set at a line number continue Continuing. Breakpoint 2, factorial (value=6) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:96 96 if (value > 1) { (gdb) PASS: gdb.base/break.exp: run until file:function(6) breakpoint continue Continuing. Breakpoint 2, factorial (value=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:96 96 if (value > 1) { (gdb) PASS: gdb.base/break.exp: run until file:function(5) breakpoint continue Continuing. Breakpoint 2, factorial (value=4) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:96 96 if (value > 1) { (gdb) PASS: gdb.base/break.exp: run until file:function(4) breakpoint continue Continuing. Breakpoint 2, factorial (value=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:96 96 if (value > 1) { (gdb) PASS: gdb.base/break.exp: run until file:function(3) breakpoint continue Continuing. Breakpoint 2, factorial (value=2) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:96 96 if (value > 1) { (gdb) PASS: gdb.base/break.exp: run until file:function(2) breakpoint continue Continuing. Breakpoint 2, factorial (value=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:96 96 if (value > 1) { (gdb) PASS: gdb.base/break.exp: run until file:function(1) breakpoint continue Continuing. 720 Breakpoint 5, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:85 85 argc = (argc == 12345); /* This is silly, but we can step off of it */ (gdb) PASS: gdb.base/break.exp: run until file:linenum breakpoint break +1 Breakpoint 6 at 0x8048579: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 86. (gdb) PASS: gdb.base/break.exp: breakpoint offset +1 step Breakpoint 6, main (argc=0, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:86 86 return argc; (gdb) PASS: gdb.base/break.exp: step onto breakpoint delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) tbreak main Breakpoint 7 at 0x80484d2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 75. (gdb) PASS: gdb.base/break.exp: Temporary breakpoint function tbreak break.c:factorial Breakpoint 8 at 0x804858a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 96. (gdb) PASS: gdb.base/break.exp: Temporary breakpoint function in file tbreak 79 Breakpoint 9 at 0x8048500: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 79. (gdb) PASS: gdb.base/break.exp: Temporary breakpoint line number #1 tbreak 75 Note: breakpoint 7 also set at pc 0x80484d2. Breakpoint 10 at 0x80484d2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 75. (gdb) PASS: gdb.base/break.exp: Temporary breakpoint line number #2 tbreak break.c:85 Breakpoint 11 at 0x8048568: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 85. (gdb) PASS: gdb.base/break.exp: Temporary breakpoint line number in file #1 tbreak break.c:81 Breakpoint 12 at 0x8048531: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 81. (gdb) PASS: gdb.base/break.exp: Temporary breakpoint line number in file #2 info break Num Type Disp Enb Address What 7 breakpoint del y 0x080484d2 in main at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 8 breakpoint del y 0x0804858a in factorial at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:96 9 breakpoint del y 0x08048500 in main at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:79 10 breakpoint del y 0x080484d2 in main at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 11 breakpoint del y 0x08048568 in main at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:85 12 breakpoint del y 0x08048531 in main at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:81 (gdb) PASS: gdb.base/break.exp: Temporary breakpoint info delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 13 at 0x80484d2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 75. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/break Breakpoint 13, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 75 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ (gdb) catch Catch requires an event name. (gdb) PASS: gdb.base/break.exp: catch requires an event name catch fork Catch of fork not yet implemented (gdb) PASS: gdb.base/break.exp: set catch fork, never expected to trigger catch vfork Catch of vfork not yet implemented (gdb) PASS: gdb.base/break.exp: set catch vfork, never expected to trigger catch exec Catch of exec not yet implemented (gdb) PASS: gdb.base/break.exp: set catch exec, never expected to trigger until 79 main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:79 79 printf ("%d\n", factorial (atoi ("6"))); (gdb) PASS: gdb.base/break.exp: until 79 until 80 then stop Junk at end of arguments. (gdb) PASS: gdb.base/break.exp: malformed until break 999 No line 999 in file "/cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c". (gdb) PASS: gdb.base/break.exp: break on non-existent source line break Breakpoint 14 at 0x8048500: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 79. (gdb) PASS: gdb.base/break.exp: break on default location, 1st time break Note: breakpoint 14 also set at pc 0x8048500. Breakpoint 15 at 0x8048500: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 79. (gdb) PASS: gdb.base/break.exp: break on default location, 2nd time break Note: breakpoints 14 and 15 also set at pc 0x8048500. Breakpoint 16 at 0x8048500: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 79. (gdb) PASS: gdb.base/break.exp: break on default location, 3rd time break Note: breakpoints 14, 15 and 16 also set at pc 0x8048500. Breakpoint 17 at 0x8048500: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 79. (gdb) PASS: gdb.base/break.exp: break on default location, 4th time delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 18 at 0x80484d2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 75. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/break Breakpoint 18, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 75 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ (gdb) break 79 Breakpoint 19 at 0x8048500: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 79. (gdb) PASS: gdb.base/break.exp: set to-be-silent break 79 commands 19 Type commands for when breakpoint 19 is hit, one per line. End with a line saying just "end". >silent >end (gdb) PASS: gdb.base/break.exp: set silent break 79 info break 19 Num Type Disp Enb Address What 19 breakpoint keep y 0x08048500 in main at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:79 silent (gdb) PASS: gdb.base/break.exp: info silent break 79 continue Continuing. (gdb) PASS: gdb.base/break.exp: hit silent break 79 bt #0 main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:79 #1 0x400529cb in __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/break.exp: stopped for silent break 79 break 80 thread 999 Unknown thread 999 (gdb) PASS: gdb.base/break.exp: thread-specific breakpoint on non-existent thread disallowed break 80 thread foo Junk after thread keyword. (gdb) PASS: gdb.base/break.exp: thread-specific breakpoint on bogus thread ID disallowed break 80 foo Junk at end of arguments. (gdb) PASS: gdb.base/break.exp: breakpoint with trailing garbage disallowed next 720 81 marker1 (); (gdb) PASS: gdb.base/break.exp: step over breakpoint clear 81 No breakpoint at 81. (gdb) PASS: gdb.base/break.exp: clear line has no breakpoint disallowed clear No breakpoint at this line. (gdb) PASS: gdb.base/break.exp: clear current line has no breakpoint disallowed set $foo=81 (gdb) PASS: gdb.base/break.exp: set convenience variable $foo to 81 break $foo Breakpoint 20 at 0x8048531: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 81. (gdb) PASS: gdb.base/break.exp: set breakpoint via convenience variable set $foo=81.5 (gdb) PASS: gdb.base/break.exp: set convenience variable $foo to 81.5 break $foo Convenience variables used in line specs must have integer values. (gdb) PASS: gdb.base/break.exp: set breakpoint via non-integer convenience variable disallowed break marker2 Breakpoint 21 at 0x80484af: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 49. (gdb) PASS: gdb.base/break.exp: set breakpoint on to-be-called function print marker2(99) Breakpoint 21, marker2 (a=99) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:49 49 int marker2 (a) int a; { return (1); } The program being debugged stopped while in a function called from GDB. When the function (marker2) is done executing, GDB will silently stop (instead of continuing to evaluate the expression containing the function call). (gdb) PASS: gdb.base/break.exp: hit breakpoint on called function delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 22 at 0x80484d2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 75. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/break Breakpoint 22, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 75 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ (gdb) finish 123 The "finish" command does not take any arguments. (gdb) PASS: gdb.base/break.exp: finish with arguments disallowed finish Run till exit from #0 main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 720 0x400529cb in __libc_start_main () from /lib/libc.so.6 Value returned is $1 = 0 (gdb) PASS: gdb.base/break.exp: finish from outermost frame disallowed break main Note: breakpoint 22 also set at pc 0x80484d2. Breakpoint 23 at 0x80484d2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 75. (gdb) PASS: gdb.base/break.exp: break main #1 break main Note: breakpoints 22 and 23 also set at pc 0x80484d2. Breakpoint 24 at 0x80484d2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 75. (gdb) PASS: gdb.base/break.exp: break main #2 clear main Deleted breakpoints 24 23 22 (gdb) PASS: gdb.base/break.exp: clear main kill Kill the program being debugged? (y or n) y (gdb) PASS: gdb.base/break.exp: kill program delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 25 at 0x804858a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 96. (gdb) PASS: gdb.base/break.exp: break at factorial run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/break Breakpoint 25, factorial (value=6) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:96 96 if (value > 1) { (gdb) continue Continuing. Breakpoint 25, factorial (value=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:96 96 if (value > 1) { (gdb) PASS: gdb.base/break.exp: continue to factorial(5) backtrace #0 factorial (value=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:96 #1 0x804859d in factorial (value=6) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:97 #2 0x804851e in main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:79 #3 0x400529cb in __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/break.exp: backtrace from factorial(5) next 97 value *= factorial (value - 1); (gdb) PASS: gdb.base/break.exp: next to recursive call delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) next 99 return (value); (gdb) PASS: gdb.base/break.exp: next over recursive call backtrace #0 factorial (value=120) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:99 #1 0x804859d in factorial (value=6) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:97 #2 0x804851e in main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:79 #3 0x400529cb in __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/break.exp: backtrace from factorial(5.1) continue Continuing. 720 Program exited normally. (gdb) PASS: gdb.base/break.exp: continue until exit at recursive next test Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c "-O2" -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/breako2 (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c -O2 -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/breako2 Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/breako2.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/breako2.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /cygnus/build/native/gdb/testsuite/gdb.base/breako2 Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/breako2...done. (gdb) break main Breakpoint 1 at 0x80484e7: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 79. (gdb) PASS: gdb.base/break.exp: breakpoint function, optimized file break marker4 Breakpoint 2 at 0x80484d3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 51. (gdb) PASS: gdb.base/break.exp: breakpoint small function, optimized file run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/breako2 Breakpoint 1, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:79 79 printf ("%d\n", factorial (atoi ("6"))); (gdb) PASS: gdb.base/break.exp: run until function breakpoint, optimized file (code motion) continue Continuing. 720 Breakpoint 2, 0x80484d3 in marker4 (d=177601976) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:51 51 void marker4 (d) long d; {} PASS: gdb.base/break.exp: run until breakpoint set at small function, optimized file testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.exp completed in 2 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/call-ar-st (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/call-ar-st Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/call-ar-st.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/call-ar-st.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /cygnus/build/native/gdb/testsuite/gdb.base/call-ar-st Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/call-ar-st...done. (gdb) set print sevenbit-strings (gdb) set print address off (gdb) set width 0 (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c, line 1155. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/call-ar-st Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c:1155 1155 id_int student_id = 23; (gdb) tbreak 1209 Breakpoint 2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c, line 1209. (gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint line 1209 continue Continuing. main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c:1209 1209 for (index = 0; index < 50; index++) { (gdb) PASS: gdb.base/call-ar-st.exp: run until breakpoint set at a line print print_double_array(double_array) array_d : ========= PASS: gdb.base/call-ar-st.exp: print print_double_array(double_array), pattern 1 PASS: gdb.base/call-ar-st.exp: print print_double_array(double_array), pattern 2 0.000000 23.456700 46.913400 70.370100 93.826800 117.283500 140.740200 164.196900 187.653600 211.110300 234.567000 258.023700 281.480400 304.937100 328.393800 351.850500 375.307200 398.763900 422.220600 445.677300 469.134000 492.590700 516.047400 539.504100 562.960800 586.417500 609.874200 633.330900 656.787600 680.244300 703.701000 727.157700 750.614400 774.071100 797.527800 820.984500 844.441200 867.897900 891.354600 914.811300 938.268000 961.724700 985.181400 1008.638100 1032.094800 1055.551500 1079.008200 1102.464900 1125.921600 1149.378300 1172.835000 1196.291700 1219.748400 1243.205100 1266.661800 1290.118500 1313.575200 1337.031900 1360.488600 1383.945300 1407.402000 1430.858700 1454.315400 1477.772100 1501.228800 1524.685500 1548.142200 1571.598900 1595.055600 1618.512300 1641.969000 1665.425700 1688.882400 1712.339100 1735.795800 1759.252500 1782.709200 1806.165900 1829.622600 1853.079300 1876.536000 1899.992700 1923.449400 1946.906100 1970.362800 1993.819500 2017.276200 2040.732900 2064.189600 2087.646300 2111.103000 2134.559700 2158.016400 2181.473100 2204.929800 2228.386500 2251.843200 2275.299900 2298.756600 2322.213300 $1 = void PASS: gdb.base/call-ar-st.exp: print print_double_array(double_array), pattern 3 PASS: gdb.base/call-ar-st.exp: print print_double_array(double_array), pattern 4 PASS: gdb.base/call-ar-st.exp: print print_double_array(double_array), pattern 5 PASS: gdb.base/call-ar-st.exp: print print_double_array(double_array), pattern 6 PASS: gdb.base/call-ar-st.exp: print print_double_array(double_array), pattern 7 PASS: gdb.base/call-ar-st.exp: print print_double_array(double_array), pattern 8 PASS: gdb.base/call-ar-st.exp: print print_double_array(double_array), pattern 9 PASS: gdb.base/call-ar-st.exp: print print_double_array(double_array), pattern 10 PASS: gdb.base/call-ar-st.exp: print print_double_array(double_array), pattern 11 PASS: gdb.base/call-ar-st.exp: print print_double_array(double_array), pattern 12 PASS: gdb.base/call-ar-st.exp: print print_double_array(double_array), pattern 13 PASS: gdb.base/call-ar-st.exp: print print_double_array(double_array), pattern 14 PASS: gdb.base/call-ar-st.exp: print print_double_array(double_array), pattern 15 (gdb) PASS: gdb.base/call-ar-st.exp: print print_double_array(double_array), pattern 16 + sentinel print print_char_array(char_array) array_c : ========= Z aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ aZaZaZaZaZaZaZaZaZa $2 = void PASS: gdb.base/call-ar-st.exp: print print_char_array(char_array), pattern 1 PASS: gdb.base/call-ar-st.exp: print print_char_array(char_array), pattern 2 PASS: gdb.base/call-ar-st.exp: print print_char_array(char_array), pattern 3 PASS: gdb.base/call-ar-st.exp: print print_char_array(char_array), pattern 4 PASS: gdb.base/call-ar-st.exp: print print_char_array(char_array), pattern 5 (gdb) PASS: gdb.base/call-ar-st.exp: print print_char_array(char_array), pattern 6 + sentinel tbreak 1216 Breakpoint 3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c, line 1216. (gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint line 1216 continue Continuing. array_c : ========= Z aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ aZaZaZaZaZaZaZaZaZa main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c:1216 1216 print_double_array(double_array); PASS: gdb.base/call-ar-st.exp: continue to 1216, pattern 1 PASS: gdb.base/call-ar-st.exp: continue to 1216, pattern 2 PASS: gdb.base/call-ar-st.exp: continue to 1216, pattern 3 PASS: gdb.base/call-ar-st.exp: continue to 1216, pattern 4 PASS: gdb.base/call-ar-st.exp: continue to 1216, pattern 5 PASS: gdb.base/call-ar-st.exp: continue to 1216, pattern 6 PASS: gdb.base/call-ar-st.exp: continue to 1216, pattern 7 (gdb) PASS: gdb.base/call-ar-st.exp: continue to 1216, pattern 8 + sentinel tbreak 1220 Breakpoint 4: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c, line 1220. (gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint line 1220 continue Continuing. array_d : ========= 0.000000 23.456700 46.913400 70.370100 93.826800 117.283500 140.740200 164.196900 187.653600 211.110300 234.567000 258.023700 281.480400 304.937100 328.393800 351.850500 375.307200 398.763900 422.220600 445.677300 469.134000 492.590700 516.047400 539.504100 562.960800 586.417500 609.874200 633.330900 656.787600 680.244300 703.701000 727.157700 750.614400 774.071100 797.527800 820.984500 844.441200 867.897900 891.354600 914.811300 938.268000 961.724700 985.181400 1008.638100 1032.094800 1055.551500 1079.008200 1102.464900 1125.921600 1149.378300 1172.835000 1196.291700 1219.748400 1243.205100 1266.661800 1290.118500 1313.575200 1337.031900 1360.488600 1383.945300 1407.402000 1430.858700 1454.315400 1477.772100 1501.228800 1524.685500 1548.142200 1571.598900 1595.055600 1618.512300 1641.969000 1665.425700 1688.882400 1712.339100 1735.795800 1759.252500 1782.709200 1806.165900 1829.622600 1853.079300 1876.536000 1899.992700 1923.449400 1946.906100 1970.362800 1993.819500 2017.276200 2040.732900 2064.189600 2087.646300 2111.103000 2134.559700 2158.016400 2181.473100 2204.929800 2228.386500 2251.843200 2275.299900 2298.756600 2322.213300 array_f : ========= 0.000000 0.142450 0.284900 0.427350 0.569801 0.712251 0.854701 0.997151 1.139601 1.282051 1.424501 1.566952 1.709402 1.851852 1.994302 student id : 23 shirt color : YELLOW array_i : ========= 0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c:1220 1220 print_all_arrays(integer_array, char_array, float_array, double_array); PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 1 PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 2 PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 3 PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 4 PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 5 PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 6 PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 7 PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 8 PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 9 PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 10 PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 11 PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 12 PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 13 PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 14 PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 15 PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 16 PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 17 PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 18 PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 19 PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 20 (gdb) PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220, pattern 21 + sentinel step print_all_arrays (array_i=, array_c="ZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZa", array_f=, array_d=) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c:306 306 print_int_array(array_i); (gdb) PASS: gdb.base/call-ar-st.exp: step inside print_all_arrays next array_i : ========= 0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 307 print_char_array(array_c); (gdb) PASS: gdb.base/call-ar-st.exp: next over print_int_array in print-all_arrays print print_double_array(array_d) array_d : ========= 0.000000 23.456700 46.913400 70.370100 93.826800 117.283500 140.740200 164.196900 187.653600 211.110300 234.567000 258.023700 281.480400 304.937100 328.393800 351.850500 375.307200 398.763900 422.220600 445.677300 469.134000 492.590700 516.047400 539.504100 562.960800 586.417500 609.874200 633.330900 656.787600 680.244300 703.701000 727.157700 750.614400 774.071100 797.527800 820.984500 844.441200 867.897900 891.354600 914.811300 938.268000 961.724700 985.181400 1008.638100 1032.094800 1055.551500 1079.008200 1102.464900 1125.921600 1149.378300 1172.835000 1196.291700 1219.748400 1243.205100 1266.661800 1290.118500 1313.575200 1337.031900 1360.488600 1383.945300 1407.402000 1430.858700 1454.315400 1477.772100 1501.228800 1524.685500 1548.142200 1571.598900 1595.055600 1618.512300 1641.969000 1665.425700 1688.882400 1712.339100 1735.795800 1759.252500 1782.709200 1806.165900 1829.622600 1853.079300 1876.536000 1899.992700 1923.449400 1946.906100 1970.362800 1993.819500 2017.276200 2040.732900 2064.189600 2087.646300 2111.103000 2134.559700 2158.016400 2181.473100 2204.929800 2228.386500 2251.843200 2275.299900 2298.756600 2322.213300 $3 = void PASS: gdb.base/call-ar-st.exp: print print_double_array(array_d), pattern 1 PASS: gdb.base/call-ar-st.exp: print print_double_array(array_d), pattern 2 PASS: gdb.base/call-ar-st.exp: print print_double_array(array_d), pattern 3 PASS: gdb.base/call-ar-st.exp: print print_double_array(array_d), pattern 4 PASS: gdb.base/call-ar-st.exp: print print_double_array(array_d), pattern 5 PASS: gdb.base/call-ar-st.exp: print print_double_array(array_d), pattern 6 PASS: gdb.base/call-ar-st.exp: print print_double_array(array_d), pattern 7 PASS: gdb.base/call-ar-st.exp: print print_double_array(array_d), pattern 8 PASS: gdb.base/call-ar-st.exp: print print_double_array(array_d), pattern 9 PASS: gdb.base/call-ar-st.exp: print print_double_array(array_d), pattern 10 PASS: gdb.base/call-ar-st.exp: print print_double_array(array_d), pattern 11 PASS: gdb.base/call-ar-st.exp: print print_double_array(array_d), pattern 12 PASS: gdb.base/call-ar-st.exp: print print_double_array(array_d), pattern 13 PASS: gdb.base/call-ar-st.exp: print print_double_array(array_d), pattern 14 PASS: gdb.base/call-ar-st.exp: print print_double_array(array_d), pattern 15 (gdb) PASS: gdb.base/call-ar-st.exp: print print_double_array(array_d), pattern 16 + sentinel tbreak 1236 Breakpoint 5: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c, line 1236. (gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint line 1236 continue Continuing. array_c : ========= Z aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ aZaZaZaZaZaZaZaZaZa array_f : ========= 0.000000 0.142450 0.284900 0.427350 0.569801 0.712251 0.854701 0.997151 1.139601 1.282051 1.424501 1.566952 1.709402 1.851852 1.994302 array_d : ========= 0.000000 23.456700 46.913400 70.370100 93.826800 117.283500 140.740200 164.196900 187.653600 211.110300 234.567000 258.023700 281.480400 304.937100 328.393800 351.850500 375.307200 398.763900 422.220600 445.677300 469.134000 492.590700 516.047400 539.504100 562.960800 586.417500 609.874200 633.330900 656.787600 680.244300 703.701000 727.157700 750.614400 774.071100 797.527800 820.984500 844.441200 867.897900 891.354600 914.811300 938.268000 961.724700 985.181400 1008.638100 1032.094800 1055.551500 1079.008200 1102.464900 1125.921600 1149.378300 1172.835000 1196.291700 1219.748400 1243.205100 1266.661800 1290.118500 1313.575200 1337.031900 1360.488600 1383.945300 1407.402000 1430.858700 1454.315400 1477.772100 1501.228800 1524.685500 1548.142200 1571.598900 1595.055600 1618.512300 1641.969000 1665.425700 1688.882400 1712.339100 1735.795800 1759.252500 1782.709200 1806.165900 1829.622600 1853.079300 1876.536000 1899.992700 1923.449400 1946.906100 1970.362800 1993.819500 2017.276200 2040.732900 2064.189600 2087.646300 2111.103000 2134.559700 2158.016400 2181.473100 2204.929800 2228.386500 2251.843200 2275.299900 2298.756600 2322.213300 HELLO WORLD main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c:1236 1236 printf("BYE BYE FOR NOW\n"); PASS: gdb.base/call-ar-st.exp: continuing to 1236, pattern 1 PASS: gdb.base/call-ar-st.exp: continuing to 1236, pattern 2 PASS: gdb.base/call-ar-st.exp: continuing to 1236, pattern 3 PASS: gdb.base/call-ar-st.exp: continuing to 1236, pattern 4 PASS: gdb.base/call-ar-st.exp: continuing to 1236, pattern 5 PASS: gdb.base/call-ar-st.exp: continuing to 1236, pattern 6 PASS: gdb.base/call-ar-st.exp: continuing to 1236, pattern 7 PASS: gdb.base/call-ar-st.exp: continuing to 1236, pattern 8 PASS: gdb.base/call-ar-st.exp: continuing to 1236, pattern 9 PASS: gdb.base/call-ar-st.exp: continuing to 1236, pattern 10 PASS: gdb.base/call-ar-st.exp: continuing to 1236, pattern 11 PASS: gdb.base/call-ar-st.exp: continuing to 1236, pattern 12 PASS: gdb.base/call-ar-st.exp: continuing to 1236, pattern 13 PASS: gdb.base/call-ar-st.exp: continuing to 1236, pattern 14 PASS: gdb.base/call-ar-st.exp: continuing to 1236, pattern 15 PASS: gdb.base/call-ar-st.exp: continuing to 1236, pattern 16 PASS: gdb.base/call-ar-st.exp: continuing to 1236, pattern 17 (gdb) PASS: gdb.base/call-ar-st.exp: continuing to 1236, pattern 18 + sentinel print sum_array_print(10, *list1, *list2, *list3, *list4) Sum of 4 arrays, by element (add in seed as well): Seed: 10 Element Index | Sum ------------------------- | 0 52 1 60 2 68 3 76 4 84 5 92 6 100 7 108 8 116 9 124 $4 = void (gdb) PASS: gdb.base/call-ar-st.exp: print sum_array_print(10, *list1, *list2, *list3, *list4) next BYE BYE FOR NOW 1237 printf("VERY GREEN GRASS\n"); (gdb) PASS: gdb.base/call-ar-st.exp: next to 1237 print print_array_rep(*list1, *list2, *list3) Contents of linked list1: Element Value | Index of Next Element ------------------------------------- | 4 1 6 2 8 3 10 4 12 5 14 6 16 7 18 8 20 9 22 10 Contents of linked list2: Element Value | Index of Next Element ------------------------------------- | 8 1 10 2 12 3 14 4 16 5 18 6 20 7 22 8 24 9 26 10 Contents of linked list3: Element Value | Index of Next Element ------------------------------------- | 10 1 12 2 14 3 16 4 18 5 20 6 22 7 24 8 26 9 28 10 $5 = void (gdb) PASS: gdb.base/call-ar-st.exp: print print_array_rep(*list1, *list2, *list3) tbreak 1241 Breakpoint 6: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c, line 1241. (gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint line 1241 continue Continuing. VERY GREEN GRASS main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c:1241 1241 sum_array_print(10, *list1, *list2, *list3, *list4); (gdb) PASS: gdb.base/call-ar-st.exp: continue to 1241 break sum_array_print Breakpoint 7: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c, line 1105. (gdb) PASS: gdb.base/call-ar-st.exp: set breakpoint in sum_array_print continue Continuing. Breakpoint 7, sum_array_print (seed=10, linked_list1={next_index = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, values = {4, 6, 8, 10, 12, 14, 16, 18, 20, 22}, head = 0}, linked_list2={next_index = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, values = {8, 10, 12, 14, 16, 18, 20, 22, 24, 26}, head = 0}, linked_list3={next_index = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, values = {10, 12, 14, 16, 18, 20, 22, 24, 26, 28}, head = 0}, linked_list4={next_index = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, values = {20, 22, 24, 26, 28, 30, 32, 34, 36, 38}, head = 0}) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c:1105 1105 printf("Sum of 4 arrays, by element (add in seed as well): \n\n"); (gdb) PASS: gdb.base/call-ar-st.exp: check args of sum_array_print tbreak 1281 Breakpoint 8: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c, line 1281. (gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint line 1281 continue Continuing. Sum of 4 arrays, by element (add in seed as well): Seed: 10 Element Index | Sum ------------------------- | 0 52 1 60 2 68 3 76 4 84 5 92 6 100 7 108 8 116 9 124 Contents of linked list1: Element Value | Index of Next Element ------------------------------------- | 4 1 6 2 8 3 10 4 12 5 14 6 16 7 18 8 20 9 22 10 Contents of linked list2: Element Value | Index of Next Element ------------------------------------- | 8 1 10 2 12 3 14 4 16 5 18 6 20 7 22 8 24 9 26 10 Contents of linked list3: Element Value | Index of Next Element ------------------------------------- | 10 1 12 2 14 3 16 4 18 5 20 6 22 7 24 8 26 9 28 10 4 1 alpha gamma epsilon alpha gamma epsilon ch1: y ch2: n Contents of three_char_t: a b c Contents of five_char_t: l m n o p Contents of int_char_combo_t: 123 z Sum of the 4 struct values and seed : 52 Contents of struct1: 6 0 Contents of struct2: 10 0 Contents of struct3: 12 0 Contents of one_double_t: 10.500000 Contents of one_double_t: -3.375000 Contents of one_double_t: 675.093750 Contents of two_floats_t: 45.234001 43.599998 Contents of two_floats_t: 78.010002 122.099998 Contents of two_floats_t: -1232.344971 -199.210007 main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c:1281 1281 c = 0; (gdb) PASS: gdb.base/call-ar-st.exp: continue to 1281 print print_small_structs(*struct1, *struct2, *struct3, *struct4, *flags, *flags_combo, *three_char, *five_char, *int_char_co mbo, *d1, *d2, *d3, *f1, *f2, *f3) alpha gamma epsilon alpha gamma epsilon ch1: y ch2: n Contents of three_char_t: a b c Contents of five_char_t: l m n o p Contents of int_char_combo_t: 123 z Sum of the 4 struct values and seed : 52 Contents of struct1: 6 0 Contents of struct2: 10 0 Contents of struct3: 12 0 Contents of one_double_t: 10.500000 Contents of one_double_t: -3.375000 Contents of one_double_t: 675.093750 Contents of two_floats_t: 45.234001 43.599998 Contents of two_floats_t: 78.010002 122.099998 Contents of two_floats_t: -1232.344971 -199.210007 $6 = void PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 1 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 2 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 3 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 4 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 5 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 6 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 7 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 8 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 9 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 10 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 11 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 12 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 13 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 14 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 15 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 16 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 17 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 18 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 19 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 20 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 21 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 22 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 23 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 24 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 25 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 26 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 27 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 28 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 29 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 30 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 31 PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 32 (gdb) PASS: gdb.base/call-ar-st.exp: print print_small_structs, pattern 33 + sentinel print compute_with_small_structs(20) $7 = void (gdb) PASS: gdb.base/call-ar-st.exp: print compute_with_small_structs(20) print print_ten_doubles(123.456, 123.456, -0.12, -1.23, 343434.8, 89.098, 3.14, -5678.12345, -0.11111111, 216.97065) Two Doubles : 123.456000 123.456000 Two Doubles : -0.120000 -1.230000 Two Doubles : 343434.800000 89.098000 Two Doubles : 3.140000 -5678.123450 Two Doubles : -0.111111 216.970650 $8 = void PASS: gdb.base/call-ar-st.exp: print print_ten_doubles, pattern 1 PASS: gdb.base/call-ar-st.exp: print print_ten_doubles, pattern 2 PASS: gdb.base/call-ar-st.exp: print print_ten_doubles, pattern 3 PASS: gdb.base/call-ar-st.exp: print print_ten_doubles, pattern 4 (gdb) PASS: gdb.base/call-ar-st.exp: print print_ten_doubles, pattern 5 + sentinel tbreak 1286 Breakpoint 9: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c, line 1286. (gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint line 1286 continue Continuing. main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c:1286 1286 print_long_arg_list ( a, b, c, d, e, f, *struct1, *struct2, *struct3, *struct4, (gdb) PASS: gdb.base/call-ar-st.exp: continue to 1286 tbreak print_long_arg_list Breakpoint 10: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c, line 992. (gdb) PASS: gdb.base/call-ar-st.exp: tbreak in print_long_arg_list after stepping into memcpy continue Continuing. print_long_arg_list (a=22.25, b=33.375, c=0, d=-25, e=100, f=2345, struct1={value = 6, head = 0}, struct2={value = 10, head = 0}, struct3={value = 12, head = 0}, struct4={value = 14, head = 0}, flags={alpha = 1, beta = 0, gamma = 1, delta = 0, epsilon = 1, omega = 0}, flags_combo={alpha = 1, beta = 0, ch1 = 121 'y', gamma = 1, delta = 0, ch2 = 110 'n', epsilon = 1, omega = 0}, three_char={ch1 = 97 'a', ch2 = 98 'b', ch3 = 99 'c'}, five_char={ch1 = 108 'l', ch2 = 109 'm', ch3 = 110 'n', ch4 = 111 'o', ch5 = 112 'p'}, int_char_combo={int1 = 123, ch1 = 122 'z'}, d1={double1 = 10.5}, d2={double1 = -3.375}, d3={double1 = 675.09375}, f1={float1 = 45.2340012, float2 = 43.5999985}, f2={float1 = 78.0100021, float2 = 122.099998}, f3={float1 = -1232.34497, float2 = -199.210007}) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c:992 992 printf("double : %f\n", a); (gdb) PASS: gdb.base/call-ar-st.exp: step into print_long_arg_list print print_small_structs(struct1, struct2, struct3, struct4, flags, flags_combo, three_char, five_char, int_char_combo, d1, d2, d3, f1, f2, f3) alpha gamma epsilon alpha gamma epsilon ch1: y ch2: n Contents of three_char_t: a b c Contents of five_char_t: l m n o p Contents of int_char_combo_t: 123 z Sum of the 4 struct values and seed : 52 Contents of struct1: 6 0 Contents of struct2: 10 0 Contents of struct3: 12 0 Contents of one_double_t: 10.500000 Contents of one_double_t: -3.375000 Contents of one_double_t: 675.093750 Contents of two_floats_t: 45.234001 43.599998 Contents of two_floats_t: 78.010002 122.099998 Contents of two_floats_t: -1232.344971 -199.210007 $9 = void PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 1 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 2 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 3 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 4 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 5 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 6 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 7 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 8 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 9 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 10 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 11 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 12 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 13 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 14 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 15 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 16 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 17 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 18 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 19 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 20 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 21 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 22 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 23 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 24 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 25 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 26 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 27 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 28 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 29 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 30 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 31 PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 32 (gdb) PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list, pattern 33 + sentinel tbreak 1300 Breakpoint 11: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c, line 1300. (gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint line 1300 continue Continuing. double : 22.250000 double : 33.375000 int : 0 int : -25 int : 100 int : 2345 alpha gamma epsilon alpha gamma epsilon ch1: y ch2: n Contents of three_char_t: a b c Contents of five_char_t: l m n o p Contents of int_char_combo_t: 123 z Sum of the 4 struct values and seed : 52 Contents of struct1: 6 0 Contents of struct2: 10 0 Contents of struct3: 12 0 Contents of one_double_t: 10.500000 Contents of one_double_t: -3.375000 Contents of one_double_t: 675.093750 Contents of two_floats_t: 45.234001 43.599998 Contents of two_floats_t: 78.010002 122.099998 Contents of two_floats_t: -1232.344971 -199.210007 main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c:1300 1300 init_bit_flags_combo(flags_combo, (unsigned)1, (unsigned)0, 'y', (gdb) PASS: gdb.base/call-ar-st.exp: continue to 1300 step init_bit_flags_combo (bit_flags_combo=, a=1, b=0, ch1=121 'y', g=1, d=0, ch2=110 'n', e=1, o=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c:416 416 bit_flags_combo->alpha = a; (gdb) PASS: gdb.base/call-ar-st.exp: step into init_bit_flags_combo print print_bit_flags_combo(*bit_flags_combo) alpha gamma epsilon ch1: y ch2: n $10 = void (gdb) PASS: gdb.base/call-ar-st.exp: print print_bit_flags_combo from init_bit_flags_combo tbreak 1305 Breakpoint 12: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c, line 1305. (gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint line 1305 continue Continuing. main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c:1305 1305 init_int_char_combo(int_char_combo, 13, '!'); (gdb) PASS: gdb.base/call-ar-st.exp: continue to 1305 print print_long_arg_list(a, b, c, d, e, f, *struct1, *struct2, *struct3, *struct4, *flags, *flags_combo, *three_char, *five_ char, *int_char_combo, *d1, *d2, *d3, *f1, *f2, *f3) double : 22.250000 double : 33.375000 int : 0 int : -25 int : 100 int : 2345 alpha gamma epsilon alpha gamma epsilon ch1: y ch2: n Contents of three_char_t: x y z Contents of five_char_t: h e l l o Contents of int_char_combo_t: 123 z Sum of the 4 struct values and seed : 52 Contents of struct1: 6 0 Contents of struct2: 10 0 Contents of struct3: 12 0 Contents of one_double_t: 1.111110 Contents of one_double_t: -345.340000 Contents of one_double_t: 546464.200000 Contents of two_floats_t: 0.234000 453.100006 Contents of two_floats_t: 78.345001 23.090000 Contents of two_floats_t: -2.345000 1.000000 $11 = void PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 1 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 2 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 3 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 4 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 5 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 6 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 7 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 8 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 9 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 10 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 11 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 12 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 13 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 14 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 15 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 16 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 17 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 18 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 19 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 20 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 21 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 22 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 23 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 24 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 25 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 26 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 27 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 28 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 29 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 30 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 31 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 32 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 33 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 34 PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 35 (gdb) PASS: gdb.base/call-ar-st.exp: print print_long_arg_list, pattern 36 + sentinel tbreak 1311 Breakpoint 13: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c, line 1311. (gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint line 1311 continue Continuing. main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.c:1311 1311 compute_with_small_structs(35); (gdb) PASS: gdb.base/call-ar-st.exp: continue to 1311 print sum_struct_print(10, *struct1, *struct2, *struct3, *struct4) Sum of the 4 struct values and seed : 218 $12 = void (gdb) PASS: gdb.base/call-ar-st.exp: print sum_struct_print(10, *struct1, *struct2, *struct3, *struct4) print print_struct_rep(*struct1, *struct2, *struct3) Contents of struct1: 22 0 Contents of struct2: 42 0 Contents of struct3: 62 0 $13 = void PASS: gdb.base/call-ar-st.exp: print print_struct_rep(*struct1, *struct2, *struct3), pattern 1 PASS: gdb.base/call-ar-st.exp: print print_struct_rep(*struct1, *struct2, *struct3), pattern 2 PASS: gdb.base/call-ar-st.exp: print print_struct_rep(*struct1, *struct2, *struct3), pattern 3 PASS: gdb.base/call-ar-st.exp: print print_struct_rep(*struct1, *struct2, *struct3), pattern 4 PASS: gdb.base/call-ar-st.exp: print print_struct_rep(*struct1, *struct2, *struct3), pattern 5 (gdb) PASS: gdb.base/call-ar-st.exp: print print_struct_rep(*struct1, *struct2, *struct3), pattern 6 + sentinel print print_one_large_struct(*list1) 4 1 $14 = void (gdb) PASS: gdb.base/call-ar-st.exp: print print_one_large_struct(*list1) testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-ar-st.exp completed in 2 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-rt-st.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-rt-st.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/call-rt-st (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-rt-st.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/call-rt-st Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/call-rt-st.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/call-rt-st.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /cygnus/build/native/gdb/testsuite/gdb.base/call-rt-st Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/call-rt-st...done. (gdb) set print sevenbit-strings (gdb) set print address off (gdb) set width 0 (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-rt-st.c, line 550. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/call-rt-st Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-rt-st.c:550 550 int number = 10; (gdb) break loop_count Breakpoint 2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-rt-st.c, line 106. (gdb) PASS: gdb.base/call-rt-st.exp: breakpoint loop_count continue Continuing. 4 1 Contents of one_double_t: 1.111110 Contents of two_floats_t: -2.345000 1.000000 alpha gamma epsilon alpha gamma epsilon ch1: y ch2: n Contents of three_char_t: x y z Contents of five_char_t: h e l l o Contents of int_char_combo_t: 13 ! Contents of struct1: 22 0 Breakpoint 2, loop_count () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-rt-st.c:106 106 for (index=0; index<4; index++); (gdb) PASS: gdb.base/call-rt-st.exp: continue to loop_count finish Run till exit from #0 loop_count () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-rt-st.c:106 main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-rt-st.c:617 617 return 0; (gdb) PASS: gdb.base/call-rt-st.exp: finish out from loop_count (line 617) print print_struct_rep(*struct1) Contents of struct1: 22 0 $1 = {value = 5, head = 0} (gdb) PASS: gdb.base/call-rt-st.exp: print print_struct_rep(*struct1, *struct2, *struct3) print print_one_large_struct(*list1) 4 1 $2 = {next_index = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, values = {4, 6, 8, 10, 12, 14, 16, 18, 20, 22}, head = 0} (gdb) PASS: gdb.base/call-rt-st.exp: print print_one_large_struct(*list1) print print_one_double(*d1) Contents of one_double_t: 1.111110 $3 = {double1 = 1.11111} (gdb) PASS: gdb.base/call-rt-st.exp: print print_one_double(*d1) print print_two_floats(*f3) Contents of two_floats_t: -2.345000 1.000000 $4 = {float1 = -2.34500003, float2 = 1} (gdb) PASS: gdb.base/call-rt-st.exp: print print_two_floats(*f3) print print_bit_flags(*flags) alpha gamma epsilon $5 = {alpha = 1, beta = 0, gamma = 1, delta = 0, epsilon = 1, omega = 0} (gdb) PASS: gdb.base/call-rt-st.exp: print print_bit_flags(*flags) print print_bit_flags_combo(*flags_combo) alpha gamma epsilon ch1: y ch2: n $6 = {alpha = 1, beta = 0, ch1 = 121 'y', gamma = 1, delta = 0, ch2 = 110 'n', epsilon = 1, omega = 0} (gdb) PASS: gdb.base/call-rt-st.exp: print print_bit_flags_combo(*flags_combo) print print_three_chars(*three_char) Contents of three_char_t: x y z $7 = {ch1 = 120 'x', ch2 = 121 'y', ch3 = 122 'z'} (gdb) PASS: gdb.base/call-rt-st.exp: print print_three_chars(*three_char) print print_five_chars(*five_char) Contents of five_char_t: h e l l o $8 = {ch1 = 104 'h', ch2 = 101 'e', ch3 = 108 'l', ch4 = 108 'l', ch5 = 111 'o'} (gdb) PASS: gdb.base/call-rt-st.exp: print print_five_chars(*five_char) print print_int_char_combo(*int_char_combo) Contents of int_char_combo_t: 13 ! $9 = {int1 = 13, ch1 = 33 '!'} (gdb) PASS: gdb.base/call-rt-st.exp: print print_int_char_combo(*int_char_combo) testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-rt-st.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-strs.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-strs.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/call-strs (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-strs.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/call-strs spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /cygnus/build/native/gdb/testsuite/gdb.base/call-strs Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/call-strs...done. (gdb) set print sevenbit-strings (gdb) set print address off (gdb) set width 0 (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-strs.c, line 72. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/call-strs Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-strs.c:72 72 s = &buf[0]; (gdb) step 73 strcpy(buf, "test string"); (gdb) PASS: gdb.base/call-strs.exp: step after assignment to s next 74 str_func("abcd", "efgh", "ijkl", "mnop", "qrst", "uvwx", "yz12"); (gdb) PASS: gdb.base/call-strs.exp: next over strcpy print buf $1 = "test string", '\000' (gdb) PASS: gdb.base/call-strs.exp: print buf print s $2 = "test string" (gdb) PASS: gdb.base/call-strs.exp: print s print str_func1(s) first string arg is: test string $3 = "test string" (gdb) PASS: gdb.base/call-strs.exp: print str_func1(s) print str_func1("test string") first string arg is: test string $4 = "test string" (gdb) PASS: gdb.base/call-strs.exp: print str_func1("test string") call str_func1(s) first string arg is: test string $5 = "test string" (gdb) PASS: gdb.base/call-strs.exp: call str_func1(s) call str_func1("test string") first string arg is: test string $6 = "test string" (gdb) PASS: gdb.base/call-strs.exp: call str_func1("test string") print str_func1(buf) first string arg is: test string $7 = "test string" (gdb) PASS: gdb.base/call-strs.exp: print str_func1(buf) call str_func1(buf) first string arg is: test string $8 = "test string" (gdb) PASS: gdb.base/call-strs.exp: call str_func1(buf) print str_func("a","b","c","d","e","f","g") first string arg is: a second string arg is: b third string arg is: c fourth string arg is: d fifth string arg is: e sixth string arg is: f seventh string arg is: g $9 = "abcdefg" (gdb) PASS: gdb.base/call-strs.exp: print str_func("a","b","c","d","e","f","g") call str_func("a","b","c","d","e","f","g") first string arg is: a second string arg is: b third string arg is: c fourth string arg is: d fifth string arg is: e sixth string arg is: f seventh string arg is: g $10 = "abcdefg" (gdb) PASS: gdb.base/call-strs.exp: call str_func("a","b","c","d","e","f","g") print str_func(s,s,s,s,s,s,s) first string arg is: test string second string arg is: test string third string arg is: test string fourth string arg is: test string fifth string arg is: test string sixth string arg is: test string seventh string arg is: test string $11 = "test stringtest stringtest stringtest stringtest stringtest stringtest string" (gdb) PASS: gdb.base/call-strs.exp: print str_func(s,s,s,s,s,s,s) call str_func(s,s,s,s,s,s,s) first string arg is: test string second string arg is: test string third string arg is: test string fourth string arg is: test string fifth string arg is: test string sixth string arg is: test string seventh string arg is: test string $12 = "test stringtest stringtest stringtest stringtest stringtest stringtest string" (gdb) PASS: gdb.base/call-strs.exp: call str_func(s,s,s,s,s,s,s) testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/call-strs.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/callfuncs.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/callfuncs.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/callfuncs (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/callfuncs.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/callfuncs Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/callfuncs.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/callfuncs.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /cygnus/build/native/gdb/testsuite/gdb.base/callfuncs Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/callfuncs...done. (gdb) set print sevenbit-strings (gdb) PASS: gdb.base/callfuncs.exp: set print sevenbit-strings set print address off (gdb) PASS: gdb.base/callfuncs.exp: set print address off set width 0 (gdb) PASS: gdb.base/callfuncs.exp: set width 0 set language c (gdb) show language The current source language is "c". (gdb) PASS: gdb.base/callfuncs.exp: set language to "c" delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/callfuncs.c, line 356. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/callfuncs Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/callfuncs.c:356 356 malloc(1); (gdb) next 357 t_double_values(double_val1, double_val2); (gdb) PASS: gdb.base/callfuncs.exp: next next 358 t_structs_c(struct_val1); (gdb) PASS: gdb.base/callfuncs.exp: next info all-registers eax 0x1 1 ecx 0x40128d60 1074957664 edx 0x309 777 ebx 0x4012a1ec 1074962924 esp 0xbffff398 ebp 0xbffff3b0 esi 0x4000ae60 1073786464 edi 0xbffff3fc -1073744900 eip 0x8048a8f eflags 0x382 898 cs 0x23 35 ss 0x2b 43 ds 0x2b 43 es 0x2b 43 fs 0x0 0 gs 0x0 0 st0 0 (raw 0x00000000000000000000) st1 0 (raw 0x00000000000000000000) st2 0 (raw 0x00000000000000000000) st3 0.5 (raw 0x3ffe8000000000000000) st4 0.34999999999999997779553950749686919 (raw 0x3ffdb333333333333000) st5 0 (raw 0x00000000000000000000) st6 -0.0010000000000000000208166817117216851 (raw 0xbff583126e978d4fe000) st7 0 (raw 0x00000000000000000000) fctrl 0x37f 895 fstat 0x100 256 ftag 0xffff 65535 fiseg 0x23 35 fioff 0x80488f3 134514931 foseg 0x2b 43 fooff 0x0 0 fop 0x6d9 1753 (gdb) p t_char_values(0,0) $1 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_char_values(0,0) p t_char_values('a','b') $2 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_char_values('a','b') p t_char_values(char_val1,char_val2) $3 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_char_values(char_val1,char_val2) p t_char_values('a',char_val2) $4 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_char_values('a',char_val2) p t_char_values(char_val1,'b') $5 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_char_values(char_val1,'b') p t_short_values(0,0) $6 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_short_values(0,0) p t_short_values(10,-23) $7 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_short_values(10,-23) p t_short_values(short_val1,short_val2) $8 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_short_values(short_val1,short_val2) p t_short_values(10,short_val2) $9 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_short_values(10,short_val2) p t_short_values(short_val1,-23) $10 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_short_values(short_val1,-23) p t_int_values(0,0) $11 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_int_values(0,0) p t_int_values(87,-26) $12 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_int_values(87,-26) p t_int_values(int_val1,int_val2) $13 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_int_values(int_val1,int_val2) p t_int_values(87,int_val2) $14 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_int_values(87,int_val2) p t_int_values(int_val1,-26) $15 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_int_values(int_val1,-26) p t_long_values(0,0) $16 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_long_values(0,0) p t_long_values(789,-321) $17 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_long_values(789,-321) p t_long_values(long_val1,long_val2) $18 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_long_values(long_val1,long_val2) p t_long_values(789,long_val2) $19 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_long_values(789,long_val2) p t_long_values(long_val1,-321) $20 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_long_values(long_val1,-321) p t_float_values(0.0,0.0) $21 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_float_values(0.0,0.0) p t_float_values(3.14159,-2.3765) $22 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_float_values(3.14159,-2.3765) p t_float_values(float_val1,float_val2) $23 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_float_values(float_val1,float_val2) p t_float_values(3.14159,float_val2) $24 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_float_values(3.14159,float_val2) p t_float_values(float_val1,-2.3765) $25 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_float_values(float_val1,-2.3765) p t_float_values2(0.0,0.0) $26 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_float_values2(0.0,0.0) p t_float_values2(3.14159,float_val2) $27 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_float_values2(3.14159,float_val2) p t_small_values(1,2,3,4,5,6,7,8,9,10) $28 = 55 (gdb) PASS: gdb.base/callfuncs.exp: p t_small_values(1,2,3,4,5,6,7,8,9,10) p t_double_values(0.0,0.0) $29 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_double_values(0.0,0.0) p t_double_values(45.654,-67.66) $30 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_double_values(45.654,-67.66) p t_double_values(double_val1,double_val2) $31 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_double_values(double_val1,double_val2) p t_double_values(45.654,double_val2) $32 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_double_values(45.654,double_val2) p t_double_values(double_val1,-67.66) $33 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_double_values(double_val1,-67.66) p t_string_values(string_val2,string_val1) $34 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_string_values(string_val2,string_val1) p t_string_values(string_val1,string_val2) $35 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_string_values(string_val1,string_val2) p t_string_values("string 1","string 2") $36 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_string_values("string 1","string 2") p t_string_values("string 1",string_val2) $37 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_string_values("string 1",string_val2) p t_string_values(string_val1,"string 2") $38 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_string_values(string_val1,"string 2") p t_char_array_values(char_array_val2,char_array_val1) $39 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_char_array_values(char_array_val2,char_array_val1) p t_char_array_values(char_array_val1,char_array_val2) $40 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_char_array_values(char_array_val1,char_array_val2) p t_char_array_values("carray 1","carray 2") $41 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_char_array_values("carray 1","carray 2") p t_char_array_values("carray 1",char_array_val2) $42 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_char_array_values("carray 1",char_array_val2) p t_char_array_values(char_array_val1,"carray 2") $43 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_char_array_values(char_array_val1,"carray 2") p doubleit(4) $44 = 8 (gdb) PASS: gdb.base/callfuncs.exp: p doubleit(4) p add(4,5) $45 = 9 (gdb) PASS: gdb.base/callfuncs.exp: p add(4,5) p t_func_values(func_val2,func_val1) $46 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_func_values(func_val2,func_val1) p t_func_values(func_val1,func_val2) $47 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_func_values(func_val1,func_val2) p t_func_values(add,func_val2) $48 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_func_values(add,func_val2) p t_func_values(func_val1,doubleit) $49 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_func_values(func_val1,doubleit) p t_call_add(add,3,4) $50 = 7 (gdb) PASS: gdb.base/callfuncs.exp: p t_call_add(add,3,4) p t_call_add(func_val1,3,4) $51 = 7 (gdb) PASS: gdb.base/callfuncs.exp: p t_call_add(func_val1,3,4) p t_enum_value1(enumval1) $52 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_enum_value1(enumval1) p t_enum_value1(enum_val1) $53 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_enum_value1(enum_val1) p t_enum_value1(enum_val2) $54 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_enum_value1(enum_val2) p t_enum_value2(enumval2) $55 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_enum_value2(enumval2) p t_enum_value2(enum_val2) $56 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_enum_value2(enum_val2) p t_enum_value2(enum_val1) $57 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_enum_value2(enum_val1) p sum_args(1,{2}) $58 = 2 (gdb) PASS: gdb.base/callfuncs.exp: p sum_args(1,{2}) p sum_args(2,{2,3}) $59 = 5 (gdb) PASS: gdb.base/callfuncs.exp: p sum_args(2,{2,3}) p sum_args(3,{2,3,4}) $60 = 9 (gdb) PASS: gdb.base/callfuncs.exp: p sum_args(3,{2,3,4}) p sum_args(4,{2,3,4,5}) $61 = 14 (gdb) PASS: gdb.base/callfuncs.exp: p sum_args(4,{2,3,4,5}) p sum10 (1, 2, 3, 4, 5, 6, 7, 8, 9, 10) $62 = 55 (gdb) PASS: gdb.base/callfuncs.exp: p sum10 (1, 2, 3, 4, 5, 6, 7, 8, 9, 10) p cmp10 (0, 1, 2, 3, 4, 5, 6, 7, 8, 9) $63 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p cmp10 (0, 1, 2, 3, 4, 5, 6, 7, 8, 9) p t_structs_c(struct_val1) $64 = 120 'x' (gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns char p t_structs_s(struct_val1) $65 = 87 (gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns short p t_structs_i(struct_val1) $66 = 76 (gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns int p t_structs_l(struct_val1) $67 = 51 (gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns long p t_structs_f(struct_val1) $68 = 2.12339997 (gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns float p t_structs_d(struct_val1) $69 = 9.8759999999999994 (gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns double p t_structs_a(struct_val1) $70 = "foo" (gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns char * info all-registers eax 0x1 1 ecx 0x40128d60 1074957664 edx 0x309 777 ebx 0x4012a1ec 1074962924 esp 0xbffff398 ebp 0xbffff3b0 esi 0x4000ae60 1073786464 edi 0xbffff3fc -1073744900 eip 0x8048a8f eflags 0x382 898 cs 0x23 35 ss 0x2b 43 ds 0x2b 43 es 0x2b 43 fs 0x0 0 gs 0x0 0 st0 0 (raw 0x00000000000000000000) st1 0 (raw 0x00000000000000000000) st2 0 (raw 0x00000000000000000000) st3 0.5 (raw 0x3ffe8000000000000000) st4 0.34999999999999997779553950749686919 (raw 0x3ffdb333333333333000) st5 0 (raw 0x00000000000000000000) st6 -0.0010000000000000000208166817117216851 (raw 0xbff583126e978d4fe000) st7 0 (raw 0x00000000000000000000) fctrl 0x37f 895 fstat 0x100 256 ftag 0xffff 65535 fiseg 0x23 35 fioff 0x80488f3 134514931 foseg 0x2b 43 fooff 0x0 0 fop 0x6d9 1753 (gdb) PASS: gdb.base/callfuncs.exp: gdb function calls preserve register contents break add Breakpoint 2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/callfuncs.c, line 58. (gdb) print add(4,5) Breakpoint 2, add (a=4, b=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/callfuncs.c:58 58 return (a + b); The program being debugged stopped while in a function called from GDB. When the function (add) is done executing, GDB will silently stop (instead of continuing to evaluate the expression containing the function call). (gdb) continue Continuing. (gdb) PASS: gdb.base/callfuncs.exp: continue from call dummy breakpoint bt 2 #0 main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/callfuncs.c:358 #1 __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/callfuncs.exp: bt after continuing from call dummy breakpoint info all-registers eax 0x1 1 ecx 0x40128d60 1074957664 edx 0x309 777 ebx 0x4012a1ec 1074962924 esp 0xbffff398 ebp 0xbffff3b0 esi 0x4000ae60 1073786464 edi 0xbffff3fc -1073744900 eip 0x8048a8f eflags 0x382 898 cs 0x23 35 ss 0x2b 43 ds 0x2b 43 es 0x2b 43 fs 0x0 0 gs 0x0 0 st0 0 (raw 0x00000000000000000000) st1 0 (raw 0x00000000000000000000) st2 0 (raw 0x00000000000000000000) st3 0.5 (raw 0x3ffe8000000000000000) st4 0.34999999999999997779553950749686919 (raw 0x3ffdb333333333333000) st5 0 (raw 0x00000000000000000000) st6 -0.0010000000000000000208166817117216851 (raw 0xbff583126e978d4fe000) st7 0 (raw 0x00000000000000000000) fctrl 0x37f 895 fstat 0x100 256 ftag 0xffff 65535 fiseg 0x23 35 fioff 0x80488f3 134514931 foseg 0x2b 43 fooff 0x0 0 fop 0x6d9 1753 (gdb) PASS: gdb.base/callfuncs.exp: continue after stop in call dummy preserves register contents print add(4,5) Breakpoint 2, add (a=4, b=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/callfuncs.c:58 58 return (a + b); The program being debugged stopped while in a function called from GDB. When the function (add) is done executing, GDB will silently stop (instead of continuing to evaluate the expression containing the function call). (gdb) finish Run till exit from #0 add (a=4, b=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/callfuncs.c:58 Value returned is $71 = 9 (gdb) PASS: gdb.base/callfuncs.exp: finish from call dummy breakpoint returns correct value bt 2 #0 main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/callfuncs.c:358 #1 __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/callfuncs.exp: bt after finishing from call dummy breakpoint info all-registers eax 0x1 1 ecx 0x40128d60 1074957664 edx 0x309 777 ebx 0x4012a1ec 1074962924 esp 0xbffff398 ebp 0xbffff3b0 esi 0x4000ae60 1073786464 edi 0xbffff3fc -1073744900 eip 0x8048a8f eflags 0x382 898 cs 0x23 35 ss 0x2b 43 ds 0x2b 43 es 0x2b 43 fs 0x0 0 gs 0x0 0 st0 0 (raw 0x00000000000000000000) st1 0 (raw 0x00000000000000000000) st2 0 (raw 0x00000000000000000000) st3 0.5 (raw 0x3ffe8000000000000000) st4 0.34999999999999997779553950749686919 (raw 0x3ffdb333333333333000) st5 0 (raw 0x00000000000000000000) st6 -0.0010000000000000000208166817117216851 (raw 0xbff583126e978d4fe000) st7 0 (raw 0x00000000000000000000) fctrl 0x37f 895 fstat 0x100 256 ftag 0xffff 65535 fiseg 0x23 35 fioff 0x80488f3 134514931 foseg 0x2b 43 fooff 0x0 0 fop 0x6d9 1753 (gdb) PASS: gdb.base/callfuncs.exp: finish after stop in call dummy preserves register contents print add(4,5) Breakpoint 2, add (a=4, b=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/callfuncs.c:58 58 return (a + b); The program being debugged stopped while in a function called from GDB. When the function (add) is done executing, GDB will silently stop (instead of continuing to evaluate the expression containing the function call). (gdb) return 7 Make add return now? (y or n) y #0 main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/callfuncs.c:358 358 t_structs_c(struct_val1); (gdb) PASS: gdb.base/callfuncs.exp: back at main after return from call dummy breakpoint info all-registers eax 0x1 1 ecx 0x40128d60 1074957664 edx 0x309 777 ebx 0x4012a1ec 1074962924 esp 0xbffff398 ebp 0xbffff3b0 esi 0x4000ae60 1073786464 edi 0xbffff3fc -1073744900 eip 0x8048a8f eflags 0x382 898 cs 0x23 35 ss 0x2b 43 ds 0x2b 43 es 0x2b 43 fs 0x0 0 gs 0x0 0 st0 0 (raw 0x00000000000000000000) st1 0 (raw 0x00000000000000000000) st2 0 (raw 0x00000000000000000000) st3 0.5 (raw 0x3ffe8000000000000000) st4 0.34999999999999997779553950749686919 (raw 0x3ffdb333333333333000) st5 0 (raw 0x00000000000000000000) st6 -0.0010000000000000000208166817117216851 (raw 0xbff583126e978d4fe000) st7 0 (raw 0x00000000000000000000) fctrl 0x37f 895 fstat 0x100 256 ftag 0xffff 65535 fiseg 0x23 35 fioff 0x80488f3 134514931 foseg 0x2b 43 fooff 0x0 0 fop 0x6d9 1753 (gdb) PASS: gdb.base/callfuncs.exp: return after stop in call dummy preserves register contents testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/callfuncs.exp completed in 2 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/callfwmall.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/callfwmall.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/callfwmall (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/callfwmall.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/callfwmall Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/callfwmall.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/callfwmall.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /cygnus/build/native/gdb/testsuite/gdb.base/callfwmall Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/callfwmall...done. (gdb) set print sevenbit-strings (gdb) PASS: gdb.base/callfwmall.exp: set print sevenbit-strings set print address off (gdb) PASS: gdb.base/callfwmall.exp: set print address off set width 0 (gdb) PASS: gdb.base/callfwmall.exp: set width 0 set language c (gdb) show language The current source language is "c". (gdb) PASS: gdb.base/callfwmall.exp: set language to "c" delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/callfwmall.c, line 177. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/callfwmall Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/callfwmall.c:177 177 t_structs_c(struct_val1); (gdb) next 178 return 0; (gdb) PASS: gdb.base/callfwmall.exp: next p t_char_values(0,0) $1 = 0 (gdb) PASS: gdb.base/callfwmall.exp: p t_char_values(0,0) p t_char_values('a','b') $2 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_char_values('a','b') p t_char_values(char_val1,char_val2) $3 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_char_values(char_val1,char_val2) p t_char_values('a',char_val2) $4 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_char_values('a',char_val2) p t_char_values(char_val1,'b') $5 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_char_values(char_val1,'b') p t_short_values(0,0) $6 = 0 (gdb) PASS: gdb.base/callfwmall.exp: p t_short_values(0,0) p t_short_values(10,-23) $7 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_short_values(10,-23) p t_short_values(short_val1,short_val2) $8 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_short_values(short_val1,short_val2) p t_short_values(10,short_val2) $9 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_short_values(10,short_val2) p t_short_values(short_val1,-23) $10 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_short_values(short_val1,-23) p t_int_values(0,0) $11 = 0 (gdb) PASS: gdb.base/callfwmall.exp: p t_int_values(0,0) p t_int_values(87,-26) $12 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_int_values(87,-26) p t_int_values(int_val1,int_val2) $13 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_int_values(int_val1,int_val2) p t_int_values(87,int_val2) $14 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_int_values(87,int_val2) p t_int_values(int_val1,-26) $15 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_int_values(int_val1,-26) p t_long_values(0,0) $16 = 0 (gdb) PASS: gdb.base/callfwmall.exp: p t_long_values(0,0) p t_long_values(789,-321) $17 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_long_values(789,-321) p t_long_values(long_val1,long_val2) $18 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_long_values(long_val1,long_val2) p t_long_values(789,long_val2) $19 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_long_values(789,long_val2) p t_long_values(long_val1,-321) $20 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_long_values(long_val1,-321) p t_float_values(0.0,0.0) $21 = 0 (gdb) PASS: gdb.base/callfwmall.exp: p t_float_values(0.0,0.0) p t_float_values(3.14159,-2.3765) $22 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_float_values(3.14159,-2.3765) p t_float_values(float_val1,float_val2) $23 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_float_values(float_val1,float_val2) p t_float_values(3.14159,float_val2) $24 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_float_values(3.14159,float_val2) p t_float_values(float_val1,-2.3765) $25 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_float_values(float_val1,-2.3765) p t_float_values2(0.0,0.0) $26 = 0 (gdb) PASS: gdb.base/callfwmall.exp: p t_float_values2(0.0,0.0) p t_float_values2(3.14159,float_val2) $27 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_float_values2(3.14159,float_val2) p t_small_values(1,2,3,4,5,6,7,8,9,10) $28 = 55 (gdb) PASS: gdb.base/callfwmall.exp: p t_small_values(1,2,3,4,5,6,7,8,9,10) p t_double_values(0.0,0.0) $29 = 0 (gdb) PASS: gdb.base/callfwmall.exp: p t_double_values(0.0,0.0) p t_double_values(45.654,-67.66) $30 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_double_values(45.654,-67.66) p t_double_values(double_val1,double_val2) $31 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_double_values(double_val1,double_val2) p t_double_values(45.654,double_val2) $32 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_double_values(45.654,double_val2) p t_double_values(double_val1,-67.66) $33 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_double_values(double_val1,-67.66) p t_string_values(string_val2,string_val1) $34 = 0 (gdb) PASS: gdb.base/callfwmall.exp: p t_string_values(string_val2,string_val1) p t_string_values(string_val1,string_val2) $35 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_string_values(string_val1,string_val2) p t_string_values("string 1","string 2") $36 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_string_values("string 1","string 2") p t_string_values("string 1",string_val2) $37 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_string_values("string 1",string_val2) p t_string_values(string_val1,"string 2") $38 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_string_values(string_val1,"string 2") p t_char_array_values(char_array_val2,char_array_val1) $39 = 0 (gdb) PASS: gdb.base/callfwmall.exp: p t_char_array_values(char_array_val2,char_array_val1) p t_char_array_values(char_array_val1,char_array_val2) $40 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_char_array_values(char_array_val1,char_array_val2) p t_char_array_values("carray 1","carray 2") $41 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_char_array_values("carray 1","carray 2") p t_char_array_values("carray 1",char_array_val2) $42 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_char_array_values("carray 1",char_array_val2) p t_char_array_values(char_array_val1,"carray 2") $43 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_char_array_values(char_array_val1,"carray 2") p doubleit(4) $44 = 8 (gdb) PASS: gdb.base/callfwmall.exp: p doubleit(4) p add(4,5) $45 = 9 (gdb) PASS: gdb.base/callfwmall.exp: p add(4,5) p t_func_values(func_val2,func_val1) $46 = 0 (gdb) PASS: gdb.base/callfwmall.exp: p t_func_values(func_val2,func_val1) p t_func_values(func_val1,func_val2) $47 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_func_values(func_val1,func_val2) p t_func_values(add,func_val2) $48 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_func_values(add,func_val2) p t_func_values(func_val1,doubleit) $49 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_func_values(func_val1,doubleit) p t_call_add(func_val1,3,4) $50 = 7 (gdb) PASS: gdb.base/callfwmall.exp: p t_call_add(func_val1,3,4) p t_call_add(add,3,4) $51 = 7 (gdb) PASS: gdb.base/callfwmall.exp: p t_call_add(add,3,4) p t_enum_value1(enumval1) $52 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_enum_value1(enumval1) p t_enum_value1(enum_val1) $53 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_enum_value1(enum_val1) p t_enum_value1(enum_val2) $54 = 0 (gdb) PASS: gdb.base/callfwmall.exp: p t_enum_value1(enum_val2) p t_enum_value2(enumval2) $55 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_enum_value2(enumval2) p t_enum_value2(enum_val2) $56 = 1 (gdb) PASS: gdb.base/callfwmall.exp: p t_enum_value2(enum_val2) p t_enum_value2(enum_val1) $57 = 0 (gdb) PASS: gdb.base/callfwmall.exp: p t_enum_value2(enum_val1) p sum_args(1,{2}) $58 = 2 (gdb) PASS: gdb.base/callfwmall.exp: p sum_args(1,{2}) p sum_args(2,{2,3}) $59 = 5 (gdb) PASS: gdb.base/callfwmall.exp: p sum_args(2,{2,3}) p sum_args(3,{2,3,4}) $60 = 9 (gdb) PASS: gdb.base/callfwmall.exp: p sum_args(3,{2,3,4}) p sum_args(4,{2,3,4,5}) $61 = 14 (gdb) PASS: gdb.base/callfwmall.exp: p sum_args(4,{2,3,4,5}) p sum10 (1, 2, 3, 4, 5, 6, 7, 8, 9, 10) $62 = 55 (gdb) PASS: gdb.base/callfwmall.exp: p sum10 (1, 2, 3, 4, 5, 6, 7, 8, 9, 10) p t_structs_c(struct_val1) $63 = 120 'x' (gdb) PASS: gdb.base/callfwmall.exp: call inferior func with struct - returns char p t_structs_s(struct_val1) $64 = 87 (gdb) PASS: gdb.base/callfwmall.exp: call inferior func with struct - returns short p t_structs_i(struct_val1) $65 = 76 (gdb) PASS: gdb.base/callfwmall.exp: call inferior func with struct - returns int p t_structs_l(struct_val1) $66 = 51 (gdb) PASS: gdb.base/callfwmall.exp: call inferior func with struct - returns long p t_structs_f(struct_val1) $67 = 2.12339997 (gdb) PASS: gdb.base/callfwmall.exp: call inferior func with struct - returns float p t_structs_d(struct_val1) $68 = 9.8759999999999994 (gdb) PASS: gdb.base/callfwmall.exp: call inferior func with struct - returns double p t_structs_a(struct_val1) $69 = "foo" (gdb) PASS: gdb.base/callfwmall.exp: call inferior func with struct - returns char * testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/callfwmall.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/commands.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c -DFAKEARGV -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/commands (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c -DFAKEARGV -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/commands spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /cygnus/build/native/gdb/testsuite/gdb.base/commands Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/commands...done. (gdb) set $foo = 0 (gdb) PASS: gdb.base/commands.exp: set foo in gdbvar_simple_if_test if $foo == 1 >p/x 0xfeedface >else >p/x 0xdeadbeef >end $1 = 0xdeadbeef (gdb) PASS: gdb.base/commands.exp: gdbvar_simple_if_test #1 if $foo == 0 >p/x 0xfeedface >else >p/x 0xdeadbeef >end $2 = 0xfeedface (gdb) PASS: gdb.base/commands.exp: gdbvar_simple_if_test #2 set $foo = 5 (gdb) PASS: gdb.base/commands.exp: set foo in gdbvar_simple_while_test while $foo > 0 >p/x 0xfeedface >set $foo -= 1 >end $3 = 0xfeedface $4 = 0xfeedface $5 = 0xfeedface $6 = 0xfeedface $7 = 0xfeedface (gdb) PASS: gdb.base/commands.exp: gdbvar_simple_while_test #1 set $foo = 4 (gdb) PASS: gdb.base/commands.exp: set foo in gdbvar complex_if_while_test while $foo > 0 >set $foo -= 1 >if ($foo % 2) == 1 >p/x 0xdeadbeef >else >p/x 0xfeedface >end >end $8 = 0xdeadbeef $9 = 0xfeedface $10 = 0xdeadbeef $11 = 0xfeedface (gdb) PASS: gdb.base/commands.exp: gdbvar_complex_if_while_test #1 delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 1 at 0x804844a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c, line 77. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/commands Breakpoint 1, factorial (value=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { (gdb) p value=5 $12 = 5 (gdb) PASS: gdb.base/commands.exp: set value to 5 in progvar_simple_if_test #1 if value == 1 >p/x 0xfeedface >else >p/x 0xdeadbeef >end $13 = 0xdeadbeef (gdb) PASS: gdb.base/commands.exp: progvar_simple_if_test #1 if value == 5 >p/x 0xfeedface >else >p/x 0xdeadbeef >end $14 = 0xfeedface (gdb) PASS: gdb.base/commands.exp: progvar_simple_if_test #2 set args 5 (gdb) PASS: gdb.base/commands.exp: set args in progvar_simple_while_test delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 2 at 0x804844a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c, line 77. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/commands 5 Breakpoint 2, factorial (value=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { (gdb) p value=5 $15 = 5 (gdb) PASS: gdb.base/commands.exp: set value to 5 in progvar_simple_if_test #2 while value > 0 >p/x 0xfeedface >set value -= 1 >end $16 = 0xfeedface $17 = 0xfeedface $18 = 0xfeedface $19 = 0xfeedface $20 = 0xfeedface (gdb) PASS: gdb.base/commands.exp: progvar_simple_while_test #1 set args 4 (gdb) PASS: gdb.base/commands.exp: set args in progvar_complex_if_while_test delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 3 at 0x804844a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c, line 77. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/commands 4 Breakpoint 3, factorial (value=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { (gdb) p value=4 $21 = 4 (gdb) PASS: gdb.base/commands.exp: set value to 4 in progvar_simple_if_test while value > 0 >set value -= 1 >if (value % 2) == 1 >p/x 0xdeadbeef >else >p/x 0xfeedface >end >end $22 = 0xdeadbeef $23 = 0xfeedface $24 = 0xdeadbeef $25 = 0xfeedface (gdb) PASS: gdb.base/commands.exp: progvar_complex_if_while_test #1 set args 5 (gdb) PASS: gdb.base/commands.exp: set args in if_while_breakpoint_command_test delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 4 at 0x804844a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c, line 77. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/commands 5 Breakpoint 4, factorial (value=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { (gdb) p value=5 $26 = 5 (gdb) PASS: gdb.base/commands.exp: set value to 5 in progvar_simple_if_test delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 5 at 0x804844a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c, line 77. (gdb) PASS: gdb.base/commands.exp: break factorial #1 commands Type commands for when breakpoint 5 is hit, one per line. End with a line saying just "end". PASS: gdb.base/commands.exp: commands in if_while_breakpoint_command_test >while value > 0 >set value -= 1 >if (value % 2) == 1 >p/x 0xdeadbeef >else >p/x 0xfeedface >end >end >end (gdb) PASS: gdb.base/commands.exp: commands part 2 in if_while_breakpoint_command_test continue Continuing. Breakpoint 5, factorial (value=4) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { $27 = 0xdeadbeef $28 = 0xfeedface $29 = 0xdeadbeef $30 = 0xfeedface (gdb) PASS: gdb.base/commands.exp: if_while_breakpoint_command_test #1 info break Num Type Disp Enb Address What 5 breakpoint keep y 0x0804844a in factorial at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c:77 breakpoint already hit 1 time while value > 0 set value -= 1 if (value % 2) == 1 p/x 0xdeadbeef else p/x 0xfeedface end (gdb) PASS: gdb.base/commands.exp: info break in if_while_breakpoint_command_test set args 6 (gdb) PASS: gdb.base/commands.exp: set args in progvar_simple_while_test delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 6 at 0x804844a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c, line 77. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/commands 6 Breakpoint 6, factorial (value=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { (gdb) p value=6 $31 = 6 (gdb) PASS: gdb.base/commands.exp: set value to 6 in progvar_simple_if_test #1 delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial if value == 5 Breakpoint 7 at 0x804844a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c, line 77. (gdb) PASS: gdb.base/commands.exp: break factorial if value == 5 commands Type commands for when breakpoint 7 is hit, one per line. End with a line saying just "end". PASS: gdb.base/commands.exp: commands in infrun_breakpoint_command_test #1 >step >step >step >step >bt >end (gdb) PASS: gdb.base/commands.exp: commands in infrun_breakpoint_command_test #2 continue Continuing. Breakpoint 7, factorial (value=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { 78 value *= factorial (value - 1); (gdb) FAIL: gdb.base/commands.exp: continue in infrun_breakpoint_command_test set args 6 (gdb) PASS: gdb.base/commands.exp: set args in breakpoint_command_test delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 8 at 0x804844a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c, line 77. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/commands 6 Breakpoint 8, factorial (value=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { (gdb) p value=6 $32 = 6 (gdb) PASS: gdb.base/commands.exp: set value to 6 in progvar_simple_if_test #2 delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 9 at 0x804844a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c, line 77. (gdb) PASS: gdb.base/commands.exp: break factorial #2 commands Type commands for when breakpoint 9 is hit, one per line. End with a line saying just "end". >printf "Now the value is %d\n", value >end (gdb) PASS: gdb.base/commands.exp: commands in breakpoint_command_test continue Continuing. Breakpoint 9, factorial (value=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { Now the value is 5 (gdb) PASS: gdb.base/commands.exp: continue in breakpoint_command_test print value $33 = 5 (gdb) PASS: gdb.base/commands.exp: print value in breakpoint_command_test set $foo = 4 (gdb) PASS: gdb.base/commands.exp: set foo in user_defined_command_test define mycommand Type commands for definition of "mycommand". End with a line saying just "end". PASS: gdb.base/commands.exp: define mycommand in user_defined_command_test >while $arg0 > 0 >set $arg0 -= 1 >if ($arg0 % 2) == 1 >p/x 0xdeadbeef >else >p/x 0xfeedface >end >end >end (gdb) PASS: gdb.base/commands.exp: enter commands in user_defined_command_test mycommand $foo $34 = 0xdeadbeef $35 = 0xfeedface $36 = 0xdeadbeef $37 = 0xfeedface (gdb) PASS: gdb.base/commands.exp: execute user defined command in user_defined_command_test show user mycommand User command mycommand: while $arg0 > 0 set $arg0 -= 1 if ($arg0 % 2) == 1 p/x 0xdeadbeef else p/x 0xfeedface end (gdb) PASS: gdb.base/commands.exp: display user command in user_defined_command_test set args 6 (gdb) PASS: gdb.base/commands.exp: set args in watchpoint_command_test delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 10 at 0x804844a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c, line 77. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/commands 6 Breakpoint 10, factorial (value=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { (gdb) delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) watch local_var Hardware watchpoint 11: local_var (gdb) PASS: gdb.base/commands.exp: watch local_var commands 11 Type commands for when breakpoint 11 is hit, one per line. End with a line saying just "end". >PASS: gdb.base/commands.exp: begin commands on watch print value >PASS: gdb.base/commands.exp: add print command to watch continue >PASS: gdb.base/commands.exp: add continue command to watch end (gdb) PASS: gdb.base/commands.exp: begin commands on watch continue Continuing. Hardware watchpoint 11: local_var Old value = 134518012 New value = 1 factorial (value=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c:81 81 return (value); $38 = 1 Watchpoint 11 deleted because the program has left the block in which its expression is valid. 0x8048423 in main (argc=2, argv=0xbffff3fc, envp=0xbffff408) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c:57 57 printf ("%d\n", factorial (1)); (gdb) PASS: gdb.base/commands.exp: continue with watch delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 13 at 0x804844a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c, line 77. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/commands 6 Breakpoint 13, factorial (value=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { (gdb) delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 14 at 0x804844a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c, line 77. (gdb) PASS: gdb.base/commands.exp: break factorial #2 p value=5 $39 = 5 (gdb) PASS: gdb.base/commands.exp: set value to 5 in test_command_prompt_position if value == 1 >p/x 0xfeedface >else >p/x 0xdeadbeef >end $40 = 0xdeadbeef (gdb) PASS: gdb.base/commands.exp: if test in test_command_prompt_position commands Type commands for when breakpoint 14 is hit, one per line. End with a line saying just "end". >printf "Now the value is %d\n", value >end (gdb) PASS: gdb.base/commands.exp: > OK in test_command_prompt_position maintenance deprecate blah Can't find command 'blah' to deprecate. (gdb) PASS: gdb.base/commands.exp: tried to deprecate non-existsing command maintenance deprecate p "new_p" (gdb) PASS: gdb.base/commands.exp: maintenance deprecate p "new_p" p 5 Warning: 'p', an alias for the command 'print' is deprecated. Use 'new_p'. $41 = 5 (gdb) PASS: gdb.base/commands.exp: p deprecated warning, with replacement p 5 $42 = 5 (gdb) PASS: gdb.base/commands.exp: Deprecated warning goes away maintenance deprecate p "new_p" (gdb) PASS: gdb.base/commands.exp: maintenance deprecate p "new_p" maintenance deprecate print "new_print" (gdb) PASS: gdb.base/commands.exp: maintenance deprecate print "new_print" p 5 Warning: command 'print' (p) is deprecated. Use 'new_print'. $43 = 5 (gdb) PASS: gdb.base/commands.exp: both alias and command are deprecated p 5 $44 = 5 (gdb) PASS: gdb.base/commands.exp: Deprecated warning goes away maintenance deprecate set remote memory-read-packet-size "srm" (gdb) PASS: gdb.base/commands.exp: deprecate long comamnd set remote memory-read-packet-size Warning: command 'set remote memory-read-packet-size' is deprecated. Use 'srm'. Argument required (integer, `fixed' or `limited'). (gdb) PASS: gdb.base/commands.exp: long command deprecated maintenance deprecate set remote memory-read-packet-size (gdb) PASS: gdb.base/commands.exp: deprecate long comamnd set remote memory-read-packet-size Warning: command 'set remote memory-read-packet-size' is deprecated. No alternative known. Argument required (integer, `fixed' or `limited'). (gdb) PASS: gdb.base/commands.exp: long command deprecated with no alternative. maintenance deprecate "maintenance deprecate" takes an argument, the command you want to deprecate, and optionally the replacement command enclosed in quotes. (gdb) PASS: gdb.base/commands.exp: deprecate with no arguments testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/commands.exp completed in 128 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/completion.exp ... testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/completion.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/cond-expr.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/int-type (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/int-type spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /cygnus/build/native/gdb/testsuite/gdb.base/int-type Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/int-type...done. (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x80483e3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c, line 17. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/int-type Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c:17 17 x = 14; (gdb) print (2 ? 3 : 4) $1 = 3 (gdb) PASS: gdb.base/cond-expr.exp: print value of cond expr (const true) print (0 ? 3 : 4) $2 = 4 (gdb) PASS: gdb.base/cond-expr.exp: print value of cond expr (const false) set variable x=14 (gdb) PASS: gdb.base/cond-expr.exp: set variable x=14 set variable y=2 (gdb) PASS: gdb.base/cond-expr.exp: set variable y=2 set variable z=3 (gdb) PASS: gdb.base/cond-expr.exp: set variable z=3 print (x ? y : z) $3 = 2 (gdb) PASS: gdb.base/cond-expr.exp: print value of cond expr (var true) set variable x=0 (gdb) PASS: gdb.base/cond-expr.exp: set variable x=0 print (x ? y : z) $4 = 3 (gdb) PASS: gdb.base/cond-expr.exp: print value of cond expr (var false) whatis (0 ? 3 : 4) type = int (gdb) PASS: gdb.base/cond-expr.exp: print whatis of cond expr testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/cond-expr.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/condbreak.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/break (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/break Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/break.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/break.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /cygnus/build/native/gdb/testsuite/gdb.base/break Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/break...done. (gdb) break main Breakpoint 1 at 0x80484d2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 75. (gdb) PASS: gdb.base/condbreak.exp: breakpoint function break marker1 if 1==1 Breakpoint 2 at 0x80484a3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 48. (gdb) PASS: gdb.base/condbreak.exp: break function if condition delete 2 (gdb) PASS: gdb.base/condbreak.exp: delete break break 79 if 1==1 Breakpoint 3 at 0x8048500: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 79. (gdb) PASS: gdb.base/condbreak.exp: break line if condition delete 3 (gdb) PASS: gdb.base/condbreak.exp: delete break break marker1 if (1==1) Breakpoint 4 at 0x80484a3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 48. (gdb) PASS: gdb.base/condbreak.exp: break function if (condition) break 79 if (1==1) Breakpoint 5 at 0x8048500: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 79. (gdb) PASS: gdb.base/condbreak.exp: break line if (condition) break marker2 if (a==43) Breakpoint 6 at 0x80484af: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 49. (gdb) PASS: gdb.base/condbreak.exp: break function if (condition) info break Num Type Disp Enb Address What 1 breakpoint keep y 0x080484d2 in main at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 4 breakpoint keep y 0x080484a3 in marker1 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:48 stop only if 1 == 1 5 breakpoint keep y 0x08048500 in main at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:79 stop only if 1 == 1 6 breakpoint keep y 0x080484af in marker2 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:49 stop only if a == 43 (gdb) PASS: gdb.base/condbreak.exp: breakpoint info run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/break Breakpoint 1, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 75 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ (gdb) PASS: gdb.base/condbreak.exp: rerun to main continue Continuing. Breakpoint 5, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:79 79 printf ("%d\n", factorial (atoi ("6"))); (gdb) PASS: gdb.base/condbreak.exp: run until breakpoint set at a line number continue Continuing. 720 Breakpoint 4, marker1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:48 48 int marker1 () { return (0); } (gdb) PASS: gdb.base/condbreak.exp: run until breakpoint at marker1 continue Continuing. Breakpoint 6, marker2 (a=43) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:49 49 int marker2 (a) int a; { return (1); } PASS: gdb.base/condbreak.exp: run until breakpoint at marker2 testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/condbreak.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/constvars.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/constvars.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/constvars (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/constvars.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/constvars Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/constvars.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/constvars.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /cygnus/build/native/gdb/testsuite/gdb.base/constvars Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/constvars...done. (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x8048431: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/constvars.c, line 24. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/constvars Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/constvars.c:24 24 char lave = 'B'; (gdb) break marker1 Breakpoint 2 at 0x80483e3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/constvars.c, line 3. (gdb) cont Continuing. Breakpoint 2, marker1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/constvars.c:3 3 } (gdb) up #1 0x8048772 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/constvars.c:179 179 marker1 (); (gdb) ptype qux1 type = int (int, int, char *, char *) (gdb) XFAIL: gdb.base/constvars.exp: ptype qux1 print lave $1 = 66 'B' (gdb) PASS: gdb.base/constvars.exp: print lave ptype lave type = char (gdb) PASS: gdb.base/constvars.exp: ptype lave print lavish $2 = 10 '\n' (gdb) PASS: gdb.base/constvars.exp: print lavish ptype lavish type = unsigned char (gdb) PASS: gdb.base/constvars.exp: ptype lavish print lax $3 = 20 (gdb) PASS: gdb.base/constvars.exp: print lax ptype lax type = short int (gdb) PASS: gdb.base/constvars.exp: ptype lax print lecherous $4 = 30 (gdb) PASS: gdb.base/constvars.exp: print lecherous ptype lecherous type = short unsigned int (gdb) XFAIL: gdb.base/constvars.exp: ptype lecherous print lechery $5 = 40 (gdb) PASS: gdb.base/constvars.exp: print lechery ptype lechery type = long int (gdb) PASS: gdb.base/constvars.exp: ptype lechery print lectern $6 = 50 (gdb) PASS: gdb.base/constvars.exp: print lectern ptype lectern type = long unsigned int (gdb) XFAIL: gdb.base/constvars.exp: ptype lectern print leeway $7 = 60 (gdb) PASS: gdb.base/constvars.exp: print leeway ptype leeway type = float (gdb) PASS: gdb.base/constvars.exp: ptype leeway print legacy $8 = 70 (gdb) PASS: gdb.base/constvars.exp: print legacy ptype legacy type = double (gdb) PASS: gdb.base/constvars.exp: ptype legacy print laconic $9 = 65 'A' (gdb) PASS: gdb.base/constvars.exp: print laconic ptype laconic type = char (gdb) XFAIL: gdb.base/constvars.exp: ptype laconic print laggard $10 = 1 '\001' (gdb) PASS: gdb.base/constvars.exp: print laggard ptype laggard type = unsigned char (gdb) XFAIL: gdb.base/constvars.exp: ptype laggard print lagoon $11 = 2 (gdb) PASS: gdb.base/constvars.exp: print lagoon ptype lagoon type = short int (gdb) XFAIL: gdb.base/constvars.exp: ptype lagoon print laity $12 = 3 (gdb) PASS: gdb.base/constvars.exp: print laity ptype laity type = short unsigned int (gdb) XFAIL: gdb.base/constvars.exp: ptype laity print lambent $13 = 4 (gdb) PASS: gdb.base/constvars.exp: print lambent ptype lambent type = long int (gdb) XFAIL: gdb.base/constvars.exp: ptype lambent print laminated $14 = 5 (gdb) PASS: gdb.base/constvars.exp: print laminated ptype laminated type = long unsigned int (gdb) XFAIL: gdb.base/constvars.exp: ptype laminated print lampoon $15 = 6 (gdb) PASS: gdb.base/constvars.exp: print lampoon ptype lampoon type = float (gdb) XFAIL: gdb.base/constvars.exp: ptype lampoon print languid $16 = 7 (gdb) PASS: gdb.base/constvars.exp: print languid ptype languid type = double (gdb) XFAIL: gdb.base/constvars.exp: ptype languid print *legend $17 = 66 'B' (gdb) PASS: gdb.base/constvars.exp: print *legend ptype legend type = char * (gdb) XFAIL: gdb.base/constvars.exp: ptype legend print *legerdemain $18 = 10 '\n' (gdb) PASS: gdb.base/constvars.exp: print *legerdemain ptype legerdemain type = unsigned char * (gdb) XFAIL: gdb.base/constvars.exp: ptype legerdemain print *leniency $19 = 20 (gdb) PASS: gdb.base/constvars.exp: print *leniency ptype leniency type = short int * (gdb) XFAIL: gdb.base/constvars.exp: ptype leniency print *leonine $20 = 30 (gdb) PASS: gdb.base/constvars.exp: print *leonine ptype leonine type = short unsigned int * (gdb) XFAIL: gdb.base/constvars.exp: ptype leonine print *lesion $21 = 40 (gdb) PASS: gdb.base/constvars.exp: print *lesion ptype lesion type = long int * (gdb) XFAIL: gdb.base/constvars.exp: ptype lesion print *lethal $22 = 50 (gdb) PASS: gdb.base/constvars.exp: print *lethal ptype lethal type = long unsigned int * (gdb) XFAIL: gdb.base/constvars.exp: ptype lethal print *lethargic $23 = 60 (gdb) PASS: gdb.base/constvars.exp: print *lethargic ptype lethargic type = float * (gdb) XFAIL: gdb.base/constvars.exp: ptype lethargic print *levity $24 = 70 (gdb) PASS: gdb.base/constvars.exp: print *levity ptype levity type = double * (gdb) XFAIL: gdb.base/constvars.exp: ptype levity print *lewd $25 = 65 'A' (gdb) PASS: gdb.base/constvars.exp: print *lewd ptype lewd type = char * (gdb) XFAIL: gdb.base/constvars.exp: ptype lewd print *lexicographer $26 = 1 '\001' (gdb) PASS: gdb.base/constvars.exp: print *lexicographer ptype lexicographer type = unsigned char * (gdb) XFAIL: gdb.base/constvars.exp: ptype lexicographer print *lexicon $27 = 2 (gdb) PASS: gdb.base/constvars.exp: print *lexicon ptype lexicon type = short int * (gdb) XFAIL: gdb.base/constvars.exp: ptype lexicon print *liaison $28 = 3 (gdb) PASS: gdb.base/constvars.exp: print *liaison ptype liaison type = short unsigned int * (gdb) XFAIL: gdb.base/constvars.exp: ptype liaison print *libation $29 = 4 (gdb) PASS: gdb.base/constvars.exp: print *libation ptype libation type = long int * (gdb) XFAIL: gdb.base/constvars.exp: ptype libation print *libelous $30 = 5 (gdb) PASS: gdb.base/constvars.exp: print *libelous ptype libelous type = long unsigned int * (gdb) XFAIL: gdb.base/constvars.exp: ptype libelous print *libertine $31 = 6 (gdb) PASS: gdb.base/constvars.exp: print *libertine ptype libertine type = float * (gdb) XFAIL: gdb.base/constvars.exp: ptype libertine print *libidinous $32 = 7 (gdb) PASS: gdb.base/constvars.exp: print *libidinous ptype libidinous type = double * (gdb) XFAIL: gdb.base/constvars.exp: ptype libidinous print *languish $33 = 65 'A' (gdb) PASS: gdb.base/constvars.exp: print *languish ptype languish type = char * (gdb) XFAIL: gdb.base/constvars.exp: ptype languish print *languor $34 = 1 '\001' (gdb) PASS: gdb.base/constvars.exp: print *languor ptype languor type = unsigned char * (gdb) XFAIL: gdb.base/constvars.exp: ptype languor print *lank $35 = 2 (gdb) PASS: gdb.base/constvars.exp: print *lank ptype lank type = short int * (gdb) XFAIL: gdb.base/constvars.exp: ptype lank print *lapidary $36 = 3 (gdb) PASS: gdb.base/constvars.exp: print *lapidary ptype lapidary type = short unsigned int * (gdb) XFAIL: gdb.base/constvars.exp: ptype lapidary print *larceny $37 = 4 (gdb) PASS: gdb.base/constvars.exp: print *larceny ptype larceny type = long int * (gdb) XFAIL: gdb.base/constvars.exp: ptype larceny print *largess $38 = 5 (gdb) PASS: gdb.base/constvars.exp: print *largess ptype largess type = long unsigned int * (gdb) XFAIL: gdb.base/constvars.exp: ptype largess print *lascivious $39 = 6 (gdb) PASS: gdb.base/constvars.exp: print *lascivious ptype lascivious type = float * (gdb) XFAIL: gdb.base/constvars.exp: ptype lascivious print *lassitude $40 = 7 (gdb) PASS: gdb.base/constvars.exp: print *lassitude ptype lassitude type = double * (gdb) XFAIL: gdb.base/constvars.exp: ptype lassitude print *lamprey $41 = 66 'B' (gdb) PASS: gdb.base/constvars.exp: print *lamprey ptype lamprey type = char * (gdb) XFAIL: gdb.base/constvars.exp: ptype lamprey print *lariat $42 = 10 '\n' (gdb) PASS: gdb.base/constvars.exp: print *lariat ptype lariat type = unsigned char * (gdb) XFAIL: gdb.base/constvars.exp: ptype lariat print *laudanum $43 = 20 (gdb) PASS: gdb.base/constvars.exp: print *laudanum ptype laudanum type = short int * (gdb) XFAIL: gdb.base/constvars.exp: ptype laudanum print *lecithin $44 = 30 (gdb) PASS: gdb.base/constvars.exp: print *lecithin ptype lecithin type = short unsigned int * (gdb) XFAIL: gdb.base/constvars.exp: ptype lecithin print *leviathan $45 = 40 (gdb) PASS: gdb.base/constvars.exp: print *leviathan ptype leviathan type = long int * (gdb) XFAIL: gdb.base/constvars.exp: ptype leviathan print *libretto $46 = 50 (gdb) PASS: gdb.base/constvars.exp: print *libretto ptype libretto type = long unsigned int * (gdb) XFAIL: gdb.base/constvars.exp: ptype libretto print *lissome $47 = 60 (gdb) PASS: gdb.base/constvars.exp: print *lissome ptype lissome type = float * (gdb) XFAIL: gdb.base/constvars.exp: ptype lissome print *locust $48 = 70 (gdb) PASS: gdb.base/constvars.exp: print *locust ptype locust type = double * (gdb) XFAIL: gdb.base/constvars.exp: ptype locust testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/constvars.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/corefile.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/coremaker.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/coremaker (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/coremaker.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/coremaker Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/coremaker.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/coremaker.ci Executing on build: mv /cygnus/build/native/gdb/testsuite/gdb.base/core /cygnus/build/native/gdb/testsuite/gdb.base/corefile (timeout = 300) spawn mv /cygnus/build/native/gdb/testsuite/gdb.base/core /cygnus/build/native/gdb/testsuite/gdb.base/corefile spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx -core=/cygnus/build/native/gdb/testsuite/gdb.base/corefile GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". Core was generated by `/cygnus/build/native/gdb/testsuite/gdb.base/coremaker'. Program terminated with signal 6, Aborted. #0 0x40058d41 in ?? () (gdb) PASS: gdb.base/corefile.exp: args: -core=corefile spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx /cygnus/build/native/gdb/testsuite/gdb.base/coremaker -core=/cygnus/build/native/gdb/testsuite/gdb.base/corefile GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... Core was generated by `/cygnus/build/native/gdb/testsuite/gdb.base/coremaker'. Program terminated with signal 6, Aborted. Reading symbols from /lib/libm.so.6...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 #0 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/corefile.exp: args: execfile -core=corefile spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /cygnus/build/native/gdb/testsuite/gdb.base/coremaker Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/coremaker...done. (gdb) core-file /cygnus/build/native/gdb/testsuite/gdb.base/corefile Core was generated by `/cygnus/build/native/gdb/testsuite/gdb.base/coremaker'. Program terminated with signal 6, Aborted. Reading symbols from /lib/libm.so.6...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 #0 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/corefile.exp: core-file command print coremaker_data $1 = 202 (gdb) PASS: gdb.base/corefile.exp: print coremaker_data print coremaker_bss $2 = 10 (gdb) PASS: gdb.base/corefile.exp: print coremaker_bss print coremaker_ro $3 = 201 (gdb) PASS: gdb.base/corefile.exp: print coremaker_ro print func2::coremaker_local $4 = {0, 1, 2, 3, 4} (gdb) PASS: gdb.base/corefile.exp: print func2::coremaker_local bt #0 0x40058d41 in kill () from /lib/libc.so.6 #1 0x400589b6 in raise () from /lib/libc.so.6 #2 0x4005a0d8 in abort () from /lib/libc.so.6 #3 0x8048730 in func2 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/coremaker.c:107 #4 0x804873f in func1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/coremaker.c:113 #5 0x8048754 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/coremaker.c:119 #6 0x400529cb in __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/corefile.exp: backtrace in corefile.exp up #1 0x400589b6 in raise () from /lib/libc.so.6 (gdb) PASS: gdb.base/corefile.exp: up in corefile.exp x/8bd buf1 0x8049948: 0 1 2 3 4 5 6 7 (gdb) PASS: gdb.base/corefile.exp: accessing original mmap data in core file x/8bd buf2 0x40015000: 0 1 2 3 4 5 6 7 (gdb) PASS: gdb.base/corefile.exp: accessing mmapped data in core file file /cygnus/build/native/gdb/testsuite/gdb.base/coremaker Load new symbol table from "/cygnus/build/native/gdb/testsuite/gdb.base/coremaker"? (y or n) y Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/coremaker...done. (gdb) up #1 0x400589b6 in raise () from /lib/libc.so.6 (gdb) XFAIL: gdb.base/corefile.exp: up in corefile.exp (reinit) (PRMS CLLbs17002) core No core file now. (gdb) PASS: gdb.base/corefile.exp: core testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/corefile.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/dbx.exp ... Executing on host: gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/average.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/average.c (timeout = 300) spawn gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/average.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/average.c Executing on host: gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/sum.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sum.c (timeout = 300) spawn gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/sum.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sum.c Executing on host: gcc /cygnus/build/native/gdb/testsuite/gdb.base/average.o /cygnus/build/native/gdb/testsuite/gdb.base/sum.o -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/dbx-test (timeout = 300) spawn gcc /cygnus/build/native/gdb/testsuite/gdb.base/average.o /cygnus/build/native/gdb/testsuite/gdb.base/sum.o -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/dbx-test spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx --dbx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) use Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) use /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/dbx-test Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/dbx-test...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/dbx-test (gdb) stop in main Breakpoint 1 at 0x80484ae: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/average.c, line 38. (gdb) PASS: gdb.base/dbx.exp: stop in main status Num Type Disp Enb Address What 1 breakpoint keep y 0x080484ae in main at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/average.c:38 (gdb) PASS: gdb.base/dbx.exp: status stop at 43 Breakpoint 2 at 0x80484db: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/average.c, line 43. (gdb) PASS: gdb.base/dbx.exp: stop at 43 stop in 43 Usage: stop in (gdb) PASS: gdb.base/dbx.exp: stop in 43 stop at main Usage: stop at (gdb) PASS: gdb.base/dbx.exp: stop at main run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/dbx-test Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/average.c:38 38 int first = 0, last = 0; (gdb) PASS: gdb.base/dbx.exp: running to main assign first=1 (gdb) PASS: gdb.base/dbx.exp: assign first print first $1 = 1 (gdb) PASS: gdb.base/dbx.exp: print first whereis my_list All variables matching regular expression "my_list": File /cygnus/src/uberbaum/gdb/testsuite/gdb.base/average.c: static int my_list[10]; (gdb) PASS: gdb.base/dbx.exp: whereis my_list file average.c:1 1 /* This is a sample program for the HP WDB debugger. */ 2 3 #include 4 #include 5 6 #ifdef PROTOTYPES 7 extern int sum(int *, int, int); 8 #else 9 extern int sum(); 10 #endif (gdb) PASS: gdb.base/dbx.exp: file average.c:1 cont Continuing. 4 Breakpoint 2, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/average.c:43 43 print_average (my_list, first, last - 3); (gdb) PASS: gdb.base/dbx.exp: cont step print_average (list=0x8049600, low=0, high=6) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/average.c:23 23 int total = 0, num_elements = 0, average = 0; (gdb) PASS: gdb.base/dbx.exp: step func sum (gdb) XFAIL: gdb.base/dbx.exp: func sum stop in sum Breakpoint 3 at 0x8048516: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sum.c, line 11. (gdb) PASS: gdb.base/dbx.exp: stop in sum cont Continuing. Breakpoint 3, sum (list=0x8049600, low=0, high=6) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sum.c:11 11 int i = 0, s = 0; (gdb) PASS: gdb.base/dbx.exp: cont func print_average (gdb) XFAIL: gdb.base/dbx.exp: func print_average testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/dbx.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/default.exp ... spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) add-symbol-file add-symbol-file takes a file name and an address (gdb) PASS: gdb.base/default.exp: add-symbol-file attach Argument required (process-id to attach). (gdb) PASS: gdb.base/default.exp: attach break No default breakpoint address now. (gdb) PASS: gdb.base/default.exp: break b No default breakpoint address now. (gdb) PASS: gdb.base/default.exp: break "b" abbreviation br No default breakpoint address now. (gdb) PASS: gdb.base/default.exp: break "br" abbreviation bre No default breakpoint address now. (gdb) PASS: gdb.base/default.exp: break "bre" abbreviation brea No default breakpoint address now. (gdb) PASS: gdb.base/default.exp: break "brea" abbreviation backtrace No stack. (gdb) PASS: gdb.base/default.exp: backtrace bt No stack. (gdb) PASS: gdb.base/default.exp: backtrace "bt" abbreviation ba No stack. (gdb) PASS: gdb.base/default.exp: backtrace "ba" abbreviation bac No stack. (gdb) PASS: gdb.base/default.exp: backtrace "bac" abbreviation continue The program is not being run. (gdb) PASS: gdb.base/default.exp: continue c The program is not being run. (gdb) PASS: gdb.base/default.exp: continue "c" abbreviation call The history is empty. (gdb) PASS: gdb.base/default.exp: call catch Catch requires an event name. (gdb) PASS: gdb.base/default.exp: catch cd Argument required (new working directory). (gdb) PASS: gdb.base/default.exp: cd clear No source file specified. (gdb) PASS: gdb.base/default.exp: clear commands No breakpoint number 0. (gdb) PASS: gdb.base/default.exp: commands condition Argument required (breakpoint number). (gdb) PASS: gdb.base/default.exp: condition core-file No core file now. (gdb) PASS: gdb.base/default.exp: core-file d (gdb) PASS: gdb.base/default.exp: delete "d" abbreviation delete (gdb) PASS: gdb.base/default.exp: delete define Argument required (name of command to define). (gdb) PASS: gdb.base/default.exp: define delete breakpoints (gdb) PASS: gdb.base/default.exp: delete breakpoints delete display Delete all auto-display expressions? (y or n) y (gdb) PASS: gdb.base/default.exp: delete display prompt detach (gdb) PASS: gdb.base/default.exp: detach directory Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) PASS: gdb.base/default.exp: directory prompt dis (gdb) PASS: gdb.base/default.exp: disable "dis" abbreviation disa (gdb) PASS: gdb.base/default.exp: disable "disa" abbreviation disable (gdb) PASS: gdb.base/default.exp: disable disable breakpoints (gdb) PASS: gdb.base/default.exp: disable breakpoints disable display (gdb) PASS: gdb.base/default.exp: disable display disassemble No frame selected. (gdb) PASS: gdb.base/default.exp: disassemble display (gdb) PASS: gdb.base/default.exp: display do No stack. (gdb) PASS: gdb.base/default.exp: do document Argument required (name of command to define). (gdb) PASS: gdb.base/default.exp: document down No stack. (gdb) PASS: gdb.base/default.exp: down down-silently No stack. (gdb) PASS: gdb.base/default.exp: down-silently echo (gdb) PASS: gdb.base/default.exp: echo enable breakpoints delete Argument required (one or more breakpoint numbers). (gdb) PASS: gdb.base/default.exp: enable breakpoints delete enable breakpoints once Argument required (one or more breakpoint numbers). (gdb) PASS: gdb.base/default.exp: enable breakpoints once enable breakpoints (gdb) PASS: gdb.base/default.exp: enable breakpoints enable delete Argument required (one or more breakpoint numbers). (gdb) PASS: gdb.base/default.exp: enable delete enable display (gdb) PASS: gdb.base/default.exp: enable display enable once Argument required (one or more breakpoint numbers). (gdb) PASS: gdb.base/default.exp: enable once enable (gdb) PASS: gdb.base/default.exp: enable exec-file No executable file now. (gdb) PASS: gdb.base/default.exp: exec-file f No stack. (gdb) PASS: gdb.base/default.exp: frame "f" abbreviation frame No stack. (gdb) PASS: gdb.base/default.exp: frame fg The program is not being run. (gdb) PASS: gdb.base/default.exp: fg file No executable file now. No symbol file now. (gdb) PASS: gdb.base/default.exp: file finish The program is not running. (gdb) PASS: gdb.base/default.exp: finish forward-search No previous regular expression (gdb) PASS: gdb.base/default.exp: forward-search h List of classes of commands: aliases -- Aliases of other commands breakpoints -- Making program stop at certain points data -- Examining data files -- Specifying and examining files internals -- Maintenance commands obscure -- Obscure features running -- Running the program stack -- Examining the stack status -- Status inquiries support -- Support facilities tracepoints -- Tracing of program execution without stopping the program user-defined -- User-defined commands Type "help" followed by a class name for a list of commands in that class. Type "help" followed by command name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: help "h" abbreviation help List of classes of commands: aliases -- Aliases of other commands breakpoints -- Making program stop at certain points data -- Examining data files -- Specifying and examining files internals -- Maintenance commands obscure -- Obscure features running -- Running the program stack -- Examining the stack status -- Status inquiries support -- Support facilities tracepoints -- Tracing of program execution without stopping the program user-defined -- User-defined commands Type "help" followed by a class name for a list of commands in that class. Type "help" followed by command name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: help handle Argument required (signal to handle). (gdb) PASS: gdb.base/default.exp: handle i "info" must be followed by the name of an info command. List of info subcommands: info address -- Describe where symbol SYM is stored info all-registers -- List of all registers and their contents info architecture -- List supported target architectures info args -- Argument variables of current stack frame info breakpoints -- Status of user-settable breakpoints info catch -- Exceptions that can be caught in the current stack frame info common -- Print out the values contained in a Fortran COMMON block info copying -- Conditions for redistributing copies of GDB info dcache -- Print information on the dcache performance info display -- Expressions to display when program stops info extensions -- All filename extensions associated with a source language info files -- Names of targets and files being debugged info float -- Print the status of the floating point unit info frame -- All about selected stack frame info functions -- All function names info handle -- What debugger does when program gets various signals info line -- Core addresses of the code for a source line info locals -- Local variables of current stack frame info program -- Execution status of the program info registers -- List of integer registers and their contents info remote-process -- Query the remote system for process info info scope -- List the variables local to a scope info set -- Show all GDB settings info sharedlibrary -- Status of loaded shared object libraries info signals -- What debugger does when program gets various signals info source -- Information about the current source file info sources -- Source files in the program info stack -- Backtrace of the stack info symbol -- Describe what symbol is at location ADDR info target -- Names of targets and files being debugged info terminal -- Print inferior's saved terminal status info threads -- IDs of currently known threads info tracepoints -- Status of tracepoints info types -- All type names info udot -- Print contents of kernel ``struct user'' for current child info variables -- All global and static variable names info warranty -- Various kinds of warranty you do not have info watchpoints -- Synonym for ``info breakpoints'' Type "help info" followed by info subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: info "i" abbreviation info "info" must be followed by the name of an info command. List of info subcommands: info address -- Describe where symbol SYM is stored info all-registers -- List of all registers and their contents info architecture -- List supported target architectures info args -- Argument variables of current stack frame info breakpoints -- Status of user-settable breakpoints info catch -- Exceptions that can be caught in the current stack frame info common -- Print out the values contained in a Fortran COMMON block info copying -- Conditions for redistributing copies of GDB info dcache -- Print information on the dcache performance info display -- Expressions to display when program stops info extensions -- All filename extensions associated with a source language info files -- Names of targets and files being debugged info float -- Print the status of the floating point unit info frame -- All about selected stack frame info functions -- All function names info handle -- What debugger does when program gets various signals info line -- Core addresses of the code for a source line info locals -- Local variables of current stack frame info program -- Execution status of the program info registers -- List of integer registers and their contents info remote-process -- Query the remote system for process info info scope -- List the variables local to a scope info set -- Show all GDB settings info sharedlibrary -- Status of loaded shared object libraries info signals -- What debugger does when program gets various signals info source -- Information about the current source file info sources -- Source files in the program info stack -- Backtrace of the stack info symbol -- Describe what symbol is at location ADDR info target -- Names of targets and files being debugged info terminal -- Print inferior's saved terminal status info threads -- IDs of currently known threads info tracepoints -- Status of tracepoints info types -- All type names info udot -- Print contents of kernel ``struct user'' for current child info variables -- All global and static variable names info warranty -- Various kinds of warranty you do not have info watchpoints -- Synonym for ``info breakpoints'' Type "help info" followed by info subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: info ignore Argument required (a breakpoint number). (gdb) PASS: gdb.base/default.exp: ignore info address Argument required. (gdb) PASS: gdb.base/default.exp: info address info all-registers The program has no registers now. (gdb) PASS: gdb.base/default.exp: info all-registers info args No frame selected. (gdb) PASS: gdb.base/default.exp: info args info bogus-gdb-command Undefined info command: "bogus-gdb-command". Try "help info". (gdb) PASS: gdb.base/default.exp: info bogus-gdb-command info breakpoints No breakpoints or watchpoints. (gdb) PASS: gdb.base/default.exp: info breakpoints info catch You can't do that without a process to debug. (gdb) PASS: gdb.base/default.exp: info catch info copying GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. (gdb) PASS: gdb.base/default.exp: info copying info display There are no auto-display expressions now. (gdb) PASS: gdb.base/default.exp: info display info f No stack. (gdb) PASS: gdb.base/default.exp: info frame "f" abbreviation info frame No stack. (gdb) PASS: gdb.base/default.exp: info frame info files (gdb) PASS: gdb.base/default.exp: info files info float R7: Valid 0x00000000000000000000 +0 R6: Valid 0x00000000000000000000 +0 R5: Valid 0x00000000000000000000 +0 R4: Valid 0x00000000000000000000 +0 R3: Valid 0x00000000000000000000 +0 R2: Valid 0x00000000000000000000 +0 R1: Valid 0x00000000000000000000 +0 =>R0: Valid 0x00000000000000000000 +0 Status Word: 0x0000 TOP: 0 Control Word: 0x0000 PC: Single Precision (24-bits) RC: Round to nearest Tag Word: 0x0000 Instruction Pointer: 0x00:0x00000000 Operand Pointer: 0x00:0x00000000 Opcode: 0x0000 (gdb) PASS: gdb.base/default.exp: info float info functions All defined functions: (gdb) PASS: gdb.base/default.exp: info functions info locals No frame selected. (gdb) PASS: gdb.base/default.exp: info locals info program The program being debugged is not being run. (gdb) PASS: gdb.base/default.exp: info program info registers The program has no registers now. (gdb) PASS: gdb.base/default.exp: info registers info s No stack. (gdb) PASS: gdb.base/default.exp: info stack "s" abbreviation info stack No stack. (gdb) PASS: gdb.base/default.exp: info stack info set annotate: Annotation_level is 0. archdebug: Architecture debugging is 0. args: Argument list to give program being debugged when it is started is "". auto-solib-add: Autoloading of shared library symbols is 1. can-use-hw-watchpoints: Debugger's willingness to use watchpoint hardware is 1. case-sensitive: Case sensitivity in name search is "auto; currently on". check range: Range checking is "auto; currently off". check type: Type checking is "auto; currently off". complaints: Max number of complaints about incorrect symbols is 0. confirm: Whether to confirm potentially dangerous operations is on. debug arch: Architecture debugging is 0. debug event: Event debugging is 0. debug expression: Expression debugging is 0. debug overload: Debugging of C++ overloading is 0. debug remote: Debugging of remote protocol is 0. debug serial: Serial debugging is 0. debug target: Target debugging is 0. debugvarobj: Varobj debugging is 0. demangle-style: The current C++ demangling style is "auto". disassembly-flavor: The disassembly flavor is "att". download-write-size: The write size used when downloading a program is 512. editing: Editing of command lines as they are typed is on. eventdebug: Event debugging is 0. exec-done-display: Notification of completion for asynchronous execution commands is off. follow-fork-mode: Debugger response to a program call of fork or vfork is "parent". gnutarget: The current BFD target is "auto". height: Number of lines gdb thinks are in a page is unlimited. history expansion: History expansion on command input is off. history filename: The filename in which to record the command history is "/cygnus/build/native/gdb/testsuite/.gdb_history". history save: Saving of the history record on exit is off. history size: The size of the command history is 256. input-radix: Default input radix for entering numbers is 10. language: The current source language is "auto; currently c". listsize: Number of source lines gdb will list by default is 10. opaque-type-resolution: Resolution of opaque struct/class/union types (if set before loading symbols) is on. os: Operating system is "". output-radix: Default output radix for printing of values is 10. overload-resolution: Overload resolution in evaluating C++ functions is on. pagination: State of pagination is on. print address: Printing of addresses is on. print array: Prettyprinting of arrays is off. print asm-demangle: Demangling of C++ names in disassembly listings is off. print demangle: Demangling of encoded C++ names when displaying symbols is on. print elements: Limit on string chars or array elements to print is 200. print max-symbolic-offset: The largest offset that will be printed in form is unlimited. print null-stop: Printing of char arrays to stop at first null char is off. print object: Printing of object's derived type based on vtable info is off. print pascal_static-members: Printing of pascal static members is on. print pretty: Prettyprinting of structures is off. print repeats: Threshold for repeated print elements is 10. print sevenbit-strings: Printing of 8-bit characters in strings as \nnn is off. print static-members: Printing of C++ static members is on. print symbol-filename: Printing of source filename and line number with is off. print union: Printing of unions interior to structures is on. print vtbl: Printing of C++ virtual function tables is off. prompt: Gdb's prompt is "(gdb) ". prompt-escape-char: Escape character for formatting of gdb's prompt is 0. remoteaddresssize: The maximum size of the address (in bits) in a memory packet is 32. remotebaud: Baud rate for remote serial I/O is 4294967295. remotebreak: Whether to send break if interrupted is off. remotecache: Cache use for remote targets is off. remotedebug: Debugging of remote protocol is 0. remotedevice: Device for remote serial I/O is "". remotelogbase: Numerical base for remote session logging is "ascii". remotelogfile: Filename for remote session recording is "". remotetimeout: Timeout limit to wait for target to respond is 2. scheduler-locking: Mode for locking scheduler during execution is "off". solib-absolute-prefix: Prefix for loading absolute shared library symbol files is "". solib-search-path: The search path for loading non-absolute shared library symbol files is "". step-mode: Mode of the step operation is off. stop-on-solib-events: Stopping for shared library events is 0. symbol-reloading: Dynamic symbol table reloading multiple times in one run is off. unwindonsignal: Unwinding of stack if a signal is received while in a call dummy is off. verbose: Verbosity is off. watchdog: Watchdog timer is 0. width: Number of characters gdb thinks are in a line is unlimited. write: Writing into executable and core files is off. (gdb) PASS: gdb.base/default.exp: info set info symbol Argument required (address). (gdb) PASS: gdb.base/default.exp: info symbol info source No current source file. (gdb) PASS: gdb.base/default.exp: info source info sources No symbol table is loaded. Use the "file" command. (gdb) PASS: gdb.base/default.exp: info sources info target (gdb) PASS: gdb.base/default.exp: info target info terminal No saved terminal information. (gdb) PASS: gdb.base/default.exp: info terminal info types All defined types: (gdb) PASS: gdb.base/default.exp: info types info variables All defined variables: (gdb) PASS: gdb.base/default.exp: info variables info warranty NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. (gdb) PASS: gdb.base/default.exp: info warranty info watchpoints No breakpoints or watchpoints. (gdb) PASS: gdb.base/default.exp: info watchpoints inspect The history is empty. (gdb) PASS: gdb.base/default.exp: inspect jump The program is not being run. (gdb) PASS: gdb.base/default.exp: jump kill The program is not being run. (gdb) PASS: gdb.base/default.exp: kill l No symbol table is loaded. Use the "file" command. (gdb) PASS: gdb.base/default.exp: list "l" abbreviation list No symbol table is loaded. Use the "file" command. (gdb) PASS: gdb.base/default.exp: list load No executable file specified. Use the "file" or "exec-file" command. (gdb) PASS: gdb.base/default.exp: load n The program is not being run. (gdb) PASS: gdb.base/default.exp: next "n" abbreviation next The program is not being run. (gdb) PASS: gdb.base/default.exp: next ni The program is not being run. (gdb) PASS: gdb.base/default.exp: nexti "ni" abbreviation nexti The program is not being run. (gdb) PASS: gdb.base/default.exp: nexti output Argument required (expression to compute). (gdb) PASS: gdb.base/default.exp: output overlay "overlay" must be followed by the name of an overlay command. List of overlay subcommands: overlay auto -- Enable automatic overlay debugging overlay list-overlays -- List mappings of overlay sections overlay load-target -- Read the overlay mapping state from the target overlay manual -- Enable overlay debugging overlay map-overlay -- Assert that an overlay section is mapped overlay off -- Disable overlay debugging overlay unmap-overlay -- Assert that an overlay section is unmapped Type "help overlay" followed by overlay subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: overlay overlay on Undefined overlay command: "on". Try "help overlay". (gdb) PASS: gdb.base/default.exp: overlay on overlay manual (gdb) PASS: gdb.base/default.exp: overlay manual #1 overlay auto (gdb) PASS: gdb.base/default.exp: overlay auto overlay off (gdb) PASS: gdb.base/default.exp: overlay off overlay list No sections are mapped. (gdb) PASS: gdb.base/default.exp: overlay list overlay map Overlay debugging not enabled. Use either the 'overlay auto' or the 'overlay manual' command. (gdb) PASS: gdb.base/default.exp: overlay map #1 overlay unmap Overlay debugging not enabled. Use either the 'overlay auto' or the 'overlay manual' command. (gdb) PASS: gdb.base/default.exp: overlay unmap #2 overlay manual (gdb) PASS: gdb.base/default.exp: overlay manual #2 overlay map Argument required: name of an overlay section (gdb) PASS: gdb.base/default.exp: overlay map #2 overlay unmap Argument required: name of an overlay section (gdb) PASS: gdb.base/default.exp: overlay unmap #2 p The history is empty. (gdb) PASS: gdb.base/default.exp: print "p" abbreviation print The history is empty. (gdb) PASS: gdb.base/default.exp: print printf Argument required (format-control string and values to print). (gdb) PASS: gdb.base/default.exp: printf ptype The history is empty. (gdb) PASS: gdb.base/default.exp: ptype pwd Working directory /cygnus/build/native/gdb/testsuite. (gdb) PASS: gdb.base/default.exp: pwd r Starting program: No executable file specified. Use the "file" or "exec-file" command. (gdb) PASS: gdb.base/default.exp: run "r" abbreviation run Starting program: No executable file specified. Use the "file" or "exec-file" command. (gdb) PASS: gdb.base/default.exp: run rbreak (gdb) PASS: gdb.base/default.exp: rbreak return No selected frame. (gdb) PASS: gdb.base/default.exp: return reverse-search No previous regular expression (gdb) PASS: gdb.base/default.exp: reverse-search s The program is not being run. (gdb) PASS: gdb.base/default.exp: step "s" abbreviation #1 step The program is not being run. (gdb) PASS: gdb.base/default.exp: step #1 search No previous regular expression (gdb) PASS: gdb.base/default.exp: search section Must specify section name and its virtual address (gdb) PASS: gdb.base/default.exp: section set annotate Argument required (integer to set it to.). (gdb) PASS: gdb.base/default.exp: set annotate set args (gdb) PASS: gdb.base/default.exp: set args set c "set check" must be followed by the name of a check subcommand. List of set check subcommands: set check range -- Set range checking set check type -- Set type checking Type "help set check" followed by set check subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: set check "c" abbreviation set ch "set check" must be followed by the name of a check subcommand. List of set check subcommands: set check range -- Set range checking set check type -- Set type checking Type "help set check" followed by set check subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: set check "ch" abbreviation set check "set check" must be followed by the name of a check subcommand. List of set check subcommands: set check range -- Set range checking set check type -- Set type checking Type "help set check" followed by set check subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: set check set check range warning: Unrecognized range check setting: "" (gdb) PASS: gdb.base/default.exp: set check range set check type warning: Unrecognized type check setting: "" (gdb) PASS: gdb.base/default.exp: set check type set complaints Argument required (integer to set it to.). (gdb) PASS: gdb.base/default.exp: set complaints set confirm (gdb) PASS: gdb.base/default.exp: set confirm set environment Argument required (environment variable and value). (gdb) PASS: gdb.base/default.exp: set environment set height Argument required (integer to set it to.). (gdb) PASS: gdb.base/default.exp: set height set history expansion (gdb) PASS: gdb.base/default.exp: set history expansion set history filename Argument required (filename to set it to.). (gdb) PASS: gdb.base/default.exp: set history filename set history save (gdb) PASS: gdb.base/default.exp: set history save set history size Argument required (integer to set it to.). (gdb) PASS: gdb.base/default.exp: set history size set history "set history" must be followed by the name of a history subcommand. List of set history subcommands: set history expansion -- Set history expansion on command input set history filename -- Set the filename in which to record the command history set history save -- Set saving of the history record on exit set history size -- Set the size of the command history Type "help set history" followed by set history subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: set history set language The currently understood settings are: local or auto Automatic setting based on source file c Use the C language c++ Use the C++ language asm Use the Asm language chill Use the Chill language fortran Use the Fortran language java Use the Java language modula-2 Use the Modula-2 language pascal Use the Pascal language scheme Use the Scheme language (gdb) PASS: gdb.base/default.exp: set language set listsize Argument required (integer to set it to.). (gdb) PASS: gdb.base/default.exp: set listsize set p "set print" must be followed by the name of a print subcommand. List of set print subcommands: set print address -- Set printing of addresses set print array -- Set prettyprinting of arrays set print asm-demangle -- Set demangling of C++ names in disassembly listings set print demangle -- Set demangling of encoded C++ names when displaying symbols set print elements -- Set limit on string chars or array elements to print set print max-symbolic-offset -- Set the largest offset that will be printed in form set print null-stop -- Set printing of char arrays to stop at first null char set print object -- Set printing of object's derived type based on vtable info set print pascal_static-members -- Set printing of pascal static members set print pretty -- Set prettyprinting of structures set print repeats -- Set threshold for repeated print elements set print sevenbit-strings -- Set printing of 8-bit characters in strings as \nnn set print static-members -- Set printing of C++ static members set print symbol-filename -- Set printing of source filename and line number with set print union -- Set printing of unions interior to structures set print vtbl -- Set printing of C++ virtual function tables Type "help set print" followed by set print subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: set print "p" abbreviation set pr "set print" must be followed by the name of a print subcommand. List of set print subcommands: set print address -- Set printing of addresses set print array -- Set prettyprinting of arrays set print asm-demangle -- Set demangling of C++ names in disassembly listings set print demangle -- Set demangling of encoded C++ names when displaying symbols set print elements -- Set limit on string chars or array elements to print set print max-symbolic-offset -- Set the largest offset that will be printed in form set print null-stop -- Set printing of char arrays to stop at first null char set print object -- Set printing of object's derived type based on vtable info set print pascal_static-members -- Set printing of pascal static members set print pretty -- Set prettyprinting of structures set print repeats -- Set threshold for repeated print elements set print sevenbit-strings -- Set printing of 8-bit characters in strings as \nnn set print static-members -- Set printing of C++ static members set print symbol-filename -- Set printing of source filename and line number with set print union -- Set printing of unions interior to structures set print vtbl -- Set printing of C++ virtual function tables Type "help set print" followed by set print subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: set print "pr" abbreviation set print "set print" must be followed by the name of a print subcommand. List of set print subcommands: set print address -- Set printing of addresses set print array -- Set prettyprinting of arrays set print asm-demangle -- Set demangling of C++ names in disassembly listings set print demangle -- Set demangling of encoded C++ names when displaying symbols set print elements -- Set limit on string chars or array elements to print set print max-symbolic-offset -- Set the largest offset that will be printed in form set print null-stop -- Set printing of char arrays to stop at first null char set print object -- Set printing of object's derived type based on vtable info set print pascal_static-members -- Set printing of pascal static members set print pretty -- Set prettyprinting of structures set print repeats -- Set threshold for repeated print elements set print sevenbit-strings -- Set printing of 8-bit characters in strings as \nnn set print static-members -- Set printing of C++ static members set print symbol-filename -- Set printing of source filename and line number with set print union -- Set printing of unions interior to structures set print vtbl -- Set printing of C++ virtual function tables Type "help set print" followed by set print subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: set print set print address (gdb) PASS: gdb.base/default.exp: set print address set print array (gdb) PASS: gdb.base/default.exp: set print array set print asm-demangle (gdb) PASS: gdb.base/default.exp: set print asm-demangle set print demangle (gdb) PASS: gdb.base/default.exp: set print demangle set print elements Argument required (integer to set it to.). (gdb) PASS: gdb.base/default.exp: set print elements set print object (gdb) PASS: gdb.base/default.exp: set print object set print pretty (gdb) PASS: gdb.base/default.exp: set print pretty set print sevenbit-strings (gdb) PASS: gdb.base/default.exp: set print sevenbit-strings set print union (gdb) PASS: gdb.base/default.exp: set print union set print vtbl (gdb) PASS: gdb.base/default.exp: set print vtbl set radix Input and output radices now set to decimal 10, hex a, octal 12. (gdb) PASS: gdb.base/default.exp: set radix set symbol-reloading (gdb) PASS: gdb.base/default.exp: set symbol-reloading set variable Argument required (expression to compute). (gdb) PASS: gdb.base/default.exp: set variable set verbose (gdb) PASS: gdb.base/default.exp: set verbose set width Argument required (integer to set it to.). (gdb) PASS: gdb.base/default.exp: set width set write (gdb) PASS: gdb.base/default.exp: set write set Argument required (expression to compute). (gdb) PASS: gdb.base/default.exp: set shell echo Hi dad! Hi dad! (gdb) PASS: gdb.base/default.exp: shell echo Hi dad! show annotate Annotation_level is 0. (gdb) PASS: gdb.base/default.exp: show annotate show args Argument list to give program being debugged when it is started is "". (gdb) PASS: gdb.base/default.exp: show args show c range: Range checking is "auto; currently off". type: Type checking is "auto; currently off". (gdb) PASS: gdb.base/default.exp: show check "c" abbreviation show ch range: Range checking is "auto; currently off". type: Type checking is "auto; currently off". (gdb) PASS: gdb.base/default.exp: show check "ch" abbreviation show check range: Range checking is "auto; currently off". type: Type checking is "auto; currently off". (gdb) PASS: gdb.base/default.exp: show check show check range Range checking is "auto; currently off". (gdb) PASS: gdb.base/default.exp: show check range show check type Type checking is "auto; currently off". (gdb) PASS: gdb.base/default.exp: show check type show commands 419 set 420 shell echo Hi dad! 421 show annotate 422 show args 423 show c 424 show ch 425 show check 426 show check range 427 show check type 428 show commands (gdb) PASS: gdb.base/default.exp: show commands show complaints Max number of complaints about incorrect symbols is 0. (gdb) PASS: gdb.base/default.exp: show complaints show confirm Whether to confirm potentially dangerous operations is on. (gdb) PASS: gdb.base/default.exp: show confirm show convenience No debugger convenience variables now defined. Convenience variables have names starting with "$"; use "set" as in "set $foo = 5" to define them. (gdb) PASS: gdb.base/default.exp: show convenience show directories Source directories searched: $cdir:$cwd (gdb) PASS: gdb.base/default.exp: show directories show editing Editing of command lines as they are typed is on. (gdb) PASS: gdb.base/default.exp: show editing show height Number of lines gdb thinks are in a page is unlimited. (gdb) PASS: gdb.base/default.exp: show height show history expansion History expansion on command input is on. (gdb) PASS: gdb.base/default.exp: show history expansion show history filename The filename in which to record the command history is "/cygnus/build/native/gdb/testsuite/.gdb_history". (gdb) PASS: gdb.base/default.exp: show history filename show history save Saving of the history record on exit is on. (gdb) PASS: gdb.base/default.exp: show history save show history size The size of the command history is 256. (gdb) PASS: gdb.base/default.exp: show history size show history expansion: History expansion on command input is on. filename: The filename in which to record the command history is "/cygnus/build/native/gdb/testsuite/.gdb_history". save: Saving of the history record on exit is on. size: The size of the command history is 256. (gdb) PASS: gdb.base/default.exp: show history show language The current source language is "auto; currently c". (gdb) PASS: gdb.base/default.exp: show language show listsize Number of source lines gdb will list by default is 10. (gdb) PASS: gdb.base/default.exp: show listsize show p address: Printing of addresses is on. array: Prettyprinting of arrays is on. asm-demangle: Demangling of C++ names in disassembly listings is on. demangle: Demangling of encoded C++ names when displaying symbols is on. elements: Limit on string chars or array elements to print is 200. max-symbolic-offset: The largest offset that will be printed in form is unlimited. null-stop: Printing of char arrays to stop at first null char is off. object: Printing of object's derived type based on vtable info is on. pascal_static-members: Printing of pascal static members is on. pretty: Prettyprinting of structures is on. repeats: Threshold for repeated print elements is 10. sevenbit-strings: Printing of 8-bit characters in strings as \nnn is on. static-members: Printing of C++ static members is on. symbol-filename: Printing of source filename and line number with is off. union: Printing of unions interior to structures is on. vtbl: Printing of C++ virtual function tables is on. (gdb) PASS: gdb.base/default.exp: show p show pr address: Printing of addresses is on. array: Prettyprinting of arrays is on. asm-demangle: Demangling of C++ names in disassembly listings is on. demangle: Demangling of encoded C++ names when displaying symbols is on. elements: Limit on string chars or array elements to print is 200. max-symbolic-offset: The largest offset that will be printed in form is unlimited. null-stop: Printing of char arrays to stop at first null char is off. object: Printing of object's derived type based on vtable info is on. pascal_static-members: Printing of pascal static members is on. pretty: Prettyprinting of structures is on. repeats: Threshold for repeated print elements is 10. sevenbit-strings: Printing of 8-bit characters in strings as \nnn is on. static-members: Printing of C++ static members is on. symbol-filename: Printing of source filename and line number with is off. union: Printing of unions interior to structures is on. vtbl: Printing of C++ virtual function tables is on. (gdb) PASS: gdb.base/default.exp: show pr show print address: Printing of addresses is on. array: Prettyprinting of arrays is on. asm-demangle: Demangling of C++ names in disassembly listings is on. demangle: Demangling of encoded C++ names when displaying symbols is on. elements: Limit on string chars or array elements to print is 200. max-symbolic-offset: The largest offset that will be printed in form is unlimited. null-stop: Printing of char arrays to stop at first null char is off. object: Printing of object's derived type based on vtable info is on. pascal_static-members: Printing of pascal static members is on. pretty: Prettyprinting of structures is on. repeats: Threshold for repeated print elements is 10. sevenbit-strings: Printing of 8-bit characters in strings as \nnn is on. static-members: Printing of C++ static members is on. symbol-filename: Printing of source filename and line number with is off. union: Printing of unions interior to structures is on. vtbl: Printing of C++ virtual function tables is on. (gdb) PASS: gdb.base/default.exp: show print show paths Executable and object file path: /cygnus/bin:/home/cgf/bin/scripts:.:/u/cgf/bin:/usr/local/bin:/source/common/bin:/usr/bin:/usr/local/X11/bin:/usr/bin/X11:/bin:/usr/etc:/etc:/usr/local/sbin:/sbin:/usr/sbin:/usr/local/kernbin (gdb) PASS: gdb.base/default.exp: show paths show print address Printing of addresses is on. (gdb) PASS: gdb.base/default.exp: show print address show print array Prettyprinting of arrays is on. (gdb) PASS: gdb.base/default.exp: show print array show print asm-demangle Demangling of C++ names in disassembly listings is on. (gdb) PASS: gdb.base/default.exp: show print asm-demangle show print demangle Demangling of encoded C++ names when displaying symbols is on. (gdb) PASS: gdb.base/default.exp: show print demangle show print elements Limit on string chars or array elements to print is 200. (gdb) PASS: gdb.base/default.exp: show print elements show print object Printing of object's derived type based on vtable info is on. (gdb) PASS: gdb.base/default.exp: show print object show print pretty Prettyprinting of structures is on. (gdb) PASS: gdb.base/default.exp: show print pretty show print sevenbit-strings Printing of 8-bit characters in strings as \nnn is on. (gdb) PASS: gdb.base/default.exp: show print sevenbit-strings show print union Printing of unions interior to structures is on. (gdb) PASS: gdb.base/default.exp: show print union show print vtbl Printing of C++ virtual function tables is on. (gdb) PASS: gdb.base/default.exp: show print vtbl show prompt Gdb's prompt is "(gdb) ". (gdb) PASS: gdb.base/default.exp: show prompt show radix Input and output radices set to decimal 10, hex a, octal 12. (gdb) PASS: gdb.base/default.exp: show radix show symbol-reloading Dynamic symbol table reloading multiple times in one run is on. (gdb) PASS: gdb.base/default.exp: show symbol-reloading show user (gdb) PASS: gdb.base/default.exp: show user show values (gdb) PASS: gdb.base/default.exp: show values show verbose Verbose printing of informational messages is on. (gdb) PASS: gdb.base/default.exp: show verbose show version GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) PASS: gdb.base/default.exp: show version show width Number of characters gdb thinks are in a line is unlimited. (gdb) PASS: gdb.base/default.exp: show width show write Writing into executable and core files is on. (gdb) PASS: gdb.base/default.exp: show write show annotate: Annotation_level is 0. archdebug: Architecture debugging is 0. args: Argument list to give program being debugged when it is started is "". auto-solib-add: Autoloading of shared library symbols is 1. can-use-hw-watchpoints: Debugger's willingness to use watchpoint hardware is 1. case-sensitive: Case sensitivity in name search is "auto; currently on". check range: Range checking is "auto; currently off". check type: Type checking is "auto; currently off". complaints: Max number of complaints about incorrect symbols is 0. confirm: Whether to confirm potentially dangerous operations is on. debug arch: Architecture debugging is 0. debug event: Event debugging is 0. debug expression: Expression debugging is 0. debug overload: Debugging of C++ overloading is 0. debug remote: Debugging of remote protocol is 0. debug serial: Serial debugging is 0. debug target: Target debugging is 0. debugvarobj: Varobj debugging is 0. demangle-style: The current C++ demangling style is "auto". disassembly-flavor: The disassembly flavor is "att". download-write-size: The write size used when downloading a program is 512. editing: Editing of command lines as they are typed is on. eventdebug: Event debugging is 0. exec-done-display: Notification of completion for asynchronous execution commands is off. follow-fork-mode: Debugger response to a program call of fork or vfork is "parent". gnutarget: The current BFD target is "auto". height: Number of lines gdb thinks are in a page is unlimited. history expansion: History expansion on command input is on. history filename: The filename in which to record the command history is "/cygnus/build/native/gdb/testsuite/.gdb_history". history save: Saving of the history record on exit is on. history size: The size of the command history is 256. input-radix: Default input radix for entering numbers is 10. language: The current source language is "auto; currently c". listsize: Number of source lines gdb will list by default is 10. opaque-type-resolution: Resolution of opaque struct/class/union types (if set before loading symbols) is on. os: Operating system is "". output-radix: Default output radix for printing of values is 10. overload-resolution: Overload resolution in evaluating C++ functions is on. pagination: State of pagination is on. print address: Printing of addresses is on. print array: Prettyprinting of arrays is on. print asm-demangle: Demangling of C++ names in disassembly listings is on. print demangle: Demangling of encoded C++ names when displaying symbols is on. print elements: Limit on string chars or array elements to print is 200. print max-symbolic-offset: The largest offset that will be printed in form is unlimited. print null-stop: Printing of char arrays to stop at first null char is off. print object: Printing of object's derived type based on vtable info is on. print pascal_static-members: Printing of pascal static members is on. print pretty: Prettyprinting of structures is on. print repeats: Threshold for repeated print elements is 10. print sevenbit-strings: Printing of 8-bit characters in strings as \nnn is on. print static-members: Printing of C++ static members is on. print symbol-filename: Printing of source filename and line number with is off. print union: Printing of unions interior to structures is on. print vtbl: Printing of C++ virtual function tables is on. prompt: Gdb's prompt is "(gdb) ". prompt-escape-char: Escape character for formatting of gdb's prompt is 0. remoteaddresssize: The maximum size of the address (in bits) in a memory packet is 32. remotebaud: Baud rate for remote serial I/O is 4294967295. remotebreak: Whether to send break if interrupted is off. remotecache: Cache use for remote targets is off. remotedebug: Debugging of remote protocol is 0. remotedevice: Device for remote serial I/O is "". remotelogbase: Numerical base for remote session logging is "ascii". remotelogfile: Filename for remote session recording is "". remotetimeout: Timeout limit to wait for target to respond is 2. scheduler-locking: Mode for locking scheduler during execution is "off". solib-absolute-prefix: Prefix for loading absolute shared library symbol files is "". solib-search-path: The search path for loading non-absolute shared library symbol files is "". step-mode: Mode of the step operation is off. stop-on-solib-events: Stopping for shared library events is 0. symbol-reloading: Dynamic symbol table reloading multiple times in one run is on. unwindonsignal: Unwinding of stack if a signal is received while in a call dummy is off. verbose: Verbose printing of informational messages is on. watchdog: Watchdog timer is 0. width: Number of characters gdb thinks are in a line is unlimited. write: Writing into executable and core files is on. (gdb) PASS: gdb.base/default.exp: show si The program is not being run. (gdb) PASS: gdb.base/default.exp: stepi "si" abbreviation stepi The program is not being run. (gdb) PASS: gdb.base/default.exp: stepi signal The program is not being run. (gdb) PASS: gdb.base/default.exp: signal source source command requires pathname of file to source. (gdb) PASS: gdb.base/default.exp: source s The program is not being run. (gdb) PASS: gdb.base/default.exp: step "s" abbreviation #2 step The program is not being run. (gdb) PASS: gdb.base/default.exp: step #2 symbol-file No symbol file now. (gdb) PASS: gdb.base/default.exp: symbol-file target child Use the "run" command to start a Unix child process. (gdb) PASS: gdb.base/default.exp: target child target procfs Undefined target command: "procfs". Try "help target". (gdb) PASS: gdb.base/default.exp: target procfs target core No core file specified. (gdb) PASS: gdb.base/default.exp: target core target exec No executable file now. (gdb) PASS: gdb.base/default.exp: target exec target remote To open a remote debug connection, you need to specify what serial device is attached to the remote system (e.g. /dev/ttyS0, /dev/ttya, COM1, etc.). (gdb) PASS: gdb.base/default.exp: target remote target Argument required (target name). Try `help target' (gdb) PASS: gdb.base/default.exp: target tbreak No default breakpoint address now. (gdb) PASS: gdb.base/default.exp: tbreak tty Argument required (terminal name for running target process). (gdb) PASS: gdb.base/default.exp: tty u The program is not running. (gdb) PASS: gdb.base/default.exp: until "u" abbreviation until The program is not running. (gdb) PASS: gdb.base/default.exp: until undisplay Delete all auto-display expressions? (y or n) y (gdb) PASS: gdb.base/default.exp: undisplay prompt unset environment Delete all environment variables? (y or n) y (gdb) PASS: gdb.base/default.exp: unset environmentprompt unset "unset" must be followed by the name of an unset subcommand. List of unset subcommands: unset environment -- Cancel environment variable VAR for the program Type "help unset" followed by unset subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: unset up-silently No stack. (gdb) PASS: gdb.base/default.exp: up-silently watch Argument required (expression to compute). (gdb) PASS: gdb.base/default.exp: watch whatis The history is empty. (gdb) PASS: gdb.base/default.exp: whatis where No stack. (gdb) PASS: gdb.base/default.exp: where x 0x0: Cannot access memory at address 0x0 (gdb) PASS: gdb.base/default.exp: x testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/default.exp completed in 3 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/define.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/break (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/break spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/break Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/break...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/break (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x80484d2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 75. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/break Breakpoint 1, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 75 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ (gdb) define nextwhere Type commands for definition of "nextwhere". End with a line saying just "end". >next >bt >end (gdb) PASS: gdb.base/define.exp: define user command: nextwhere nextwhere 79 printf ("%d\n", factorial (atoi ("6"))); #0 main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:79 #1 0x400529cb in __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/define.exp: use user command: nextwhere define nextwh Type commands for definition of "nextwh". End with a line saying just "end". >next 2 >bt >end (gdb) PASS: gdb.base/define.exp: define user command: nextwh define nextwhere Redefine command "nextwhere"? (y or n) n Command "nextwhere" not redefined. (gdb) PASS: gdb.base/define.exp: redefine user command aborted: nextwhere define nextwhere Redefine command "nextwhere"? (y or n) y Type commands for definition of "nextwhere". End with a line saying just "end". >bt >next >end (gdb) PASS: gdb.base/define.exp: redefine user command: nextwhere document step Command "step" is built-in. (gdb) PASS: gdb.base/define.exp: redocumenting builtin command disallowed document nextwhere Type documentation for "nextwhere". End with a line saying just "end". >A next command that frist shows you where you're stepping from. >end (gdb) PASS: gdb.base/define.exp: document user command: nextwhere document nextwhere Type documentation for "nextwhere". End with a line saying just "end". >A next command that first shows you where you're stepping from. >end (gdb) PASS: gdb.base/define.exp: document user command: nextwhere help nextwhere A next command that first shows you where you're stepping from. (gdb) PASS: gdb.base/define.exp: help user command: nextwhere define user-bt Type commands for definition of "user-bt". End with a line saying just "end". >bt >end (gdb) PASS: gdb.base/define.exp: define user command: user-bt define hook-stop Type commands for definition of "hook-stop". End with a line saying just "end". >user-b >end (gdb) PASS: gdb.base/define.exp: define hook-stop command next 720 #0 main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:81 #1 0x400529cb in __libc_start_main () from /lib/libc.so.6 81 marker1 (); (gdb) PASS: gdb.base/define.exp: use hook-stop command define hook-bar warning: Your new `hook-bar' command does not hook any existing command. Proceed? (y or n) n Not confirmed. (gdb) PASS: gdb.base/define.exp: define hook undefined command aborted: bar define hook-bar warning: Your new `hook-bar' command does not hook any existing command. Proceed? (y or n) y Type commands for definition of "hook-bar". End with a line saying just "end". >nextwhere >end (gdb) PASS: gdb.base/define.exp: define hook undefined command: bar set prompt \(blah\) (blah) PASS: gdb.base/define.exp: set gdb_prompt set prompt \(gdb\) (gdb) PASS: gdb.base/define.exp: reset gdb_prompt testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/define.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/display.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/display.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/display (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/display.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/display spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/display Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/display...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/display (gdb) kill The program is not being run. (gdb) PASS: gdb.base/display.exp: kill detach (gdb) PASS: gdb.base/display.exp: detach run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/display Program exited with code 023. (gdb) PASS: gdb.base/display.exp: run symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/display Load new symbol table from "/cygnus/build/native/gdb/testsuite/gdb.base/display"? (y or n) y Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/display...done. (gdb) kill The program is not being run. (gdb) PASS: gdb.base/display.exp: kill detach (gdb) PASS: gdb.base/display.exp: detach spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/display Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/display...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/display (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x80484ce: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/display.c, line 50. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/display Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/display.c:50 50 do_loops(); (gdb) break 14 Breakpoint 2 at 0x80483fb: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/display.c, line 14. (gdb) PASS: gdb.base/display.exp: break do_loops cont Continuing. Breakpoint 2, do_loops () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/display.c:14 14 for( i = 0; i < LOOP; i++ ) { (gdb) PASS: gdb.base/display.exp: get to do_loops watch sum Hardware watchpoint 3: sum (gdb) PASS: gdb.base/display.exp: set watch break 19 Breakpoint 4 at 0x8048450: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/display.c, line 19. (gdb) PASS: gdb.base/display.exp: break 19 info disp There are no auto-display expressions now. (gdb) PASS: gdb.base/display.exp: inf disp disp i 1: i = 0 (gdb) PASS: gdb.base/display.exp: display i disp/x j 2: /x j = 0x0 (gdb) PASS: gdb.base/display.exp: display j disp/i &k 3: x/i &k 0xbffff398: add %al,(%eax) (gdb) PASS: gdb.base/display.exp: display &k disp/f sum 4: /f sum = 0 (gdb) PASS: gdb.base/display.exp: display/f sum disp/s &sum 5: x/s &sum 0x804955c : "" (gdb) PASS: gdb.base/display.exp: display/s &sum cont Continuing. Hardware watchpoint 3: sum Old value = 0 New value = 1 do_loops () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/display.c:16 16 for( k = 0; k < LOOP; k++ ) { 5: x/s &sum 0x804955c : "\001" 4: /f sum = 1.40129846e-45 3: x/i &k 0xbffff398: add %al,(%eax) 2: /x j = 0x0 1: i = 0 (gdb) PASS: gdb.base/display.exp: first disp cont Continuing. Hardware watchpoint 3: sum Old value = 1 New value = 2 do_loops () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/display.c:16 16 for( k = 0; k < LOOP; k++ ) { 5: x/s &sum 0x804955c : "\002" 4: /f sum = 2.80259693e-45 3: x/i &k 0xbffff398: add %eax,(%eax) 2: /x j = 0x0 1: i = 0 (gdb) PASS: gdb.base/display.exp: second disp enab disp 6 No display number 6. (gdb) PASS: gdb.base/display.exp: catch err disab disp 1 (gdb) PASS: gdb.base/display.exp: disab disp 1 disab disp 2 (gdb) PASS: gdb.base/display.exp: disab disp 2 enab disp 1 (gdb) PASS: gdb.base/display.exp: re-enab enab disp 1 (gdb) PASS: gdb.base/display.exp: re-enab of enab undisp 5 (gdb) PASS: gdb.base/display.exp: undisp info disp Auto-display expressions now in effect: Num Enb Expression 4: y /f sum 3: y /1bi &k 2: n /x j 1: y i (gdb) PASS: gdb.base/display.exp: info disp cont Continuing. Hardware watchpoint 3: sum Old value = 2 New value = 3 do_loops () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/display.c:16 16 for( k = 0; k < LOOP; k++ ) { 4: /f sum = 4.20389539e-45 3: x/i &k 0xbffff398: add (%eax),%al 1: i = 0 (gdb) PASS: gdb.base/display.exp: next hit undisp Delete all auto-display expressions? (y or n) y (gdb) PASS: gdb.base/display.exp: undisp all disab 3 (gdb) PASS: gdb.base/display.exp: disab 3 cont Continuing. Breakpoint 4, do_loops () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/display.c:21 21 return i; (gdb) PASS: gdb.base/display.exp: watch off finish Run till exit from #0 do_loops () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/display.c:21 main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/display.c:51 51 do_vars(); Value returned is $1 = 10 (gdb) PASS: gdb.base/display.exp: finish step do_vars () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/display.c:27 27 int i = 9; (gdb) PASS: gdb.base/display.exp: step tbreak 37 Breakpoint 5 at 0x8048498: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/display.c, line 37. (gdb) PASS: gdb.base/display.exp: tbreak 37 cont Continuing. do_vars () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/display.c:37 37 if( p_c[j] == c ) { (gdb) PASS: gdb.base/display.exp: cont printf Argument required (format-control string and values to print). (gdb) PASS: gdb.base/display.exp: printf printf %d Bad format string, missing '"'. (gdb) PASS: gdb.base/display.exp: printf %d printf "%d Bad format string, non-terminated '"'. (gdb) PASS: gdb.base/display.exp: printf "%d printf "%d%d",i Wrong number of arguments for specified format-string (gdb) PASS: gdb.base/display.exp: printf "%d%d",i printf "\\!\a\f\r\t\v\b\n" \!  (gdb) PASS: gdb.base/display.exp: printf "\\!\a\f\r\t\v\b\n" printf "" (gdb) PASS: gdb.base/display.exp: re-set term printf "\w" Unrecognized escape character \w in format string. (gdb) PASS: gdb.base/display.exp: printf "\w" printf "%d" j Invalid argument syntax (gdb) PASS: gdb.base/display.exp: printf "%d" j print/r j $2 = Undefined output format "r". (gdb) PASS: gdb.base/display.exp: print/r j print j $3 = 0 (gdb) PASS: gdb.base/display.exp: debug test output x/0 j (gdb) PASS: gdb.base/display.exp: x/0 j print/0 j Item count other than 1 is meaningless in "print" command. (gdb) PASS: gdb.base/display.exp: print/0 j print/s sum Format letter "s" is meaningless in "print" command. (gdb) PASS: gdb.base/display.exp: no s print/i sum Format letter "i" is meaningless in "print" command. (gdb) PASS: gdb.base/display.exp: no i print/a &sum $4 = 0x804955c (gdb) PASS: gdb.base/display.exp: print/a &sum print/a main+4 $5 = 0x80484cc (gdb) PASS: gdb.base/display.exp: print/a main+4 print/a $pc $6 = 0x8048498 (gdb) PASS: gdb.base/display.exp: print/a $pc print/a &&j A parse error in expression, near `j'. (gdb) PASS: gdb.base/display.exp: print/a &&j testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/display.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/echo.exp ... spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) echo Hello world!\n Hello world! (gdb) PASS: gdb.base/echo.exp: Echo test testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/echo.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ena-dis-br.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/break (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/break spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/break Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/break...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/break (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x80484d2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 75. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/break Breakpoint 1, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 75 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ (gdb) break marker1 Breakpoint 2 at 0x80484a3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 48. (gdb) PASS: gdb.base/ena-dis-br.exp: break marker1 enable 2 (gdb) PASS: gdb.base/ena-dis-br.exp: enable break marker1 info break 2 Num Type Disp Enb Address What 2 breakpoint keep y 0x080484a3 in marker1 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:48 (gdb) PASS: gdb.base/ena-dis-br.exp: info break marker1 continue Continuing. 720 Breakpoint 2, marker1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:48 48 int marker1 () { return (0); } (gdb) PASS: gdb.base/ena-dis-br.exp: continue to break marker1 delete 2 (gdb) PASS: gdb.base/ena-dis-br.exp: delete break marker1 break marker2 Breakpoint 3 at 0x80484af: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 49. (gdb) PASS: gdb.base/ena-dis-br.exp: break marker2 enable once 3 (gdb) PASS: gdb.base/ena-dis-br.exp: enable once break marker2 info break 3 Num Type Disp Enb Address What 3 breakpoint dis y 0x080484af in marker2 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:49 (gdb) PASS: gdb.base/ena-dis-br.exp: info auto-disabled break marker2 continue Continuing. Breakpoint 3, marker2 (a=43) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:49 49 int marker2 (a) int a; { return (1); } (gdb) PASS: gdb.base/ena-dis-br.exp: continue to auto-disabled break marker2 info break 3 Num Type Disp Enb Address What 3 breakpoint dis n 0x080484af in marker2 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:49 breakpoint already hit 1 time (gdb) PASS: gdb.base/ena-dis-br.exp: info auto-disabled break marker2 continue Continuing. Program exited normally. (gdb) PASS: gdb.base/ena-dis-br.exp: continue until exit at no stop run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/break Breakpoint 1, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 75 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ (gdb) PASS: gdb.base/ena-dis-br.exp: rerun to main continue Continuing. 720 Program exited normally. (gdb) PASS: gdb.base/ena-dis-br.exp: continue until exit at no stop at auto-disabled break marker2 delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 4 at 0x80484d2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 75. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/break Breakpoint 4, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 75 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ (gdb) break marker3 Breakpoint 5 at 0x80484bf: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 50. (gdb) PASS: gdb.base/ena-dis-br.exp: break marker3 enable del 5 (gdb) PASS: gdb.base/ena-dis-br.exp: enable del break marker3 info break 5 Num Type Disp Enb Address What 5 breakpoint del y 0x080484bf in marker3 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:50 (gdb) PASS: gdb.base/ena-dis-br.exp: info auto-deleted break marker2 continue Continuing. 720 marker3 (a=0x8048640 "stack", b=0x804863a "trace") at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:50 50 void marker3 (a, b) char *a, *b; {} (gdb) PASS: gdb.base/ena-dis-br.exp: continue to auto-deleted break marker3 info break 50 No breakpoint or watchpoint number 50. (gdb) PASS: gdb.base/ena-dis-br.exp: info auto-deleted break marker3 break marker4 Breakpoint 6 at 0x80484c7: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 51. (gdb) PASS: gdb.base/ena-dis-br.exp: break marker4 disable 6 (gdb) PASS: gdb.base/ena-dis-br.exp: disable break marker4 info break 6 Num Type Disp Enb Address What 6 breakpoint keep n 0x080484c7 in marker4 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:51 (gdb) PASS: gdb.base/ena-dis-br.exp: info break marker4 delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 7 at 0x80484d2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 75. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/break Breakpoint 7, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 75 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ (gdb) break marker1 Breakpoint 8 at 0x80484a3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 48. (gdb) PASS: gdb.base/ena-dis-br.exp: break marker1 ignore 999 2 No breakpoint number 999. (gdb) PASS: gdb.base/ena-dis-br.exp: ignore non-existent break ignore 8 Second argument (specified ignore-count) is missing. (gdb) PASS: gdb.base/ena-dis-br.exp: ignore break with missing ignore count ignore 8 -1 Will stop next time breakpoint 8 is reached. (gdb) PASS: gdb.base/ena-dis-br.exp: ignore break marker1 -1 ignore 8 0 Will stop next time breakpoint 8 is reached. (gdb) PASS: gdb.base/ena-dis-br.exp: ignore break marker1 0 ignore 8 1 Will ignore next crossing of breakpoint 8. (gdb) PASS: gdb.base/ena-dis-br.exp: ignore break marker1 info break 8 Num Type Disp Enb Address What 8 breakpoint keep y 0x080484a3 in marker1 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:48 ignore next 1 hits (gdb) PASS: gdb.base/ena-dis-br.exp: info ignored break marker1 continue Continuing. 720 Program exited normally. (gdb) PASS: gdb.base/ena-dis-br.exp: continue until exit at no stop at ignored break marker1 run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/break Breakpoint 7, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 75 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ (gdb) PASS: gdb.base/ena-dis-br.exp: rerun to main continue Continuing. 720 Breakpoint 8, marker1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:48 48 int marker1 () { return (0); } (gdb) PASS: gdb.base/ena-dis-br.exp: continue to break marker1, 2nd time delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 9 at 0x80484d2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 75. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/break Breakpoint 9, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 75 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ (gdb) break marker1 Breakpoint 10 at 0x80484a3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 48. (gdb) PASS: gdb.base/ena-dis-br.exp: break marker1 ignore 10 1 Will ignore next crossing of breakpoint 10. (gdb) PASS: gdb.base/ena-dis-br.exp: ignore break marker1 enable del 10 (gdb) PASS: gdb.base/ena-dis-br.exp: enable del break marker1 info break 10 Num Type Disp Enb Address What 10 breakpoint del y 0x080484a3 in marker1 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:48 ignore next 1 hits (gdb) PASS: gdb.base/ena-dis-br.exp: info break marker1 continue Continuing. 720 Program exited normally. (gdb) PASS: gdb.base/ena-dis-br.exp: continue until exit at no stop at ignored & auto-deleted break marker1 run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/break Breakpoint 9, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 75 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ (gdb) PASS: gdb.base/ena-dis-br.exp: rerun to main continue Continuing. 720 marker1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:48 48 int marker1 () { return (0); } (gdb) PASS: gdb.base/ena-dis-br.exp: continue to ignored & auto-deleted break marker1 delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 11 at 0x80484d2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 75. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/break Breakpoint 11, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 75 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ (gdb) break marker1 Breakpoint 12 at 0x80484a3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 48. (gdb) PASS: gdb.base/ena-dis-br.exp: break marker1 ignore 12 10 Will ignore next 10 crossings of breakpoint 12. (gdb) PASS: gdb.base/ena-dis-br.exp: ignore break marker1 disable 12 (gdb) PASS: gdb.base/ena-dis-br.exp: disable break marker1 continue Continuing. 720 Program exited normally. (gdb) PASS: gdb.base/ena-dis-br.exp: continue until exit at no stop at ignored & disabled break marker1 run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/break Breakpoint 11, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 75 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ (gdb) PASS: gdb.base/ena-dis-br.exp: rerun to main info break 12 Num Type Disp Enb Address What 12 breakpoint keep n 0x080484a3 in marker1 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:48 ignore next 10 hits (gdb) PASS: gdb.base/ena-dis-br.exp: info ignored & disabled break marker1 delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 13 at 0x80484d2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 75. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/break Breakpoint 13, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 75 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ (gdb) break 79 Breakpoint 14 at 0x8048500: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 79. (gdb) PASS: gdb.base/ena-dis-br.exp: prepare to continue with ignore count continue 2 Will ignore next crossing of breakpoint 13. Continuing. Breakpoint 14, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:79 79 printf ("%d\n", factorial (atoi ("6"))); (gdb) PASS: gdb.base/ena-dis-br.exp: continue with ignore count next 720 81 marker1 (); (gdb) PASS: gdb.base/ena-dis-br.exp: step after continue with ignore count continue 2 Not stopped at any breakpoint; argument ignored. Continuing. Program exited normally. (gdb) PASS: gdb.base/ena-dis-br.exp: continue with ignore count, not stopped at bpt testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ena-dis-br.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ending-run.exp ... Executing on build: rm -f /cygnus/build/native/gdb/testsuite/gdb.base/ending-run (timeout = 300) spawn rm -f /cygnus/build/native/gdb/testsuite/gdb.base/ending-run Executing on build: rm -f core (timeout = 300) spawn rm -f core Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ending-run.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/ending-run (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ending-run.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/ending-run spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/ending-run Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/ending-run...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/ending-run (gdb) b ending-run.c:1 Breakpoint 1 at 0x8048440: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ending-run.c, line 1. (gdb) PASS: gdb.base/ending-run.exp: bpt at line before routine b ending-run.c:13 Note: breakpoint 1 also set at pc 0x8048440. Breakpoint 2 at 0x8048440: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ending-run.c, line 13. (gdb) PASS: gdb.base/ending-run.exp: b ending-run.c:13 b ending-run.c:31 Breakpoint 3 at 0x80484b7: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ending-run.c, line 31. (gdb) PASS: gdb.base/ending-run.exp: b ending-run.c:31 r Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/ending-run Breakpoint 1, callee (x=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ending-run.c:13 13 { (gdb) PASS: gdb.base/ending-run.exp: r cle Deleted breakpoints 2 1 (gdb) PASS: gdb.base/ending-run.exp: clear worked i b Num Type Disp Enb Address What 3 breakpoint keep y 0x080484b7 in main at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ending-run.c:31 (gdb) PASS: gdb.base/ending-run.exp: cleared bp at line before routine b ending-run.c:1 Breakpoint 4 at 0x8048440: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ending-run.c, line 1. (gdb) PASS: gdb.base/ending-run.exp: b ending-run.c:1 b ending-run.c:13 Note: breakpoint 4 also set at pc 0x8048440. Breakpoint 5 at 0x8048440: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ending-run.c, line 13. (gdb) PASS: gdb.base/ending-run.exp: b ending-run.c:13 cle ending-run.c:13 Deleted breakpoint 5 (gdb) PASS: gdb.base/ending-run.exp: Only cleared 1 by line inf line ending-run.c:13 Line 13 of "/cygnus/src/uberbaum/gdb/testsuite/gdb.base/ending-run.c" starts at address 0x8048440 and ends at 0x8048446 . (gdb) b 13 Note: breakpoint 4 also set at pc 0x8048440. Breakpoint 6 at 0x8048440: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ending-run.c, line 13. (gdb) PASS: gdb.base/ending-run.exp: b 13 cle *0x8048440 Deleted breakpoints 6 4 (gdb) PASS: gdb.base/ending-run.exp: Clear 2 by address inf line ending-run.c:14 Line 14 of "/cygnus/src/uberbaum/gdb/testsuite/gdb.base/ending-run.c" starts at address 0x8048446 and ends at 0x8048450 . (gdb) b ending-run.c:14 Breakpoint 7 at 0x8048446: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ending-run.c, line 14. (gdb) PASS: gdb.base/ending-run.exp: b ending-run.c:14 b *0x8048446 Note: breakpoint 7 also set at pc 0x8048446. Breakpoint 8 at 0x8048446: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ending-run.c, line 14. (gdb) PASS: gdb.base/ending-run.exp: b *0x8048446 c Continuing. Breakpoint 7, callee (x=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ending-run.c:14 14 int y = x * x; (gdb) PASS: gdb.base/ending-run.exp: c cle Deleted breakpoints 8 7 (gdb) PASS: gdb.base/ending-run.exp: Clear 2 by default i b Num Type Disp Enb Address What 3 breakpoint keep y 0x080484b7 in main at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ending-run.c:31 (gdb) PASS: gdb.base/ending-run.exp: all set to continue cont Continuing. Breakpoint 3, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ending-run.c:31 31 printf( " Goodbye!\n" ); (gdb) PASS: gdb.base/ending-run.exp: cont next -1 2 7 14 23 34 47 62 79 Goodbye! 32 return 0; (gdb) PASS: gdb.base/ending-run.exp: Step to return next 0x80484d0 33 } (gdb) next 0x400529cb in __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/ending-run.exp: step out of main n Single stepping until exit from function __libc_start_main, which has no line number information. Program exited normally. (gdb) PASS: gdb.base/ending-run.exp: step to end of run 1 n The program is not being run. (gdb) PASS: gdb.base/ending-run.exp: don't step after run Executing on host: ls core (timeout = 300) spawn ls core ls: core: No such file or directory PASS: gdb.base/ending-run.exp: ls: core: No core dumped on quit testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ending-run.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/environ.exp ... testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/environ.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/eval-skip.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/int-type (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/int-type Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/int-type.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/int-type.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/int-type Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/int-type...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/int-type (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x80483e3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c, line 17. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/int-type Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c:17 17 x = 14; (gdb) set variable x=14 (gdb) PASS: gdb.base/eval-skip.exp: set variable x=14 set variable y=2 (gdb) PASS: gdb.base/eval-skip.exp: set variable y=2 set variable z=2 (gdb) PASS: gdb.base/eval-skip.exp: set variable z=2 set variable w=3 (gdb) PASS: gdb.base/eval-skip.exp: set variable w=3 print (0 && (x+y)) $1 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x+y)) print (0 && (x-y)) $2 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x-y)) print (0 && (x*y)) $3 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x*y)) print (0 && (x/y)) $4 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x/y)) print (0 && (x%y)) $5 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x%y)) print (0 && (x&&y)) $6 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x&&y)) print (0 && (x||y)) $7 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x||y)) print (0 && (x&y)) $8 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x&y)) print (0 && (x|y)) $9 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x|y)) print (0 && (x^y)) $10 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x^y)) print (0 && (x < y)) $11 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x < y)) print (0 && (x <= y)) $12 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x <= y)) print (0 && (x>y)) $13 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x>y)) print (0 && (x>=y)) $14 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x>=y)) print (0 && (x==y)) $15 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x==y)) print (0 && (x!=y)) $16 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x!=y)) print (0 && (x<<31)) $17 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x<<31)) print (0 && (x>>31)) $18 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x>>31)) print (0 && (!x)) $19 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (!x)) print (0 && (~x)) $20 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (~x)) print (0 && (-x)) $21 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (-x)) print (0 && (x++)) $22 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x++)) print (0 && (++x)) $23 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (++x)) print (0 && (x--)) $24 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x--)) print (0 && (--x)) $25 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (--x)) print (0 && (x+=7)) $26 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x+=7)) print (0 && (x=y)) $27 = 0 (gdb) PASS: gdb.base/eval-skip.exp: print value of (0 && (x=y)) testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/eval-skip.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/exprs.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/exprs.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/exprs (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/exprs.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/exprs Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/exprs.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/exprs.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/exprs Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/exprs...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/exprs (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x80483e6: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/exprs.c, line 15. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/exprs Breakpoint 1, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/exprs.c:15 15 dummy(); (gdb) set variable v_char=127 (gdb) PASS: gdb.base/exprs.exp: print char == (setup) print v_char == 0 $1 = 0 (gdb) PASS: gdb.base/exprs.exp: print char == (print v_char == 0) print v_char == 127 $2 = 1 (gdb) PASS: gdb.base/exprs.exp: print char == (print v_char == 127) set variable v_char=127 (gdb) PASS: gdb.base/exprs.exp: print char != (setup) print v_char != 0 $3 = 1 (gdb) PASS: gdb.base/exprs.exp: print char != (print v_char != 0) print v_char != 127 $4 = 0 (gdb) PASS: gdb.base/exprs.exp: print char != (print v_char != 127) set variable v_char=127 (gdb) PASS: gdb.base/exprs.exp: print char < (setup) print v_char < 0 $5 = 0 (gdb) PASS: gdb.base/exprs.exp: print char < (print v_char < 0) print v_char < 127 $6 = 0 (gdb) PASS: gdb.base/exprs.exp: print char < (print v_char < 127) set variable v_char=127 (gdb) PASS: gdb.base/exprs.exp: print char > (setup) print v_char > 0 $7 = 1 (gdb) PASS: gdb.base/exprs.exp: print char > (print v_char > 0) print v_char > 127 $8 = 0 (gdb) PASS: gdb.base/exprs.exp: print char > (print v_char > 127) set variable v_signed_char=127 (gdb) PASS: gdb.base/exprs.exp: print signed char == (setup) print v_signed_char == 0 $9 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed char == (print v_signed_char == 0) print v_signed_char == 127 $10 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed char == (print v_signed_char == 127) set variable v_signed_char=127 (gdb) PASS: gdb.base/exprs.exp: print signed char != (setup) print v_signed_char != 0 $11 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed char != (print v_signed_char != 0) print v_signed_char != 127 $12 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed char != (print v_signed_char != 127) set variable v_signed_char=127 (gdb) PASS: gdb.base/exprs.exp: print signed char < (setup) print v_signed_char < 0 $13 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed char < (print v_signed_char < 0) print v_signed_char < 127 $14 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed char < (print v_signed_char < 127) set variable v_signed_char=127 (gdb) PASS: gdb.base/exprs.exp: print signed char > (setup) print v_signed_char > 0 $15 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed char > (print v_signed_char > 0) print v_signed_char > 127 $16 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed char > (print v_signed_char > 127) set variable v_signed_char=-1 (gdb) PASS: gdb.base/exprs.exp: print signed char == (minus) (setup) print v_signed_char == 0 $17 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed char == (minus) (print v_signed_char == 0) print v_signed_char == -1 $18 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed char == (minus) (print v_signed_char == -1) set variable v_signed_char=-1 (gdb) PASS: gdb.base/exprs.exp: print signed char != (minus) (setup) print v_signed_char != 0 $19 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed char != (minus) (print v_signed_char != 0) print v_signed_char != -1 $20 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed char != (minus) (print v_signed_char != -1) set variable v_signed_char=-1 (gdb) PASS: gdb.base/exprs.exp: print signed char < (minus) (setup) print v_signed_char < 0 $21 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed char < (minus) (print v_signed_char < 0) print v_signed_char < 127 $22 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed char < (minus) (print v_signed_char < 127) set variable v_signed_char=-1 (gdb) PASS: gdb.base/exprs.exp: print signed char > (minus) (setup) print v_signed_char > 0 $23 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed char > (minus) (print v_signed_char > 0) print v_signed_char > 127 $24 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed char > (minus) (print v_signed_char > 127) set variable v_unsigned_char=127 (gdb) PASS: gdb.base/exprs.exp: print unsigned char == (setup) print v_unsigned_char == 0 $25 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned char == (print v_unsigned_char == 0) print v_unsigned_char == 127 $26 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned char == (print v_unsigned_char == 127) set variable v_unsigned_char=127 (gdb) PASS: gdb.base/exprs.exp: print unsigned char != (setup) print v_unsigned_char != 0 $27 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned char != (print v_unsigned_char != 0) print v_unsigned_char != 127 $28 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned char != (print v_unsigned_char != 127) set variable v_unsigned_char=127 (gdb) PASS: gdb.base/exprs.exp: print unsigned char < (setup) print v_unsigned_char < 0 $29 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned char < (print v_unsigned_char < 0) print v_unsigned_char < 127 $30 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned char < (print v_unsigned_char < 127) set variable v_unsigned_char=127 (gdb) PASS: gdb.base/exprs.exp: print unsigned char > (setup) print v_unsigned_char > 0 $31 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned char > (print v_unsigned_char > 0) print v_unsigned_char > 127 $32 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned char > (print v_unsigned_char > 127) set variable v_unsigned_char=~0 (gdb) PASS: gdb.base/exprs.exp: print unsigned char == (~0) (setup) print v_unsigned_char == 0 $33 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned char == (~0) (print v_unsigned_char == 0) print v_unsigned_char == ~0 $34 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned char == (~0) (print v_unsigned_char == ~0) print v_unsigned_char == (unsigned char)~0 $35 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned char == (~0) (print v_unsigned_char == (unsigned char)~0) set variable v_unsigned_char=~0 (gdb) PASS: gdb.base/exprs.exp: print unsigned char != (~0) (setup) print v_unsigned_char != 0 $36 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned char != (~0) (print v_unsigned_char != 0) print v_unsigned_char != (unsigned char)~0 $37 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned char != (~0) (print v_unsigned_char != (unsigned char)~0) set variable v_unsigned_char=~0 (gdb) PASS: gdb.base/exprs.exp: print unsigned char < (~0) (setup) print v_unsigned_char < 0 $38 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned char < (~0) (print v_unsigned_char < 0) print v_unsigned_char < 127 $39 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned char < (~0) (print v_unsigned_char < 127) set variable v_unsigned_char=~0 (gdb) PASS: gdb.base/exprs.exp: print unsigned char > (~0) (setup) print v_unsigned_char > 0 $40 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned char > (~0) (print v_unsigned_char > 0) print v_unsigned_char > 127 $41 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned char > (~0) (print v_unsigned_char > 127) set variable v_short=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed short == (setup) print v_short == 0 $42 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed short == (print v_short == 0) print v_short == 0x7FFF $43 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed short == (print v_short == 0x7FFF) set variable v_short=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed short != (setup) print v_short != 0 $44 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed short != (print v_short != 0) print v_short != 0x7FFF $45 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed short != (print v_short != 0x7FFF) set variable v_short=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed short < (setup) print v_short < 0 $46 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed short < (print v_short < 0) print v_short < 0x7FFF $47 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed short < (print v_short < 0x7FFF) set variable v_short=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed short > (setup) print v_short > 0 $48 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed short > (print v_short > 0) print v_short > 0x7FFF $49 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed short > (print v_short > 0x7FFF) set variable v_short=-1 (gdb) PASS: gdb.base/exprs.exp: print signed short == (minus) (setup) print v_short == 0 $50 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed short == (minus) (print v_short == 0) print v_short == -1 $51 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed short == (minus) (print v_short == -1) set variable v_short=-1 (gdb) PASS: gdb.base/exprs.exp: print signed short != (minus) (setup) print v_short != 0 $52 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed short != (minus) (print v_short != 0) print v_short != -1 $53 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed short != (minus) (print v_short != -1) set variable v_short=-1 (gdb) PASS: gdb.base/exprs.exp: print signed short < (minus) (setup) print v_short < 0 $54 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed short < (minus) (print v_short < 0) print v_short < 0x7FFF $55 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed short < (minus) (print v_short < 0x7FFF) set variable v_short=-1 (gdb) PASS: gdb.base/exprs.exp: print signed short > (minus) (setup) print v_short > 0 $56 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed short > (minus) (print v_short > 0) print v_short > 0x7FFF $57 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed short > (minus) (print v_short > 0x7FFF) set variable v_signed_short=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed signed short == (setup) print v_signed_short == 0 $58 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed short == (print v_signed_short == 0) print v_signed_short == 0x7FFF $59 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed short == (print v_signed_short == 0x7FFF) set variable v_signed_short=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed signed short != (setup) print v_signed_short != 0 $60 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed short != (print v_signed_short != 0) print v_signed_short != 0x7FFF $61 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed short != (print v_signed_short != 0x7FFF) set variable v_signed_short=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed signed short < (setup) print v_signed_short < 0 $62 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed short < (print v_signed_short < 0) print v_signed_short < 0x7FFF $63 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed short < (print v_signed_short < 0x7FFF) set variable v_signed_short=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed signed short > (setup) print v_signed_short > 0 $64 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed short > (print v_signed_short > 0) print v_signed_short > 0x7FFF $65 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed short > (print v_signed_short > 0x7FFF) set variable v_signed_short=-1 (gdb) PASS: gdb.base/exprs.exp: print signed signed short == (minus) (setup) print v_signed_short == 0 $66 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed short == (minus) (print v_signed_short == 0) print v_signed_short == -1 $67 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed short == (minus) (print v_signed_short == -1) set variable v_signed_short=-1 (gdb) PASS: gdb.base/exprs.exp: print signed signed short != (minus) (setup) print v_signed_short != 0 $68 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed short != (minus) (print v_signed_short != 0) print v_signed_short != -1 $69 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed short != (minus) (print v_signed_short != -1) set variable v_signed_short=-1 (gdb) PASS: gdb.base/exprs.exp: print signed signed short < (minus) (setup) print v_signed_short < 0 $70 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed short < (minus) (print v_signed_short < 0) print v_signed_short < 0x7FFF $71 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed short < (minus) (print v_signed_short < 0x7FFF) set variable v_signed_short=-1 (gdb) PASS: gdb.base/exprs.exp: print signed signed short > (minus) (setup) print v_signed_short > 0 $72 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed short > (minus) (print v_signed_short > 0) print v_signed_short > 0x7FFF $73 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed short > (minus) (print v_signed_short > 0x7FFF) set variable v_unsigned_short=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print unsigned short == (setup) print v_unsigned_short == 0 $74 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned short == (print v_unsigned_short == 0) print v_unsigned_short == 0x7FFF $75 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned short == (print v_unsigned_short == 0x7FFF) set variable v_unsigned_short=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print unsigned short != (setup) print v_unsigned_short != 0 $76 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned short != (print v_unsigned_short != 0) print v_unsigned_short != 0x7FFF $77 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned short != (print v_unsigned_short != 0x7FFF) set variable v_unsigned_short=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print unsigned short < (setup) print v_unsigned_short < 0 $78 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned short < (print v_unsigned_short < 0) print v_unsigned_short < 0x7FFF $79 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned short < (print v_unsigned_short < 0x7FFF) set variable v_unsigned_short=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print unsigned short > (setup) print v_unsigned_short > 0 $80 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned short > (print v_unsigned_short > 0) print v_unsigned_short > 0x7FFF $81 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned short > (print v_unsigned_short > 0x7FFF) set variable v_unsigned_short=~0 (gdb) PASS: gdb.base/exprs.exp: print unsigned short == (~0) (setup) print v_unsigned_short == 0 $82 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned short == (~0) (print v_unsigned_short == 0) print v_unsigned_short == ~0 $83 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned short == (~0) (print v_unsigned_short == ~0) print v_unsigned_short == (unsigned short)~0 $84 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned short == (~0) (print v_unsigned_short == (unsigned short)~0) set variable v_unsigned_short=~0 (gdb) PASS: gdb.base/exprs.exp: print unsigned short != (~0) (setup) print v_unsigned_short != 0 $85 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned short != (~0) (print v_unsigned_short != 0) print v_unsigned_short != (unsigned short)~0 $86 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned short != (~0) (print v_unsigned_short != (unsigned short)~0) set variable v_unsigned_short=~0 (gdb) PASS: gdb.base/exprs.exp: print unsigned short < (~0) (setup) print v_unsigned_short < 0 $87 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned short < (~0) (print v_unsigned_short < 0) print v_unsigned_short < 0x7FFF $88 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned short < (~0) (print v_unsigned_short < 0x7FFF) set variable v_unsigned_short=~0 (gdb) PASS: gdb.base/exprs.exp: print unsigned short > (~0) (setup) print v_unsigned_short > 0 $89 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned short > (~0) (print v_unsigned_short > 0) print v_unsigned_short > 0x7FFF $90 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned short > (~0) (print v_unsigned_short > 0x7FFF) set variable v_int=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed int == (setup) print v_int == 0 $91 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed int == (print v_int == 0) print v_int == 0x7FFF $92 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed int == (print v_int == 0x7FFF) set variable v_int=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed int != (setup) print v_int != 0 $93 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed int != (print v_int != 0) print v_int != 0x7FFF $94 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed int != (print v_int != 0x7FFF) set variable v_int=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed int < (setup) print v_int < 0 $95 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed int < (print v_int < 0) print v_int < 0x7FFF $96 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed int < (print v_int < 0x7FFF) set variable v_int=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed int > (setup) print v_int > 0 $97 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed int > (print v_int > 0) print v_int > 0x7FFF $98 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed int > (print v_int > 0x7FFF) set variable v_int=-1 (gdb) PASS: gdb.base/exprs.exp: print signed int == (minus) (setup) print v_int == 0 $99 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed int == (minus) (print v_int == 0) print v_int == -1 $100 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed int == (minus) (print v_int == -1) set variable v_int=-1 (gdb) PASS: gdb.base/exprs.exp: print signed int != (minus) (setup) print v_int != 0 $101 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed int != (minus) (print v_int != 0) print v_int != -1 $102 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed int != (minus) (print v_int != -1) set variable v_int=-1 (gdb) PASS: gdb.base/exprs.exp: print signed int < (minus) (setup) print v_int < 0 $103 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed int < (minus) (print v_int < 0) print v_int < 0x7FFF $104 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed int < (minus) (print v_int < 0x7FFF) set variable v_int=-1 (gdb) PASS: gdb.base/exprs.exp: print signed int > (minus) (setup) print v_int > 0 $105 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed int > (minus) (print v_int > 0) print v_int > 0x7FFF $106 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed int > (minus) (print v_int > 0x7FFF) set variable v_signed_int=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed signed int == (setup) print v_signed_int == 0 $107 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed int == (print v_signed_int == 0) print v_signed_int == 0x7FFF $108 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed int == (print v_signed_int == 0x7FFF) set variable v_signed_int=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed signed int != (setup) print v_signed_int != 0 $109 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed int != (print v_signed_int != 0) print v_signed_int != 0x7FFF $110 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed int != (print v_signed_int != 0x7FFF) set variable v_signed_int=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed signed int < (setup) print v_signed_int < 0 $111 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed int < (print v_signed_int < 0) print v_signed_int < 0x7FFF $112 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed int < (print v_signed_int < 0x7FFF) set variable v_signed_int=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed signed int > (setup) print v_signed_int > 0 $113 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed int > (print v_signed_int > 0) print v_signed_int > 0x7FFF $114 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed int > (print v_signed_int > 0x7FFF) set variable v_signed_int=-1 (gdb) PASS: gdb.base/exprs.exp: print signed signed int == (minus) (setup) print v_signed_int == 0 $115 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed int == (minus) (print v_signed_int == 0) print v_signed_int == -1 $116 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed int == (minus) (print v_signed_int == -1) set variable v_signed_int=-1 (gdb) PASS: gdb.base/exprs.exp: print signed signed int != (minus) (setup) print v_signed_int != 0 $117 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed int != (minus) (print v_signed_int != 0) print v_signed_int != -1 $118 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed int != (minus) (print v_signed_int != -1) set variable v_signed_int=-1 (gdb) PASS: gdb.base/exprs.exp: print signed signed int < (minus) (setup) print v_signed_int < 0 $119 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed int < (minus) (print v_signed_int < 0) print v_signed_int < 0x7FFF $120 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed int < (minus) (print v_signed_int < 0x7FFF) set variable v_signed_int=-1 (gdb) PASS: gdb.base/exprs.exp: print signed signed int > (minus) (setup) print v_signed_int > 0 $121 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed int > (minus) (print v_signed_int > 0) print v_signed_int > 0x7FFF $122 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed int > (minus) (print v_signed_int > 0x7FFF) set variable v_unsigned_int=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print unsigned int == (setup) print v_unsigned_int == 0 $123 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned int == (print v_unsigned_int == 0) print v_unsigned_int == 0x7FFF $124 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned int == (print v_unsigned_int == 0x7FFF) set variable v_unsigned_int=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print unsigned int != (setup) print v_unsigned_int != 0 $125 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned int != (print v_unsigned_int != 0) print v_unsigned_int != 0x7FFF $126 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned int != (print v_unsigned_int != 0x7FFF) set variable v_unsigned_int=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print unsigned int < (setup) print v_unsigned_int < 0 $127 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned int < (print v_unsigned_int < 0) print v_unsigned_int < 0x7FFF $128 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned int < (print v_unsigned_int < 0x7FFF) set variable v_unsigned_int=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print unsigned int > (setup) print v_unsigned_int > 0 $129 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned int > (print v_unsigned_int > 0) print v_unsigned_int > 0x7FFF $130 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned int > (print v_unsigned_int > 0x7FFF) set variable v_unsigned_int=~0 (gdb) PASS: gdb.base/exprs.exp: print unsigned int == (~0) (setup) print v_unsigned_int == 0 $131 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned int == (~0) (print v_unsigned_int == 0) print v_unsigned_int == ~0 $132 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned int == (~0) (print v_unsigned_int == ~0) print v_unsigned_int == (unsigned int)~0 $133 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned int == (~0) (print v_unsigned_int == (unsigned int)~0) set variable v_unsigned_int=~0 (gdb) PASS: gdb.base/exprs.exp: print unsigned int != (~0) (setup) print v_unsigned_int != 0 $134 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned int != (~0) (print v_unsigned_int != 0) print v_unsigned_int != (unsigned int)~0 $135 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned int != (~0) (print v_unsigned_int != (unsigned int)~0) set variable v_unsigned_int=~0 (gdb) PASS: gdb.base/exprs.exp: print unsigned int < (~0) (setup) print v_unsigned_int < 0 $136 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned int < (~0) (print v_unsigned_int < 0) print v_unsigned_int < 0x7FFF $137 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned int < (~0) (print v_unsigned_int < 0x7FFF) set variable v_unsigned_int=~0 (gdb) PASS: gdb.base/exprs.exp: print unsigned int > (~0) (setup) print v_unsigned_int > 0 $138 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned int > (~0) (print v_unsigned_int > 0) print v_unsigned_int > 0x7FFF $139 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned int > (~0) (print v_unsigned_int > 0x7FFF) set variable v_long=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed long == (setup) print v_long == 0 $140 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed long == (print v_long == 0) print v_long == 0x7FFF $141 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed long == (print v_long == 0x7FFF) set variable v_long=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed long != (setup) print v_long != 0 $142 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed long != (print v_long != 0) print v_long != 0x7FFF $143 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed long != (print v_long != 0x7FFF) set variable v_long=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed long < (setup) print v_long < 0 $144 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed long < (print v_long < 0) print v_long < 0x7FFF $145 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed long < (print v_long < 0x7FFF) set variable v_long=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed long > (setup) print v_long > 0 $146 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed long > (print v_long > 0) print v_long > 0x7FFF $147 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed long > (print v_long > 0x7FFF) set variable v_long=-1 (gdb) PASS: gdb.base/exprs.exp: print signed long == (minus) (setup) print v_long == 0 $148 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed long == (minus) (print v_long == 0) print v_long == -1 $149 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed long == (minus) (print v_long == -1) set variable v_long=-1 (gdb) PASS: gdb.base/exprs.exp: print signed long != (minus) (setup) print v_long != 0 $150 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed long != (minus) (print v_long != 0) print v_long != -1 $151 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed long != (minus) (print v_long != -1) set variable v_long=-1 (gdb) PASS: gdb.base/exprs.exp: print signed long < (minus) (setup) print v_long < 0 $152 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed long < (minus) (print v_long < 0) print v_long < 0x7FFF $153 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed long < (minus) (print v_long < 0x7FFF) set variable v_long=-1 (gdb) PASS: gdb.base/exprs.exp: print signed long > (minus) (setup) print v_long > 0 $154 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed long > (minus) (print v_long > 0) print v_long > 0x7FFF $155 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed long > (minus) (print v_long > 0x7FFF) set variable v_signed_long=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed signed long == (setup) print v_signed_long == 0 $156 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed long == (print v_signed_long == 0) print v_signed_long == 0x7FFF $157 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed long == (print v_signed_long == 0x7FFF) set variable v_signed_long=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed signed long != (setup) print v_signed_long != 0 $158 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed long != (print v_signed_long != 0) print v_signed_long != 0x7FFF $159 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed long != (print v_signed_long != 0x7FFF) set variable v_signed_long=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed signed long < (setup) print v_signed_long < 0 $160 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed long < (print v_signed_long < 0) print v_signed_long < 0x7FFF $161 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed long < (print v_signed_long < 0x7FFF) set variable v_signed_long=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print signed signed long > (setup) print v_signed_long > 0 $162 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed long > (print v_signed_long > 0) print v_signed_long > 0x7FFF $163 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed long > (print v_signed_long > 0x7FFF) set variable v_signed_long=-1 (gdb) PASS: gdb.base/exprs.exp: print signed signed long == (minus) (setup) print v_signed_long == 0 $164 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed long == (minus) (print v_signed_long == 0) print v_signed_long == -1 $165 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed long == (minus) (print v_signed_long == -1) set variable v_signed_long=-1 (gdb) PASS: gdb.base/exprs.exp: print signed signed long != (minus) (setup) print v_signed_long != 0 $166 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed long != (minus) (print v_signed_long != 0) print v_signed_long != -1 $167 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed long != (minus) (print v_signed_long != -1) set variable v_signed_long=-1 (gdb) PASS: gdb.base/exprs.exp: print signed signed long < (minus) (setup) print v_signed_long < 0 $168 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed long < (minus) (print v_signed_long < 0) print v_signed_long < 0x7FFF $169 = 1 (gdb) PASS: gdb.base/exprs.exp: print signed signed long < (minus) (print v_signed_long < 0x7FFF) set variable v_signed_long=-1 (gdb) PASS: gdb.base/exprs.exp: print signed signed long > (minus) (setup) print v_signed_long > 0 $170 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed long > (minus) (print v_signed_long > 0) print v_signed_long > 0x7FFF $171 = 0 (gdb) PASS: gdb.base/exprs.exp: print signed signed long > (minus) (print v_signed_long > 0x7FFF) set variable v_unsigned_long=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print unsigned long == (setup) print v_unsigned_long == 0 $172 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned long == (print v_unsigned_long == 0) print v_unsigned_long == 0x7FFF $173 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned long == (print v_unsigned_long == 0x7FFF) set variable v_unsigned_long=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print unsigned long != (setup) print v_unsigned_long != 0 $174 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned long != (print v_unsigned_long != 0) print v_unsigned_long != 0x7FFF $175 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned long != (print v_unsigned_long != 0x7FFF) set variable v_unsigned_long=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print unsigned long < (setup) print v_unsigned_long < 0 $176 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned long < (print v_unsigned_long < 0) print v_unsigned_long < 0x7FFF $177 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned long < (print v_unsigned_long < 0x7FFF) set variable v_unsigned_long=0x7FFF (gdb) PASS: gdb.base/exprs.exp: print unsigned long > (setup) print v_unsigned_long > 0 $178 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned long > (print v_unsigned_long > 0) print v_unsigned_long > 0x7FFF $179 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned long > (print v_unsigned_long > 0x7FFF) set variable v_unsigned_long=~0 (gdb) PASS: gdb.base/exprs.exp: print unsigned long == (~0) (setup) print v_unsigned_long == 0 $180 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned long == (~0) (print v_unsigned_long == 0) print v_unsigned_long == ~0 $181 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned long == (~0) (print v_unsigned_long == ~0) print v_unsigned_long == (unsigned long)~0 $182 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned long == (~0) (print v_unsigned_long == (unsigned long)~0) set variable v_unsigned_long=~0 (gdb) PASS: gdb.base/exprs.exp: print unsigned long != (~0) (setup) print v_unsigned_long != 0 $183 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned long != (~0) (print v_unsigned_long != 0) print v_unsigned_long != (unsigned long)~0 $184 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned long != (~0) (print v_unsigned_long != (unsigned long)~0) set variable v_unsigned_long=~0 (gdb) PASS: gdb.base/exprs.exp: print unsigned long < (~0) (setup) print v_unsigned_long < 0 $185 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned long < (~0) (print v_unsigned_long < 0) print v_unsigned_long < 0x7FFF $186 = 0 (gdb) PASS: gdb.base/exprs.exp: print unsigned long < (~0) (print v_unsigned_long < 0x7FFF) set variable v_unsigned_long=~0 (gdb) PASS: gdb.base/exprs.exp: print unsigned long > (~0) (setup) print v_unsigned_long > 0 $187 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned long > (~0) (print v_unsigned_long > 0) print v_unsigned_long > 0x7FFF $188 = 1 (gdb) PASS: gdb.base/exprs.exp: print unsigned long > (~0) (print v_unsigned_long > 0x7FFF) set variable v_signed_char = 0 (gdb) PASS: gdb.base/exprs.exp: print (void*)v_signed_char (setup) print (void*)v_signed_char $189 = (void *) 0x0 (gdb) PASS: gdb.base/exprs.exp: print (void*)v_signed_char (print (void*)v_signed_char) set variable v_signed_short = 0 (gdb) PASS: gdb.base/exprs.exp: print (void*)v_signed_short (setup) print (void*)v_signed_short $190 = (void *) 0x0 (gdb) PASS: gdb.base/exprs.exp: print (void*)v_signed_short (print (void*)v_signed_short) set variable v_signed_int = 0 (gdb) PASS: gdb.base/exprs.exp: print (void*)v_signed_int (setup) print (void*)v_signed_int $191 = (void *) 0x0 (gdb) PASS: gdb.base/exprs.exp: print (void*)v_signed_int (print (void*)v_signed_int) set variable v_signed_long = 0 (gdb) PASS: gdb.base/exprs.exp: print (void*)v_signed_long (setup) print (void*)v_signed_long $192 = (void *) 0x0 (gdb) PASS: gdb.base/exprs.exp: print (void*)v_signed_long (print (void*)v_signed_long) set variable v_unsigned_char = 0 (gdb) PASS: gdb.base/exprs.exp: print (void*)v_unsigned_char (setup) print (void*)v_unsigned_char $193 = (void *) 0x0 (gdb) PASS: gdb.base/exprs.exp: print (void*)v_unsigned_char (print (void*)v_unsigned_char) set variable v_unsigned_short = 0 (gdb) PASS: gdb.base/exprs.exp: print (void*)v_unsigned_short (setup) print (void*)v_unsigned_short $194 = (void *) 0x0 (gdb) PASS: gdb.base/exprs.exp: print (void*)v_unsigned_short (print (void*)v_unsigned_short) set variable v_unsigned_int = 0 (gdb) PASS: gdb.base/exprs.exp: print (void*)v_unsigned_int (setup) print (void*)v_unsigned_int $195 = (void *) 0x0 (gdb) PASS: gdb.base/exprs.exp: print (void*)v_unsigned_int (print (void*)v_unsigned_int) set variable v_unsigned_long = 0 (gdb) PASS: gdb.base/exprs.exp: print (void*)v_unsigned_long (setup) print (void*)v_unsigned_long $196 = (void *) 0x0 (gdb) PASS: gdb.base/exprs.exp: print (void*)v_unsigned_long (print (void*)v_unsigned_long) print sizeof (long long) > sizeof (long) $197 = 1 PASS: gdb.base/exprs.exp: sizeof (long long) > sizeof (long) (true) (gdb) print (void*) ((long long) (unsigned long) -1 + 1) warning: value truncated $198 = (void *) 0x0 (gdb) PASS: gdb.base/exprs.exp: truncate (void*) 0x00000000ffffffff + 1 print (void*) (~((long long)(unsigned long) -1) - 1) warning: value truncated $199 = (void *) 0xffffffff (gdb) PASS: gdb.base/exprs.exp: truncate (void*) 0xffffffff00000000 - 1 testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/exprs.exp completed in 3 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/foll-exec.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/execd-prog.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/execd-prog (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/execd-prog.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/execd-prog Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/foll-exec.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/foll-exec (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/foll-exec.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/foll-exec testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/foll-exec.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/foll-fork.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/foll-fork.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/foll-fork (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/foll-fork.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/foll-fork testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/foll-fork.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/foll-vfork.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/foll-vfork.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/foll-vfork (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/foll-vfork.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/foll-vfork Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/vforked-prog.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/vforked-prog (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/vforked-prog.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/vforked-prog testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/foll-vfork.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/funcargs (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/funcargs Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/funcargs.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/funcargs.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/funcargs Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/funcargs...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/funcargs (gdb) print sizeof (long) $1 = 4 (gdb) print sizeof (int) $2 = 4 (gdb) show endian The target endianness is set automatically (currently little endian) (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break call0a Breakpoint 1 at 0x80483f3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 81. (gdb) break call0b Breakpoint 2 at 0x8048423: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 94. (gdb) break call0c Breakpoint 3 at 0x8048453: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 104. (gdb) break call0d Breakpoint 4 at 0x8048483: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 114. (gdb) break call0e Breakpoint 5 at 0x80484d2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 124. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/funcargs Breakpoint 1, call0a (c=97 'a', s=1, i=2, l=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:81 81 c = 'a'; (gdb) PASS: gdb.base/funcargs.exp: run to call0a print c $3 = 97 'a' (gdb) PASS: gdb.base/funcargs.exp: print c after run to call0a print s $4 = 1 (gdb) PASS: gdb.base/funcargs.exp: print s after run to call0a print i $5 = 2 (gdb) PASS: gdb.base/funcargs.exp: print i after run to call0a print l $6 = 3 (gdb) PASS: gdb.base/funcargs.exp: print l after run to call0a cont Continuing. Breakpoint 2, call0b (s=1, i=2, l=3, c=97 'a') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:94 94 s = 6; i = 7; l = 8; c = 'j'; (gdb) PASS: gdb.base/funcargs.exp: continue to call0b cont Continuing. Breakpoint 3, call0c (i=2, l=3, c=97 'a', s=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:104 104 i = 3; l = 4; c = 'k'; s = 5; (gdb) PASS: gdb.base/funcargs.exp: continue to call0c cont Continuing. Breakpoint 4, call0d (l=3, c=97 'a', s=1, i=2) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:114 114 l = 7; c = 'z'; s = 8; i = 9; (gdb) PASS: gdb.base/funcargs.exp: continue to call0d cont Continuing. Breakpoint 5, call0e (c1=97 'a', l=3, c2=97 'a', i=2, c3=97 'a', s=1, c4=97 'a', c5=97 'a') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:124 124 c1 = 'a'; l = 5; c2 = 'b'; i = 7; c3 = 'c'; s = 7; c4 = 'f'; c5 = 'g'; (gdb) PASS: gdb.base/funcargs.exp: continue to call0e delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break call1a Breakpoint 6 at 0x8048517: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 138. (gdb) break call1b Breakpoint 7 at 0x8048547: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 148. (gdb) break call1c Breakpoint 8 at 0x8048577: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 158. (gdb) break call1d Breakpoint 9 at 0x80485a7: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 168. (gdb) break call1e Breakpoint 10 at 0x80485f6: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 179. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/funcargs Breakpoint 6, call1a (uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:138 138 uc = 5; us = 6; ui = 7; ul = 8; (gdb) PASS: gdb.base/funcargs.exp: run to call1a print uc $7 = 98 'b' (gdb) PASS: gdb.base/funcargs.exp: print uc print us $8 = 6 (gdb) PASS: gdb.base/funcargs.exp: print us print ui $9 = 7 (gdb) PASS: gdb.base/funcargs.exp: print ui print ul $10 = 8 (gdb) PASS: gdb.base/funcargs.exp: print ul cont Continuing. Breakpoint 7, call1b (us=6, ui=7, ul=8, uc=98 'b') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:148 148 uc = 5; us = 6; ui = 7; ul = 8; (gdb) PASS: gdb.base/funcargs.exp: continue to call1b cont Continuing. Breakpoint 8, call1c (ui=7, ul=8, uc=98 'b', us=6) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:158 158 uc = 5; us = 6; ui = 7; ul = 8; (gdb) PASS: gdb.base/funcargs.exp: continue to call1c cont Continuing. Breakpoint 9, call1d (ul=8, uc=98 'b', us=6, ui=7) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:168 168 uc = 5; us = 6; ui = 7; ul = 8; (gdb) PASS: gdb.base/funcargs.exp: continue to call1d cont Continuing. Breakpoint 10, call1e (uc1=98 'b', ul=8, uc2=98 'b', ui=7, uc3=98 'b', us=6, uc4=98 'b', uc5=98 'b') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:179 179 uc1 = 5; ul = 7; uc2 = 8; ui = 9; uc3 = 10; us = 11; uc4 = 12; uc5 = 55; (gdb) PASS: gdb.base/funcargs.exp: continue to call1e delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break call2a Breakpoint 11 at 0x8048655: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 193. (gdb) break call2b Breakpoint 12 at 0x80486c5: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 203. (gdb) break call2c Breakpoint 13 at 0x8048735: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 213. (gdb) break call2d Breakpoint 14 at 0x80487a5: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 223. (gdb) break call2e Breakpoint 15 at 0x8048815: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 233. (gdb) break call2f Breakpoint 16 at 0x8048885: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 243. (gdb) break call2g Breakpoint 17 at 0x80488f5: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 253. (gdb) break call2h Breakpoint 18 at 0x8048965: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 263. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/funcargs Breakpoint 11, call2a (c=97 'a', f1=4, s=1, d1=5, i=2, f2=4, l=3, d2=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:193 193 c = 'a'; f1 = 0.0; s = 5; d1 = 0.0; i = 6; f2 = 0.1; l = 7; d2 = 0.2; (gdb) PASS: gdb.base/funcargs.exp: run to call2a print c $11 = 97 'a' (gdb) PASS: gdb.base/funcargs.exp: print c after run to call2a print f1 $12 = 4 (gdb) PASS: gdb.base/funcargs.exp: print f1 after run to call2a print s $13 = 1 (gdb) PASS: gdb.base/funcargs.exp: print s after run to call2a print d1 $14 = 5 (gdb) PASS: gdb.base/funcargs.exp: print d1 after run to call2a print i $15 = 2 (gdb) PASS: gdb.base/funcargs.exp: print i after run to call2a print f2 $16 = 4 (gdb) PASS: gdb.base/funcargs.exp: print f2 after run to call2a print l $17 = 3 (gdb) PASS: gdb.base/funcargs.exp: print l after run to call2a print d2 $18 = 5 (gdb) PASS: gdb.base/funcargs.exp: print d2 after run to call2a cont Continuing. Breakpoint 12, call2b (f1=4, s=1, d1=5, i=2, f2=4, l=3, d2=5, c=97 'a') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:203 203 c = 'a'; f1 = 0.0; s = 5; d1 = 0.0; i = 6; f2 = 0.1; l = 7; d2 = 0.2; (gdb) PASS: gdb.base/funcargs.exp: continue to call2b cont Continuing. Breakpoint 13, call2c (s=1, d1=5, i=2, f2=4, l=3, d2=5, c=97 'a', f1=4) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:213 213 c = 'a'; f1 = 0.0; s = 5; d1 = 0.0; i = 6; f2 = 0.1; l = 7; d2 = 0.2; (gdb) PASS: gdb.base/funcargs.exp: continue to call2c cont Continuing. Breakpoint 14, call2d (d1=5, i=2, f2=4, l=3, d2=5, c=97 'a', f1=4, s=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:223 223 c = 'a'; f1 = 0.0; s = 5; d1 = 0.0; i = 6; f2 = 0.1; l = 7; d2 = 0.2; (gdb) PASS: gdb.base/funcargs.exp: continue to call2d cont Continuing. Breakpoint 15, call2e (i=2, f2=4, l=3, d2=5, c=97 'a', f1=4, s=1, d1=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:233 233 c = 'a'; f1 = 0.0; s = 5; d1 = 0.0; i = 6; f2 = 0.1; l = 7; d2 = 0.2; (gdb) PASS: gdb.base/funcargs.exp: continue to call2e cont Continuing. Breakpoint 16, call2f (f2=4, l=3, d2=5, c=97 'a', f1=4, s=1, d1=5, i=2) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:243 243 c = 'a'; f1 = 0.0; s = 5; d1 = 0.0; i = 6; f2 = 0.1; l = 7; d2 = 0.2; (gdb) PASS: gdb.base/funcargs.exp: continue to call2f cont Continuing. Breakpoint 17, call2g (l=3, d2=5, c=97 'a', f1=4, s=1, d1=5, i=2, f2=4) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:253 253 c = 'a'; f1 = 0.0; s = 5; d1 = 0.0; i = 6; f2 = 0.1; l = 7; d2 = 0.2; (gdb) PASS: gdb.base/funcargs.exp: continue to call2g cont Continuing. Breakpoint 18, call2h (d2=5, c=97 'a', f1=4, s=1, d1=5, i=2, f2=4, l=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:263 263 c = 'a'; f1 = 0.0; s = 5; d1 = 0.0; i = 6; f2 = 0.1; l = 7; d2 = 0.2; (gdb) PASS: gdb.base/funcargs.exp: continue to call2h delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break call2i Breakpoint 19 at 0x8048a12: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 274. (gdb) cont Continuing. Breakpoint 19, call2i (c1=97 'a', f1=4, c2=97 'a', c3=97 'a', d1=5, c4=97 'a', c5=97 'a', c6=97 'a', f2=4, s=1, c7=97 'a', d2=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:274 274 c1 = 'a'; f1 = 0.0; c2 = 5; d1 = 0.0; c3 = 6; f2 = 0.1; c4 = 7; d2 = 0.2; (gdb) PASS: gdb.base/funcargs.exp: continue to call2i delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break call3a Breakpoint 20 at 0x8048a6b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 289. (gdb) break call3b Breakpoint 21 at 0x8048a8f: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 300. (gdb) break call3c Breakpoint 22 at 0x8048ab3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 310. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/funcargs Breakpoint 20, call3a (cp=0x804ac78 "a", sp=0x804ac88, ip=0x804ac98, lp=0x804aca8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:289 289 cp = 0; sp = 0; ip = 0; lp = 0; (gdb) PASS: gdb.base/funcargs.exp: run to call3a print *cp $19 = 97 'a' (gdb) PASS: gdb.base/funcargs.exp: print *cp print *sp $20 = 1 (gdb) PASS: gdb.base/funcargs.exp: print *sp print *ip $21 = 2 (gdb) PASS: gdb.base/funcargs.exp: print *ip print *lp $22 = 3 (gdb) PASS: gdb.base/funcargs.exp: print *lp cont Continuing. Breakpoint 21, call3b (ucp=0x804ac80 "b", usp=0x804ac90, uip=0x804aca0, ulp=0x804acb0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:300 300 ucp = 0; usp = 0; uip = 0; ulp = 0; (gdb) PASS: gdb.base/funcargs.exp: continue to call3b print *ucp $23 = 98 'b' (gdb) PASS: gdb.base/funcargs.exp: print *ucp print *usp $24 = 6 (gdb) PASS: gdb.base/funcargs.exp: print *usp print *uip $25 = 7 (gdb) PASS: gdb.base/funcargs.exp: print *uip print *ulp $26 = 8 (gdb) PASS: gdb.base/funcargs.exp: print *ulp cont Continuing. Breakpoint 22, call3c (fp=0x804acb8, dp=0x804acc0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:310 310 fp = 0; dp = 0; (gdb) PASS: gdb.base/funcargs.exp: continue to call3c print *fp $27 = 4 (gdb) PASS: gdb.base/funcargs.exp: print *fp print *dp $28 = 5 (gdb) PASS: gdb.base/funcargs.exp: print *dp delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break call4a Breakpoint 23 at 0x8048acb: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 323. (gdb) break call4b Breakpoint 24 at 0x8048adb: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 332. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/funcargs Breakpoint 23, call4a (stp=0x804accc) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:323 323 {stp = 0;} (gdb) PASS: gdb.base/funcargs.exp: run to call4a print *stp $29 = {s1 = 101, s2 = 102} (gdb) PASS: gdb.base/funcargs.exp: print *stp cont Continuing. Breakpoint 24, call4b (unp=0x804addc) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:332 332 unp = 0; (gdb) PASS: gdb.base/funcargs.exp: continue to call4b print *unp $30 = {u1 = 1, u2 = 1} (gdb) PASS: gdb.base/funcargs.exp: print *unp (sizeof long == sizeof int) PASS: gdb.base/funcargs.exp: locate actual args, structs/unions passed by reference delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break call5a Breakpoint 25 at 0x8048aeb: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 345. (gdb) break call5b Breakpoint 26 at 0x8048afb: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 353. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/funcargs Breakpoint 25, call5a (st={s1 = 101, s2 = 102}) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:345 345 {st.s1 = 5;} (gdb) PASS: gdb.base/funcargs.exp: run to call5a print st $31 = {s1 = 101, s2 = 102} (gdb) PASS: gdb.base/funcargs.exp: print st cont Continuing. Breakpoint 26, call5b (un={u1 = 2, u2 = 2}) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:353 353 {un.u1 = 7;} (gdb) PASS: gdb.base/funcargs.exp: continue to call5b (sizeof long == sizeof int) print un $32 = {u1 = 2, u2 = 2} (gdb) PASS: gdb.base/funcargs.exp: print un (sizeof long == sizeof int) delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break call6a Breakpoint 27 at 0x8048d55: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 476. (gdb) break call6b Breakpoint 28 at 0x8048cea: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 464. (gdb) break call6c Breakpoint 29 at 0x8048c87: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 452. (gdb) break call6d Breakpoint 30 at 0x8048c33: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 440. (gdb) break call6e Breakpoint 31 at 0x8048be7: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 428. (gdb) break call6f Breakpoint 32 at 0x8048ba7: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 416. (gdb) break call6g Breakpoint 33 at 0x8048b73: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 404. (gdb) break call6h Breakpoint 34 at 0x8048b49: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 393. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/funcargs Breakpoint 27, call6a (c=97 'a', s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:476 476 call6b (s, i, l, f, d, uc, us, ui, ul); (gdb) PASS: gdb.base/funcargs.exp: run to call6a backtrace 100 #0 call6a (c=97 'a', s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:476 #1 0x8049a42 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:772 #2 0x400529cb in __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call6a continue Continuing. Breakpoint 28, call6b (s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:464 464 call6c (i, l, f, d, uc, us, ui, ul); (gdb) PASS: gdb.base/funcargs.exp: continue to call6b backtrace 100 #0 call6b (s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:464 #1 0x8048d91 in call6a (c=97 'a', s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:476 #2 0x8049a42 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:772 #3 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: backtrace from call6b, pattern 1 PASS: gdb.base/funcargs.exp: backtrace from call6b, pattern 2 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call6b, pattern 3 + sentinel continue Continuing. Breakpoint 29, call6c (i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:452 452 call6d (l, f, d, uc, us, ui, ul); (gdb) PASS: gdb.base/funcargs.exp: continue to call6c backtrace 100 #0 call6c (i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:452 #1 0x8048d21 in call6b (s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:464 #2 0x8048d91 in call6a (c=97 'a', s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:476 #3 0x8049a42 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:772 #4 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: backtrace from call6c, pattern 1 PASS: gdb.base/funcargs.exp: backtrace from call6c, pattern 2 PASS: gdb.base/funcargs.exp: backtrace from call6c, pattern 3 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call6c, pattern 4 + sentinel continue Continuing. Breakpoint 30, call6d (l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:440 440 call6e (f, d, uc, us, ui, ul); (gdb) PASS: gdb.base/funcargs.exp: continue to call6d backtrace 100 #0 call6d (l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:440 #1 0x8048cba in call6c (i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:452 #2 0x8048d21 in call6b (s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:464 #3 0x8048d91 in call6a (c=97 'a', s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:476 #4 0x8049a42 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:772 #5 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: backtrace from call6d, pattern 1 PASS: gdb.base/funcargs.exp: backtrace from call6d, pattern 2 PASS: gdb.base/funcargs.exp: backtrace from call6d, pattern 3 PASS: gdb.base/funcargs.exp: backtrace from call6d, pattern 4 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call6d, pattern 5 + sentinel continue Continuing. Breakpoint 31, call6e (f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:428 428 call6f (d, uc, us, ui, ul); (gdb) PASS: gdb.base/funcargs.exp: continue to call6e backtrace 100 #0 call6e (f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:428 #1 0x8048c5f in call6d (l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:440 #2 0x8048cba in call6c (i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:452 #3 0x8048d21 in call6b (s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:464 #4 0x8048d91 in call6a (c=97 'a', s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:476 #5 0x8049a42 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:772 #6 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: backtrace from call6e, pattern 1 PASS: gdb.base/funcargs.exp: backtrace from call6e, pattern 2 PASS: gdb.base/funcargs.exp: backtrace from call6e, pattern 3 PASS: gdb.base/funcargs.exp: backtrace from call6e, pattern 4 PASS: gdb.base/funcargs.exp: backtrace from call6e, pattern 5 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call6e, pattern 6 + sentinel continue Continuing. Breakpoint 32, call6f (d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:416 416 call6g (uc, us, ui, ul); (gdb) PASS: gdb.base/funcargs.exp: continue to call6f backtrace 100 #0 call6f (d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:416 #1 0x8048c0d in call6e (f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:428 #2 0x8048c5f in call6d (l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:440 #3 0x8048cba in call6c (i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:452 #4 0x8048d21 in call6b (s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:464 #5 0x8048d91 in call6a (c=97 'a', s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:476 #6 0x8049a42 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:772 #7 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: backtrace from call6f, pattern 1 PASS: gdb.base/funcargs.exp: backtrace from call6f, pattern 2 PASS: gdb.base/funcargs.exp: backtrace from call6f, pattern 3 PASS: gdb.base/funcargs.exp: backtrace from call6f, pattern 4 PASS: gdb.base/funcargs.exp: backtrace from call6f, pattern 5 PASS: gdb.base/funcargs.exp: backtrace from call6f, pattern 6 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call6f, pattern 7 + sentinel continue Continuing. Breakpoint 33, call6g (uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:404 404 call6h (us, ui, ul); (gdb) PASS: gdb.base/funcargs.exp: continue to call6g backtrace 100 #0 call6g (uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:404 #1 0x8048bc1 in call6f (d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:416 #2 0x8048c0d in call6e (f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:428 #3 0x8048c5f in call6d (l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:440 #4 0x8048cba in call6c (i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:452 #5 0x8048d21 in call6b (s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:464 #6 0x8048d91 in call6a (c=97 'a', s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:476 #7 0x8049a42 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:772 #8 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: backtrace from call6g, pattern 1 PASS: gdb.base/funcargs.exp: backtrace from call6g, pattern 2 PASS: gdb.base/funcargs.exp: backtrace from call6g, pattern 3 PASS: gdb.base/funcargs.exp: backtrace from call6g, pattern 4 PASS: gdb.base/funcargs.exp: backtrace from call6g, pattern 5 PASS: gdb.base/funcargs.exp: backtrace from call6g, pattern 6 PASS: gdb.base/funcargs.exp: backtrace from call6g, pattern 7 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call6g, pattern 8 + sentinel continue Continuing. Breakpoint 34, call6h (us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:393 393 call6i (ui, ul); (gdb) PASS: gdb.base/funcargs.exp: continue to call6h backtrace 100 #0 call6h (us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:393 #1 0x8048b8a in call6g (uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:404 #2 0x8048bc1 in call6f (d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:416 #3 0x8048c0d in call6e (f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:428 #4 0x8048c5f in call6d (l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:440 #5 0x8048cba in call6c (i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:452 #6 0x8048d21 in call6b (s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:464 #7 0x8048d91 in call6a (c=97 'a', s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:476 #8 0x8049a42 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:772 #9 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: backtrace from call6h, pattern 1 PASS: gdb.base/funcargs.exp: backtrace from call6h, pattern 2 PASS: gdb.base/funcargs.exp: backtrace from call6h, pattern 3 PASS: gdb.base/funcargs.exp: backtrace from call6h, pattern 4 PASS: gdb.base/funcargs.exp: backtrace from call6h, pattern 5 PASS: gdb.base/funcargs.exp: backtrace from call6h, pattern 6 PASS: gdb.base/funcargs.exp: backtrace from call6h, pattern 7 PASS: gdb.base/funcargs.exp: backtrace from call6h, pattern 8 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call6h, pattern 9 + sentinel delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break call6i Breakpoint 35 at 0x8048b26: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 382. (gdb) break call6j Breakpoint 36 at 0x8048b16: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 371. (gdb) break call6k Breakpoint 37 at 0x8048b0b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 361. (gdb) continue Continuing. Breakpoint 35, call6i (ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:382 382 call6j (ul); (gdb) PASS: gdb.base/funcargs.exp: continue to call6i backtrace 100 #0 call6i (ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:382 #1 0x8048b59 in call6h (us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:393 #2 0x8048b8a in call6g (uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:404 #3 0x8048bc1 in call6f (d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:416 #4 0x8048c0d in call6e (f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:428 #5 0x8048c5f in call6d (l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:440 #6 0x8048cba in call6c (i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:452 #7 0x8048d21 in call6b (s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:464 #8 0x8048d91 in call6a (c=97 'a', s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:476 #9 0x8049a42 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:772 #10 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: backtrace from call6i, pattern 1 PASS: gdb.base/funcargs.exp: backtrace from call6i, pattern 2 PASS: gdb.base/funcargs.exp: backtrace from call6i, pattern 3 PASS: gdb.base/funcargs.exp: backtrace from call6i, pattern 4 PASS: gdb.base/funcargs.exp: backtrace from call6i, pattern 5 PASS: gdb.base/funcargs.exp: backtrace from call6i, pattern 6 PASS: gdb.base/funcargs.exp: backtrace from call6i, pattern 7 PASS: gdb.base/funcargs.exp: backtrace from call6i, pattern 8 PASS: gdb.base/funcargs.exp: backtrace from call6i, pattern 9 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call6i, pattern 10 + sentinel continue Continuing. Breakpoint 36, call6j (ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:371 371 call6k (); (gdb) PASS: gdb.base/funcargs.exp: continue to call6j backtrace 100 #0 call6j (ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:371 #1 0x8048b32 in call6i (ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:382 #2 0x8048b59 in call6h (us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:393 #3 0x8048b8a in call6g (uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:404 #4 0x8048bc1 in call6f (d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:416 #5 0x8048c0d in call6e (f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:428 #6 0x8048c5f in call6d (l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:440 #7 0x8048cba in call6c (i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:452 #8 0x8048d21 in call6b (s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:464 #9 0x8048d91 in call6a (c=97 'a', s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:476 #10 0x8049a42 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:772 #11 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: backtrace from call6j, pattern 1 PASS: gdb.base/funcargs.exp: backtrace from call6j, pattern 2 PASS: gdb.base/funcargs.exp: backtrace from call6j, pattern 3 PASS: gdb.base/funcargs.exp: backtrace from call6j, pattern 4 PASS: gdb.base/funcargs.exp: backtrace from call6j, pattern 5 PASS: gdb.base/funcargs.exp: backtrace from call6j, pattern 6 PASS: gdb.base/funcargs.exp: backtrace from call6j, pattern 7 PASS: gdb.base/funcargs.exp: backtrace from call6j, pattern 8 PASS: gdb.base/funcargs.exp: backtrace from call6j, pattern 9 PASS: gdb.base/funcargs.exp: backtrace from call6j, pattern 10 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call6j, pattern 11 + sentinel continue Continuing. Breakpoint 37, call6k () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:361 361 } (gdb) PASS: gdb.base/funcargs.exp: continue to call6k backtrace 100 #0 call6k () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:361 #1 0x8048b1b in call6j (ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:371 #2 0x8048b32 in call6i (ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:382 #3 0x8048b59 in call6h (us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:393 #4 0x8048b8a in call6g (uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:404 #5 0x8048bc1 in call6f (d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:416 #6 0x8048c0d in call6e (f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:428 #7 0x8048c5f in call6d (l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:440 #8 0x8048cba in call6c (i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:452 #9 0x8048d21 in call6b (s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:464 #10 0x8048d91 in call6a (c=97 'a', s=1, i=2, l=3, f=4, d=5, uc=98 'b', us=6, ui=7, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:476 #11 0x8049a42 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:772 #12 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: backtrace from call6k, pattern 1 PASS: gdb.base/funcargs.exp: backtrace from call6k, pattern 2 PASS: gdb.base/funcargs.exp: backtrace from call6k, pattern 3 PASS: gdb.base/funcargs.exp: backtrace from call6k, pattern 4 PASS: gdb.base/funcargs.exp: backtrace from call6k, pattern 5 PASS: gdb.base/funcargs.exp: backtrace from call6k, pattern 6 PASS: gdb.base/funcargs.exp: backtrace from call6k, pattern 7 PASS: gdb.base/funcargs.exp: backtrace from call6k, pattern 8 PASS: gdb.base/funcargs.exp: backtrace from call6k, pattern 9 PASS: gdb.base/funcargs.exp: backtrace from call6k, pattern 10 PASS: gdb.base/funcargs.exp: backtrace from call6k, pattern 11 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call6k, pattern 12 + sentinel delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break call7a Breakpoint 38 at 0x8049279: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 590. (gdb) break call7b Breakpoint 39 at 0x8049201: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 580. (gdb) break call7c Breakpoint 40 at 0x8049189: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 570. (gdb) break call7d Breakpoint 41 at 0x8049111: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 560. (gdb) break call7e Breakpoint 42 at 0x8049099: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 550. (gdb) break call7f Breakpoint 43 at 0x8049021: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 540. (gdb) break call7g Breakpoint 44 at 0x8048fa9: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 530. (gdb) break call7h Breakpoint 45 at 0x8048f31: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 520. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/funcargs Breakpoint 38, call7a (c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:590 590 call7b (i, s, l, f, uc, d, us, ul, ui, c); (gdb) PASS: gdb.base/funcargs.exp: run to call7a backtrace 100 #0 call7a (c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:590 #1 0x8049a9b in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:773 #2 0x400529cb in __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call7a continue Continuing. Breakpoint 39, call7b (i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:580 580 call7c (s, l, f, uc, d, us, ul, ui, c, i); (gdb) PASS: gdb.base/funcargs.exp: continue to call7b backtrace 100 #0 call7b (i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:580 #1 0x80492b7 in call7a (c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:590 #2 0x8049a9b in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:773 #3 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: backtrace from call7b, pattern 1 PASS: gdb.base/funcargs.exp: backtrace from call7b, pattern 2 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call7b, pattern 3 + sentinel continue Continuing. Breakpoint 40, call7c (s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:570 570 call7d (l, f, uc, d, us, ul, ui, c, i, s); (gdb) PASS: gdb.base/funcargs.exp: continue to call7c backtrace 100 #0 call7c (s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:570 #1 0x804923f in call7b (i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:580 #2 0x80492b7 in call7a (c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:590 #3 0x8049a9b in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:773 #4 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: backtrace from call7c, pattern 1 PASS: gdb.base/funcargs.exp: backtrace from call7c, pattern 2 PASS: gdb.base/funcargs.exp: backtrace from call7c, pattern 3 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call7c, pattern 4 + sentinel continue Continuing. Breakpoint 41, call7d (l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:560 560 call7e (f, uc, d, us, ul, ui, c, i, s, l); (gdb) PASS: gdb.base/funcargs.exp: continue to call7d backtrace 100 #0 call7d (l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:560 #1 0x80491c7 in call7c (s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:570 #2 0x804923f in call7b (i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:580 #3 0x80492b7 in call7a (c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:590 #4 0x8049a9b in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:773 #5 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: backtrace from call7d, pattern 1 PASS: gdb.base/funcargs.exp: backtrace from call7d, pattern 2 PASS: gdb.base/funcargs.exp: backtrace from call7d, pattern 3 PASS: gdb.base/funcargs.exp: backtrace from call7d, pattern 4 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call7d, pattern 5 + sentinel continue Continuing. Breakpoint 42, call7e (f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:550 550 call7f (uc, d, us, ul, ui, c, i, s, l, f); (gdb) PASS: gdb.base/funcargs.exp: continue to call7e backtrace 100 #0 call7e (f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:550 #1 0x804914f in call7d (l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:560 #2 0x80491c7 in call7c (s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:570 #3 0x804923f in call7b (i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:580 #4 0x80492b7 in call7a (c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:590 #5 0x8049a9b in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:773 #6 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: backtrace from call7e, pattern 1 PASS: gdb.base/funcargs.exp: backtrace from call7e, pattern 2 PASS: gdb.base/funcargs.exp: backtrace from call7e, pattern 3 PASS: gdb.base/funcargs.exp: backtrace from call7e, pattern 4 PASS: gdb.base/funcargs.exp: backtrace from call7e, pattern 5 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call7e, pattern 6 + sentinel continue Continuing. Breakpoint 43, call7f (uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:540 540 call7g (d, us, ul, ui, c, i, s, l, f, uc); (gdb) PASS: gdb.base/funcargs.exp: continue to call7f backtrace 100 #0 call7f (uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:540 #1 0x80490d7 in call7e (f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:550 #2 0x804914f in call7d (l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:560 #3 0x80491c7 in call7c (s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:570 #4 0x804923f in call7b (i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:580 #5 0x80492b7 in call7a (c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:590 #6 0x8049a9b in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:773 #7 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: backtrace from call7f, pattern 1 PASS: gdb.base/funcargs.exp: backtrace from call7f, pattern 2 PASS: gdb.base/funcargs.exp: backtrace from call7f, pattern 3 PASS: gdb.base/funcargs.exp: backtrace from call7f, pattern 4 PASS: gdb.base/funcargs.exp: backtrace from call7f, pattern 5 PASS: gdb.base/funcargs.exp: backtrace from call7f, pattern 6 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call7f, pattern 7 + sentinel continue Continuing. Breakpoint 44, call7g (d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:530 530 call7h (us, ul, ui, c, i, s, l, f, uc, d); (gdb) PASS: gdb.base/funcargs.exp: continue to call7g backtrace 100 #0 call7g (d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:530 #1 0x804905f in call7f (uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:540 #2 0x80490d7 in call7e (f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:550 #3 0x804914f in call7d (l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:560 #4 0x80491c7 in call7c (s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:570 #5 0x804923f in call7b (i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:580 #6 0x80492b7 in call7a (c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:590 #7 0x8049a9b in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:773 #8 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: backtrace from call7g, pattern 1 PASS: gdb.base/funcargs.exp: backtrace from call7g, pattern 2 PASS: gdb.base/funcargs.exp: backtrace from call7g, pattern 3 PASS: gdb.base/funcargs.exp: backtrace from call7g, pattern 4 PASS: gdb.base/funcargs.exp: backtrace from call7g, pattern 5 PASS: gdb.base/funcargs.exp: backtrace from call7g, pattern 6 PASS: gdb.base/funcargs.exp: backtrace from call7g, pattern 7 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call7g, pattern 8 + sentinel continue Continuing. Breakpoint 45, call7h (us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:520 520 call7i (ul, ui, c, i, s, l, f, uc, d, us); (gdb) PASS: gdb.base/funcargs.exp: continue to call7h backtrace 100 #0 call7h (us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:520 #1 0x8048fe7 in call7g (d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:530 #2 0x804905f in call7f (uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:540 #3 0x80490d7 in call7e (f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:550 #4 0x804914f in call7d (l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:560 #5 0x80491c7 in call7c (s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:570 #6 0x804923f in call7b (i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:580 #7 0x80492b7 in call7a (c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:590 #8 0x8049a9b in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:773 #9 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: backtrace from call7h, pattern 1 PASS: gdb.base/funcargs.exp: backtrace from call7h, pattern 2 PASS: gdb.base/funcargs.exp: backtrace from call7h, pattern 3 PASS: gdb.base/funcargs.exp: backtrace from call7h, pattern 4 PASS: gdb.base/funcargs.exp: backtrace from call7h, pattern 5 PASS: gdb.base/funcargs.exp: backtrace from call7h, pattern 6 PASS: gdb.base/funcargs.exp: backtrace from call7h, pattern 7 PASS: gdb.base/funcargs.exp: backtrace from call7h, pattern 8 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call7h, pattern 9 + sentinel delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break call7i Breakpoint 46 at 0x8048eb9: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 510. (gdb) break call7j Breakpoint 47 at 0x8048e41: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 500. (gdb) break call7k Breakpoint 48 at 0x8048dc9: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 489. (gdb) continue Continuing. Breakpoint 46, call7i (ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:510 510 call7j (ui, c, i, s, l, f, uc, d, us, ul); (gdb) PASS: gdb.base/funcargs.exp: continue to call7i backtrace 100 #0 call7i (ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:510 #1 0x8048f6f in call7h (us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:520 #2 0x8048fe7 in call7g (d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:530 #3 0x804905f in call7f (uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:540 #4 0x80490d7 in call7e (f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:550 #5 0x804914f in call7d (l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:560 #6 0x80491c7 in call7c (s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:570 #7 0x804923f in call7b (i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:580 #8 0x80492b7 in call7a (c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:590 #9 0x8049a9b in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:773 #10 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: backtrace from call7i, pattern 1 PASS: gdb.base/funcargs.exp: backtrace from call7i, pattern 2 PASS: gdb.base/funcargs.exp: backtrace from call7i, pattern 3 PASS: gdb.base/funcargs.exp: backtrace from call7i, pattern 4 PASS: gdb.base/funcargs.exp: backtrace from call7i, pattern 5 PASS: gdb.base/funcargs.exp: backtrace from call7i, pattern 6 PASS: gdb.base/funcargs.exp: backtrace from call7i, pattern 7 PASS: gdb.base/funcargs.exp: backtrace from call7i, pattern 8 PASS: gdb.base/funcargs.exp: backtrace from call7i, pattern 9 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call7i, pattern 10 + sentinel continue Continuing. Breakpoint 47, call7j (ui=7, c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:500 500 call7k (c, i, s, l, f, uc, d, us, ul, ui); (gdb) PASS: gdb.base/funcargs.exp: continue to call7j backtrace 100 #0 call7j (ui=7, c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:500 #1 0x8048ef7 in call7i (ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:510 #2 0x8048f6f in call7h (us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:520 #3 0x8048fe7 in call7g (d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:530 #4 0x804905f in call7f (uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:540 #5 0x80490d7 in call7e (f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:550 #6 0x804914f in call7d (l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:560 #7 0x80491c7 in call7c (s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:570 #8 0x804923f in call7b (i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:580 #9 0x80492b7 in call7a (c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:590 #10 0x8049a9b in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:773 #11 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: backtrace from call7j, pattern 1 PASS: gdb.base/funcargs.exp: backtrace from call7j, pattern 2 PASS: gdb.base/funcargs.exp: backtrace from call7j, pattern 3 PASS: gdb.base/funcargs.exp: backtrace from call7j, pattern 4 PASS: gdb.base/funcargs.exp: backtrace from call7j, pattern 5 PASS: gdb.base/funcargs.exp: backtrace from call7j, pattern 6 PASS: gdb.base/funcargs.exp: backtrace from call7j, pattern 7 PASS: gdb.base/funcargs.exp: backtrace from call7j, pattern 8 PASS: gdb.base/funcargs.exp: backtrace from call7j, pattern 9 PASS: gdb.base/funcargs.exp: backtrace from call7j, pattern 10 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call7j, pattern 11 + sentinel continue Continuing. Breakpoint 48, call7k (c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:489 489 c = 'a'; i = 7; s = 8; l = 7; f = 0.3; uc = 44; d = 0.44; us = 77; (gdb) PASS: gdb.base/funcargs.exp: continue to call7k backtrace 100 #0 call7k (c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:489 #1 0x8048e7f in call7j (ui=7, c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:500 #2 0x8048ef7 in call7i (ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:510 #3 0x8048f6f in call7h (us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:520 #4 0x8048fe7 in call7g (d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:530 #5 0x804905f in call7f (uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3, f=4) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:540 #6 0x80490d7 in call7e (f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1, l=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:550 #7 0x804914f in call7d (l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2, s=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:560 #8 0x80491c7 in call7c (s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a', i=2) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:570 #9 0x804923f in call7b (i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7, c=97 'a') at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:580 #10 0x80492b7 in call7a (c=97 'a', i=2, s=1, l=3, f=4, uc=98 'b', d=5, us=6, ul=8, ui=7) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:590 #11 0x8049a9b in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:773 #12 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: backtrace from call7k, pattern 1 PASS: gdb.base/funcargs.exp: backtrace from call7k, pattern 2 PASS: gdb.base/funcargs.exp: backtrace from call7k, pattern 3 PASS: gdb.base/funcargs.exp: backtrace from call7k, pattern 4 PASS: gdb.base/funcargs.exp: backtrace from call7k, pattern 5 PASS: gdb.base/funcargs.exp: backtrace from call7k, pattern 6 PASS: gdb.base/funcargs.exp: backtrace from call7k, pattern 7 PASS: gdb.base/funcargs.exp: backtrace from call7k, pattern 8 PASS: gdb.base/funcargs.exp: backtrace from call7k, pattern 9 PASS: gdb.base/funcargs.exp: backtrace from call7k, pattern 10 PASS: gdb.base/funcargs.exp: backtrace from call7k, pattern 11 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call7k, pattern 12 + sentinel delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break hitbottom Breakpoint 49 at 0x80492c7: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 606. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/funcargs Breakpoint 49, hitbottom () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:606 606 } (gdb) PASS: gdb.base/funcargs.exp: run to hitbottom backtrace 100 #0 hitbottom () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:606 PASS: gdb.base/funcargs.exp: recursive passing of structs by value, pattern 1 #1 0x80492ef in recurse (a={s = 0, i = 0, l = 0}, depth=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:618 #2 0x8049306 in recurse (a={s = 1, i = 1, l = 1}, depth=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:620 #3 0x8049306 in recurse (a={s = 2, i = 2, l = 2}, depth=2) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:620 #4 0x8049306 in recurse (a={s = 3, i = 3, l = 3}, depth=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:620 #5 0x8049306 in recurse (a={s = 4, i = 4, l = 4}, depth=4) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:620 #6 0x804933d in test_struct_args () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:627 #7 0x8049aa3 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:777 #8 0x400529cb in __libc_start_main () from /lib/libc.so.6 PASS: gdb.base/funcargs.exp: recursive passing of structs by value, pattern 2 PASS: gdb.base/funcargs.exp: recursive passing of structs by value, pattern 3 PASS: gdb.base/funcargs.exp: recursive passing of structs by value, pattern 4 PASS: gdb.base/funcargs.exp: recursive passing of structs by value, pattern 5 PASS: gdb.base/funcargs.exp: recursive passing of structs by value, pattern 6 PASS: gdb.base/funcargs.exp: recursive passing of structs by value, pattern 7 (gdb) PASS: gdb.base/funcargs.exp: recursive passing of structs by value, pattern 8 + sentinel delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break localvars_after_alloca Breakpoint 50 at 0x8049357: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 650. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/funcargs Breakpoint 50, localvars_after_alloca (c=97 'a', s=1, i=2, l=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:650 650 char *z = alloca (s + 50); (gdb) print c $33 = 97 'a' (gdb) PASS: gdb.base/funcargs.exp: print c after runto localvars_after_alloca print s $34 = 1 (gdb) PASS: gdb.base/funcargs.exp: print s after runto localvars_after_alloca print i $35 = 2 (gdb) PASS: gdb.base/funcargs.exp: print i after runto localvars_after_alloca print l $36 = 3 (gdb) PASS: gdb.base/funcargs.exp: print l after runto localvars_after_alloca next 652 c = 'a'; (gdb) PASS: gdb.base/funcargs.exp: next in localvars_after_alloca() print c $37 = 97 'a' (gdb) PASS: gdb.base/funcargs.exp: print c in localvars_after_alloca print s $38 = 1 (gdb) PASS: gdb.base/funcargs.exp: print s in localvars_after_alloca print i $39 = 2 (gdb) PASS: gdb.base/funcargs.exp: print i in localvars_after_alloca print l $40 = 3 (gdb) PASS: gdb.base/funcargs.exp: print l in localvars_after_alloca backtrace 8 #0 localvars_after_alloca (c=97 'a', s=1, i=2, l=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:652 #1 0x8049ac4 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:779 #2 0x400529cb in __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/funcargs.exp: backtrace after alloca delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break call_after_alloca_subr Breakpoint 51 at 0x80493b1: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 666. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/funcargs Breakpoint 51, call_after_alloca_subr (c=97 'a', s=1, i=2, l=3, uc=98 'b', us=11, ui=12, ul=13) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:666 666 c = 'a'; (gdb) print c $41 = 97 'a' (gdb) PASS: gdb.base/funcargs.exp: print c in call_after_alloca print s $42 = 1 (gdb) PASS: gdb.base/funcargs.exp: print s in call_after_alloca print i $43 = 2 (gdb) PASS: gdb.base/funcargs.exp: print i in call_after_alloca print l $44 = 3 (gdb) PASS: gdb.base/funcargs.exp: print l in call_after_alloca backtrace 8 #0 call_after_alloca_subr (c=97 'a', s=1, i=2, l=3, uc=98 'b', us=11, ui=12, ul=13) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:666 #1 0x8049437 in call_after_alloca (c=97 'a', s=1, i=2, l=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:689 #2 0x8049ae8 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:781 #3 0x400529cb in __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/funcargs.exp: backtrace from call_after_alloca_subr delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break marker_indirect_call Breakpoint 52 at 0x804944f: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 713. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/funcargs Breakpoint 52, marker_indirect_call () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:713 713 marker_indirect_call () {} (gdb) break call0a Breakpoint 53 at 0x80483f3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 81. (gdb) continue Continuing. Breakpoint 53, call0a (c=97 'a', s=1, i=2, l=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:81 81 c = 'a'; (gdb) PASS: gdb.base/funcargs.exp: continue to call0a delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) print c $45 = 97 'a' (gdb) PASS: gdb.base/funcargs.exp: print c in localvars_in_indirect_call print s $46 = 1 (gdb) PASS: gdb.base/funcargs.exp: print s in localvars_in_indirect_call print i $47 = 2 (gdb) PASS: gdb.base/funcargs.exp: print i in localvars_in_indirect_call print l $48 = 3 (gdb) PASS: gdb.base/funcargs.exp: print l in localvars_in_indirect_call backtrace 8 #0 call0a (c=97 'a', s=1, i=2, l=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:81 #1 0x8049b11 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:787 #2 0x400529cb in __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/funcargs.exp: backtrace in indirectly called function finish Run till exit from #0 call0a (c=97 'a', s=1, i=2, l=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:81 0x8049b11 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:787 787 (*pointer_to_call0a) (c, s, i, l); /* First step into call0a. */ Value returned is $49 = 97 (gdb) step 788 (*pointer_to_call0a) (c, s, i, l); /* Second step into call0a. */ (gdb) PASS: gdb.base/funcargs.exp: finish from indirectly called function step call0a (c=97 'a', s=1, i=2, l=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:81 81 c = 'a'; (gdb) PASS: gdb.base/funcargs.exp: stepping into indirectly called function delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break marker_call_with_trampolines Breakpoint 54 at 0x8049457: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c, line 716. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/funcargs Breakpoint 54, marker_call_with_trampolines () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:716 716 marker_call_with_trampolines () {} (gdb) finish Run till exit from #0 marker_call_with_trampolines () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:716 main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:790 790 (*pointer_to_call_with_trampolines) (d); /* Test multiple trampolines. */ (gdb) PASS: gdb.base/funcargs.exp: finish from marker_call_with_trampolines step call_with_trampolines (d1=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:707 707 return d1; (gdb) PASS: gdb.base/funcargs.exp: stepping into function called with trampolines backtrace 8 #0 call_with_trampolines (d1=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:707 #1 0x8049b51 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:790 #2 0x400529cb in __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/funcargs.exp: backtrace through call with trampolines step 708 } /* End of call_with_trampolines, this comment is needed by funcargs.exp */ (gdb) step main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.c:791 791 return 0; (gdb) PASS: gdb.base/funcargs.exp: stepping back to main from function called with trampolines testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/funcargs.exp completed in 4 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/gdbvars.exp ... spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) set print sevenbit-strings (gdb) print 101 $1 = 101 (gdb) PASS: gdb.base/gdbvars.exp: Set value-history[1] using $1 print 102 $2 = 102 (gdb) PASS: gdb.base/gdbvars.exp: Set value-history[2] using $2 print 103 $3 = 103 (gdb) PASS: gdb.base/gdbvars.exp: Set value-history[3] using $3 print $$ $4 = 102 (gdb) PASS: gdb.base/gdbvars.exp: Print value-history[MAX-1] using inplicit index $$ print $$ $5 = 103 (gdb) PASS: gdb.base/gdbvars.exp: Print value-history[MAX-1] again using implicit index $$ print $ $6 = 103 (gdb) PASS: gdb.base/gdbvars.exp: Print value-history[MAX] using implicit index $ print $$2 $7 = 102 (gdb) PASS: gdb.base/gdbvars.exp: Print value-history[MAX-2] using explicit index $$2 print $0 $8 = 102 (gdb) PASS: gdb.base/gdbvars.exp: Print value-history[MAX] using explicit index $0 print 108 $9 = 108 (gdb) PASS: gdb.base/gdbvars.exp: print 108 print $$0 $10 = 108 (gdb) PASS: gdb.base/gdbvars.exp: Print value-history[MAX] using explicit index $$0 print $1 $11 = 101 (gdb) PASS: gdb.base/gdbvars.exp: Print value-history[1] using explicit index $1 print $2 $12 = 102 (gdb) PASS: gdb.base/gdbvars.exp: Print value-history[2] using explicit index $2 print $3 $13 = 103 (gdb) PASS: gdb.base/gdbvars.exp: Print value-history[3] using explicit index $3 print $-3 $14 = 100 (gdb) PASS: gdb.base/gdbvars.exp: Print (value-history[MAX] - 3) using implicit index $ print $1 + 3 $15 = 104 (gdb) PASS: gdb.base/gdbvars.exp: Use value-history element in arithmetic expression set $foo = 101 (gdb) PASS: gdb.base/gdbvars.exp: Set a new convenience variable print $foo $16 = 101 (gdb) PASS: gdb.base/gdbvars.exp: Print contents of new convenience variable set $foo = 301 (gdb) PASS: gdb.base/gdbvars.exp: Set convenience variable to a new value print $foo $17 = 301 (gdb) PASS: gdb.base/gdbvars.exp: Print new contents of convenience variable set $_ = 11 (gdb) PASS: gdb.base/gdbvars.exp: Set convenience variable $_ print $_ $18 = 11 (gdb) PASS: gdb.base/gdbvars.exp: Print contents of convenience variable $_ print $foo + 10 $19 = 311 (gdb) PASS: gdb.base/gdbvars.exp: Use convenience variable in arithmetic expression print ($foo = 32) + 4 $20 = 36 (gdb) PASS: gdb.base/gdbvars.exp: Use convenience variable assignment in arithmetic expression print $bar $21 = void (gdb) PASS: gdb.base/gdbvars.exp: Print contents of uninitialized convenience variable testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/gdbvars.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/help.exp ... spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) set height 400 (gdb) PASS: gdb.base/help.exp: test set height help add-symbol-file Usage: add-symbol-file FILE ADDR [-s -s ...] Load the symbols from FILE, assuming FILE has been dynamically loaded. ADDR is the starting address of the file's text. The optional arguments are section-name section-address pairs and should be specified if the data and bss segments are not contiguous with the text. SECT is a section name to be loaded at SECT_ADDR. (gdb) PASS: gdb.base/help.exp: help add-symbol-file help aliases Aliases of other commands. List of commands: delete breakpoints -- Delete some breakpoints or auto-display expressions disable breakpoints -- Disable some breakpoints ni -- Step one instruction si -- Step one instruction exactly stepping -- Specify single-stepping behavior at a tracepoint tp -- Set a tracepoint at a specified line or function or address where -- Print backtrace of all stack frames ws -- Specify single-stepping behavior at a tracepoint Type "help" followed by command name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help aliases help attach Attach to a process or file outside of GDB. This command attaches to another target, of the same type as your last "target" command ("info files" will show your target stack). The command may take as argument a process id or a device file. For a process id, you must have permission to send the process a signal, and it must have the same effective uid as the debugger. When using "attach" with a process id, the debugger finds the program running in the process, looking first in the current working directory, or (if not found there) using the source file search path (see the "directory" command). You can also use the "file" command to specify the program, and to load its symbol table. (gdb) PASS: gdb.base/help.exp: help attach help b Set breakpoint at specified line or function. Argument may be line number, function name, or "*" and an address. If line number is specified, break at start of code for that line. If function is specified, break at start of code for that function. If an address is specified, break at that exact address. With no arg, uses current execution address of selected stack frame. This is useful for breaking on return to a stack frame. Multiple breakpoints at one place are permitted, and useful if conditional. Do "help breakpoints" for info on other commands dealing with breakpoints. (gdb) PASS: gdb.base/help.exp: help breakpoint "b" abbreviation help br Set breakpoint at specified line or function. Argument may be line number, function name, or "*" and an address. If line number is specified, break at start of code for that line. If function is specified, break at start of code for that function. If an address is specified, break at that exact address. With no arg, uses current execution address of selected stack frame. This is useful for breaking on return to a stack frame. Multiple breakpoints at one place are permitted, and useful if conditional. Do "help breakpoints" for info on other commands dealing with breakpoints. (gdb) PASS: gdb.base/help.exp: help breakpoint "br" abbreviation help bre Set breakpoint at specified line or function. Argument may be line number, function name, or "*" and an address. If line number is specified, break at start of code for that line. If function is specified, break at start of code for that function. If an address is specified, break at that exact address. With no arg, uses current execution address of selected stack frame. This is useful for breaking on return to a stack frame. Multiple breakpoints at one place are permitted, and useful if conditional. Do "help breakpoints" for info on other commands dealing with breakpoints. (gdb) PASS: gdb.base/help.exp: help breakpoint "bre" abbreviation help brea Set breakpoint at specified line or function. Argument may be line number, function name, or "*" and an address. If line number is specified, break at start of code for that line. If function is specified, break at start of code for that function. If an address is specified, break at that exact address. With no arg, uses current execution address of selected stack frame. This is useful for breaking on return to a stack frame. Multiple breakpoints at one place are permitted, and useful if conditional. Do "help breakpoints" for info on other commands dealing with breakpoints. (gdb) PASS: gdb.base/help.exp: help breakpoint "brea" abbreviation help break Set breakpoint at specified line or function. Argument may be line number, function name, or "*" and an address. If line number is specified, break at start of code for that line. If function is specified, break at start of code for that function. If an address is specified, break at that exact address. With no arg, uses current execution address of selected stack frame. This is useful for breaking on return to a stack frame. Multiple breakpoints at one place are permitted, and useful if conditional. Do "help breakpoints" for info on other commands dealing with breakpoints. (gdb) PASS: gdb.base/help.exp: help breakpoint "break" abbreviation help breakpoints Making program stop at certain points. List of commands: awatch -- Set a watchpoint for an expression break -- Set breakpoint at specified line or function catch -- Set catchpoints to catch events clear -- Clear breakpoint at specified line or function commands -- Set commands to be executed when a breakpoint is hit condition -- Specify breakpoint number N to break only if COND is true delete -- Delete some breakpoints or auto-display expressions disable -- Disable some breakpoints enable -- Enable some breakpoints hbreak -- Set a hardware assisted breakpoint ignore -- Set ignore-count of breakpoint number N to COUNT rbreak -- Set a breakpoint for all functions matching REGEXP rwatch -- Set a read watchpoint for an expression tbreak -- Set a temporary breakpoint tcatch -- Set temporary catchpoints to catch events thbreak -- Set a temporary hardware assisted breakpoint txbreak -- Set temporary breakpoint at procedure exit watch -- Set a watchpoint for an expression xbreak -- Set breakpoint at procedure exit Type "help" followed by command name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help breakpoints help bt Print backtrace of all stack frames, or innermost COUNT frames. With a negative argument, print outermost -COUNT frames. Use of the 'full' qualifier also prints the values of the local variables. (gdb) PASS: gdb.base/help.exp: help backtrace "bt" abbreviation help backtrace Print backtrace of all stack frames, or innermost COUNT frames. With a negative argument, print outermost -COUNT frames. Use of the 'full' qualifier also prints the values of the local variables. (gdb) PASS: gdb.base/help.exp: help backtrace help c Continue program being debugged, after signal or breakpoint. If proceeding from breakpoint, a number N may be used as an argument, which means to set the ignore count of that breakpoint to N - 1 (so that the breakpoint won't break until the Nth time it is reached). (gdb) PASS: gdb.base/help.exp: help continue "c" abbreviation help continue Continue program being debugged, after signal or breakpoint. If proceeding from breakpoint, a number N may be used as an argument, which means to set the ignore count of that breakpoint to N - 1 (so that the breakpoint won't break until the Nth time it is reached). (gdb) PASS: gdb.base/help.exp: help continue help call Call a function in the program. The argument is the function name and arguments, in the notation of the current working language. The result is printed and saved in the value history, if it is not void. (gdb) PASS: gdb.base/help.exp: help call help catch Set catchpoints to catch events. Raised signals may be caught: catch signal - all signals catch signal - a particular signal Raised exceptions may be caught: catch throw - all exceptions, when thrown catch throw - a particular exception, when thrown catch catch - all exceptions, when caught catch catch - a particular exception, when caught Thread or process events may be caught: catch thread_start - any threads, just after creation catch thread_exit - any threads, just before expiration catch thread_join - any threads, just after joins Process events may be caught: catch start - any processes, just after creation catch exit - any processes, just before expiration catch fork - calls to fork() catch vfork - calls to vfork() catch exec - calls to exec() Dynamically-linked library events may be caught: catch load - loads of any library catch load - loads of a particular library catch unload - unloads of any library catch unload - unloads of a particular library The act of your program's execution stopping may also be caught: catch stop C++ exceptions may be caught: catch throw - all exceptions, when thrown catch catch - all exceptions, when caught Do "help set follow-fork-mode" for info on debugging your program after a fork or vfork is caught. Do "help breakpoints" for info on other commands dealing with breakpoints. (gdb) PASS: gdb.base/help.exp: help catch help cd Set working directory to DIR for debugger and program being debugged. The change does not take effect for the program being debugged until the next time it is started. (gdb) PASS: gdb.base/help.exp: help cd help clear Clear breakpoint at specified line or function. Argument may be line number, function name, or "*" and an address. If line number is specified, all breakpoints in that line are cleared. If function is specified, breakpoints at beginning of function are cleared. If an address is specified, breakpoints at that address are cleared. With no argument, clears all breakpoints in the line that the selected frame is executing in. See also the "delete" command which clears breakpoints by number. (gdb) PASS: gdb.base/help.exp: help clear help commands Set commands to be executed when a breakpoint is hit. Give breakpoint number as argument after "commands". With no argument, the targeted breakpoint is the last one set. The commands themselves follow starting on the next line. Type a line containing "end" to indicate the end of them. Give "silent" as the first line to make the breakpoint silent; then no output is printed when it is hit, except what the commands print. (gdb) PASS: gdb.base/help.exp: help commands help condition Specify breakpoint number N to break only if COND is true. Usage is `condition N COND', where N is an integer and COND is an expression to be evaluated whenever breakpoint N is reached. (gdb) PASS: gdb.base/help.exp: help condition help core-file Use FILE as core dump for examining memory and registers. No arg means have no core file. This command has been superseded by the `target core' and `detach' commands. (gdb) PASS: gdb.base/help.exp: help core-file help d Delete some breakpoints or auto-display expressions. Arguments are breakpoint numbers with spaces in between. To delete all breakpoints, give no argument. Also a prefix command for deletion of other GDB objects. The "unset" command is also an alias for "delete". List of delete subcommands: delete breakpoints -- Delete some breakpoints or auto-display expressions delete display -- Cancel some expressions to be displayed when program stops delete tracepoints -- Delete specified tracepoints Type "help delete" followed by delete subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help delete "d" abbreviation help delete Delete some breakpoints or auto-display expressions. Arguments are breakpoint numbers with spaces in between. To delete all breakpoints, give no argument. Also a prefix command for deletion of other GDB objects. The "unset" command is also an alias for "delete". List of delete subcommands: delete breakpoints -- Delete some breakpoints or auto-display expressions delete display -- Cancel some expressions to be displayed when program stops delete tracepoints -- Delete specified tracepoints Type "help delete" followed by delete subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help delete help data Examining data. List of commands: call -- Call a function in the program delete display -- Cancel some expressions to be displayed when program stops disable display -- Disable some expressions to be displayed when program stops disassemble -- Disassemble a specified section of memory display -- Print value of expression EXP each time the program stops enable display -- Enable some expressions to be displayed when program stops inspect -- Same as "print" command output -- Like "print" but don't put in value history and don't print newline print -- Print value of expression EXP printf -- Printf "printf format string" ptype -- Print definition of type TYPE set -- Evaluate expression EXP and assign result to variable VAR set variable -- Evaluate expression EXP and assign result to variable VAR undisplay -- Cancel some expressions to be displayed when program stops whatis -- Print data type of expression EXP x -- Examine memory: x/FMT ADDRESS Type "help" followed by command name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help data help define Define a new command name. Command name is argument. Definition appears on following lines, one command per line. End with a line of just "end". Use the "document" command to give documentation for the new command. Commands defined in this way may have up to ten arguments. (gdb) PASS: gdb.base/help.exp: help define help delete breakpoints Delete some breakpoints or auto-display expressions. Arguments are breakpoint numbers with spaces in between. To delete all breakpoints, give no argument. This command may be abbreviated "delete". (gdb) PASS: gdb.base/help.exp: help delete breakpoints help delete display Cancel some expressions to be displayed when program stops. Arguments are the code numbers of the expressions to stop displaying. No argument means cancel all automatic-display expressions. Do "info display" to see current list of code numbers. (gdb) PASS: gdb.base/help.exp: help delete display help detach Detach a process or file previously attached. If a process, it is no longer traced, and it continues its execution. If you were debugging a file, the file is closed and gdb no longer accesses it. (gdb) PASS: gdb.base/help.exp: help detach help directory Add directory DIR to beginning of search path for source files. Forget cached info on source file locations and line positions. DIR can also be $cwd for the current working directory, or $cdir for the directory in which the source file was compiled into object code. With no argument, reset the search path to $cdir:$cwd, the default. (gdb) PASS: gdb.base/help.exp: help directory help dis Disable some breakpoints. Arguments are breakpoint numbers with spaces in between. To disable all breakpoints, give no argument. A disabled breakpoint is not forgotten, but has no effect until reenabled. List of disable subcommands: disable breakpoints -- Disable some breakpoints disable display -- Disable some expressions to be displayed when program stops disable tracepoints -- Disable specified tracepoints Type "help disable" followed by disable subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help disable "dis" abbreviation help disa Disable some breakpoints. Arguments are breakpoint numbers with spaces in between. To disable all breakpoints, give no argument. A disabled breakpoint is not forgotten, but has no effect until reenabled. List of disable subcommands: disable breakpoints -- Disable some breakpoints disable display -- Disable some expressions to be displayed when program stops disable tracepoints -- Disable specified tracepoints Type "help disable" followed by disable subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help disable "disa" abbreviation help disable Disable some breakpoints. Arguments are breakpoint numbers with spaces in between. To disable all breakpoints, give no argument. A disabled breakpoint is not forgotten, but has no effect until reenabled. List of disable subcommands: disable breakpoints -- Disable some breakpoints disable display -- Disable some expressions to be displayed when program stops disable tracepoints -- Disable specified tracepoints Type "help disable" followed by disable subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help disable help disable breakpoints Disable some breakpoints. Arguments are breakpoint numbers with spaces in between. To disable all breakpoints, give no argument. A disabled breakpoint is not forgotten, but has no effect until reenabled. This command may be abbreviated "disable". (gdb) PASS: gdb.base/help.exp: help disable breakpoints help disable display Disable some expressions to be displayed when program stops. Arguments are the code numbers of the expressions to stop displaying. No argument means disable all automatic-display expressions. Do "info display" to see current list of code numbers. (gdb) PASS: gdb.base/help.exp: help disable display help disassemble Disassemble a specified section of memory. Default is the function surrounding the pc of the selected frame. With a single argument, the function surrounding that address is dumped. Two arguments are taken as a range of memory to dump. (gdb) PASS: gdb.base/help.exp: help disassemble help display Print value of expression EXP each time the program stops. /FMT may be used before EXP as in the "print" command. /FMT "i" or "s" or including a size-letter is allowed, as in the "x" command, and then EXP is used to get the address to examine and examining is done as in the "x" command. With no argument, display all currently requested auto-display expressions. Use "undisplay" to cancel display requests previously made. (gdb) PASS: gdb.base/help.exp: help display help do Select and print stack frame called by this one. An argument says how many frames down to go. (gdb) PASS: gdb.base/help.exp: help do help document Document a user-defined command. Give command name as argument. Give documentation on following lines. End with a line of just "end". (gdb) PASS: gdb.base/help.exp: help document help down Select and print stack frame called by this one. An argument says how many frames down to go. (gdb) PASS: gdb.base/help.exp: help down help down-silently Same as the `down' command, but does not print anything. This is useful in command scripts. (gdb) PASS: gdb.base/help.exp: help down-silently help echo Print a constant string. Give string as argument. C escape sequences may be used in the argument. No newline is added at the end of the argument; use "\n" if you want a newline to be printed. Since leading and trailing whitespace are ignored in command arguments, if you want to print some you must use "\" before leading whitespace to be printed or after trailing whitespace. (gdb) PASS: gdb.base/help.exp: help echo help enable breakpoints delete Enable breakpoints and delete when hit. Give breakpoint numbers. If a breakpoint is hit while enabled in this fashion, it is deleted. (gdb) PASS: gdb.base/help.exp: help enable breakpoints delete help enable breakpoints once Enable breakpoints for one hit. Give breakpoint numbers. If a breakpoint is hit while enabled in this fashion, it becomes disabled. (gdb) PASS: gdb.base/help.exp: help enable breakpoints once help enable breakpoints Enable some breakpoints. Give breakpoint numbers (separated by spaces) as arguments. This is used to cancel the effect of the "disable" command. May be abbreviated to simply "enable". List of enable breakpoints subcommands: enable breakpoints delete -- Enable breakpoints and delete when hit enable breakpoints once -- Enable breakpoints for one hit Type "help enable breakpoints" followed by enable breakpoints subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help enable breakpoints help enable delete Enable breakpoints and delete when hit. Give breakpoint numbers. If a breakpoint is hit while enabled in this fashion, it is deleted. (gdb) PASS: gdb.base/help.exp: help enable delete help enable display Enable some expressions to be displayed when program stops. Arguments are the code numbers of the expressions to resume displaying. No argument means enable all automatic-display expressions. Do "info display" to see current list of code numbers. (gdb) PASS: gdb.base/help.exp: help enable display help enable once Enable breakpoints for one hit. Give breakpoint numbers. If a breakpoint is hit while enabled in this fashion, it becomes disabled. (gdb) PASS: gdb.base/help.exp: help enable once help enable Enable some breakpoints. Give breakpoint numbers (separated by spaces) as arguments. With no subcommand, breakpoints are enabled until you command otherwise. This is used to cancel the effect of the "disable" command. With a subcommand you can enable temporarily. List of enable subcommands: enable delete -- Enable breakpoints and delete when hit enable display -- Enable some expressions to be displayed when program stops enable once -- Enable breakpoints for one hit enable tracepoints -- Enable specified tracepoints Type "help enable" followed by enable subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help enable help exec-file Use FILE as program for getting contents of pure memory. If FILE cannot be found as specified, your execution directory path is searched for a command of that name. No arg means have no executable file. (gdb) PASS: gdb.base/help.exp: help exec-file help f Select and print a stack frame. With no argument, print the selected stack frame. (See also "info frame"). An argument specifies the frame to select. It can be a stack frame number or the address of the frame. With argument, nothing is printed if input is coming from a command file or a user-defined command. (gdb) PASS: gdb.base/help.exp: help frame "f" abbreviation help frame Select and print a stack frame. With no argument, print the selected stack frame. (See also "info frame"). An argument specifies the frame to select. It can be a stack frame number or the address of the frame. With argument, nothing is printed if input is coming from a command file or a user-defined command. (gdb) PASS: gdb.base/help.exp: help frame help fg Continue program being debugged, after signal or breakpoint. If proceeding from breakpoint, a number N may be used as an argument, which means to set the ignore count of that breakpoint to N - 1 (so that the breakpoint won't break until the Nth time it is reached). (gdb) PASS: gdb.base/help.exp: help fg help file Use FILE as program to be debugged. It is read for its symbols, for getting the contents of pure memory, and it is the program executed when you use the `run' command. If FILE cannot be found as specified, your execution directory path ($PATH) is searched for a command of that name. No arg means to have no executable file and no symbols. (gdb) PASS: gdb.base/help.exp: help file help files Specifying and examining files. List of commands: add-shared-symbol-files -- Load the symbols from shared objects in the dynamic linker's link map add-symbol-file -- Usage: add-symbol-file FILE ADDR [-s -s cd -- Set working directory to DIR for debugger and program being debugged core-file -- Use FILE as core dump for examining memory and registers directory -- Add directory DIR to beginning of search path for source files exec-file -- Use FILE as program for getting contents of pure memory file -- Use FILE as program to be debugged forward-search -- Search for regular expression (see regex(3)) from last line listed list -- List specified function or line load -- Dynamically load FILE into the running program path -- Add directory DIR(s) to beginning of search path for object files pwd -- Print working directory reverse-search -- Search backward for regular expression (see regex(3)) from last line listed search -- Search for regular expression (see regex(3)) from last line listed section -- Change the base address of section SECTION of the exec file to ADDR set extension-language -- Set mapping between filename extension and source language set gnutarget -- Set the current BFD target sharedlibrary -- Load shared object library symbols for files matching REGEXP show gnutarget -- Show the current BFD target symbol-file -- Load symbol table from executable file FILE Type "help" followed by command name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help files help finish Execute until selected stack frame returns. Upon return, the value returned is printed and put in the value history. (gdb) PASS: gdb.base/help.exp: help finish help forward-search Search for regular expression (see regex(3)) from last line listed. The matching line number is also stored as the value of "$_". (gdb) PASS: gdb.base/help.exp: help forward-search help h Print list of commands. (gdb) PASS: gdb.base/help.exp: help help "h" abbreviation help help Print list of commands. (gdb) PASS: gdb.base/help.exp: help help help handle Specify how to handle a signal. Args are signals and actions to apply to those signals. Symbolic signals (e.g. SIGSEGV) are recommended but numeric signals from 1-15 are allowed for compatibility with old versions of GDB. Numeric ranges may be specified with the form LOW-HIGH (e.g. 1-5). The special arg "all" is recognized to mean all signals except those used by the debugger, typically SIGTRAP and SIGINT. Recognized actions include "stop", "nostop", "print", "noprint", "pass", "nopass", "ignore", or "noignore". Stop means reenter debugger if this signal happens (implies print). Print means print a message if this signal happens. Pass means let program see this signal; otherwise program doesn't know. Ignore is a synonym for nopass and noignore is a synonym for pass. Pass and Stop may be combined. (gdb) PASS: gdb.base/help.exp: help handle help i Generic command for showing things about the program being debugged. List of info subcommands: info address -- Describe where symbol SYM is stored info all-registers -- List of all registers and their contents info architecture -- List supported target architectures info args -- Argument variables of current stack frame info breakpoints -- Status of user-settable breakpoints info catch -- Exceptions that can be caught in the current stack frame info common -- Print out the values contained in a Fortran COMMON block info copying -- Conditions for redistributing copies of GDB info dcache -- Print information on the dcache performance info display -- Expressions to display when program stops info extensions -- All filename extensions associated with a source language info files -- Names of targets and files being debugged info float -- Print the status of the floating point unit info frame -- All about selected stack frame info functions -- All function names info handle -- What debugger does when program gets various signals info line -- Core addresses of the code for a source line info locals -- Local variables of current stack frame info program -- Execution status of the program info registers -- List of integer registers and their contents info remote-process -- Query the remote system for process info info scope -- List the variables local to a scope info set -- Show all GDB settings info sharedlibrary -- Status of loaded shared object libraries info signals -- What debugger does when program gets various signals info source -- Information about the current source file info sources -- Source files in the program info stack -- Backtrace of the stack info symbol -- Describe what symbol is at location ADDR info target -- Names of targets and files being debugged info terminal -- Print inferior's saved terminal status info threads -- IDs of currently known threads info tracepoints -- Status of tracepoints info types -- All type names info udot -- Print contents of kernel ``struct user'' for current child info variables -- All global and static variable names info warranty -- Various kinds of warranty you do not have info watchpoints -- Synonym for ``info breakpoints'' Type "help info" followed by info subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help info "i" abbreviation help info Generic command for showing things about the program being debugged. List of info subcommands: info address -- Describe where symbol SYM is stored info all-registers -- List of all registers and their contents info architecture -- List supported target architectures info args -- Argument variables of current stack frame info breakpoints -- Status of user-settable breakpoints info catch -- Exceptions that can be caught in the current stack frame info common -- Print out the values contained in a Fortran COMMON block info copying -- Conditions for redistributing copies of GDB info dcache -- Print information on the dcache performance info display -- Expressions to display when program stops info extensions -- All filename extensions associated with a source language info files -- Names of targets and files being debugged info float -- Print the status of the floating point unit info frame -- All about selected stack frame info functions -- All function names info handle -- What debugger does when program gets various signals info line -- Core addresses of the code for a source line info locals -- Local variables of current stack frame info program -- Execution status of the program info registers -- List of integer registers and their contents info remote-process -- Query the remote system for process info info scope -- List the variables local to a scope info set -- Show all GDB settings info sharedlibrary -- Status of loaded shared object libraries info signals -- What debugger does when program gets various signals info source -- Information about the current source file info sources -- Source files in the program info stack -- Backtrace of the stack info symbol -- Describe what symbol is at location ADDR info target -- Names of targets and files being debugged info terminal -- Print inferior's saved terminal status info threads -- IDs of currently known threads info tracepoints -- Status of tracepoints info types -- All type names info udot -- Print contents of kernel ``struct user'' for current child info variables -- All global and static variable names info warranty -- Various kinds of warranty you do not have info watchpoints -- Synonym for ``info breakpoints'' Type "help info" followed by info subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help info help ignore Set ignore-count of breakpoint number N to COUNT. Usage is `ignore N COUNT'. (gdb) PASS: gdb.base/help.exp: help ignore help info address Describe where symbol SYM is stored. (gdb) PASS: gdb.base/help.exp: help info address help info all-registers List of all registers and their contents, for selected stack frame. Register name as argument means describe only that register. (gdb) PASS: gdb.base/help.exp: help info all-registers help info args Argument variables of current stack frame. (gdb) PASS: gdb.base/help.exp: help info args help info breakpoints Status of user-settable breakpoints, or breakpoint number NUMBER. The "Type" column indicates one of: breakpoint - normal breakpoint watchpoint - watchpoint The "Disp" column contains one of "keep", "del", or "dis" to indicate the disposition of the breakpoint after it gets hit. "dis" means that the breakpoint will be disabled. The "Address" and "What" columns indicate the address and file/line number respectively. Convenience variable "$_" and default examine address for "x" are set to the address of the last breakpoint listed. Convenience variable "$bpnum" contains the number of the last breakpoint set. (gdb) PASS: gdb.base/help.exp: help info breakpoints help info catch Exceptions that can be caught in the current stack frame. (gdb) PASS: gdb.base/help.exp: help info catch help info copying Conditions for redistributing copies of GDB. (gdb) PASS: gdb.base/help.exp: help info copying help info display Expressions to display when program stops, with code numbers. (gdb) PASS: gdb.base/help.exp: help info display help info f All about selected stack frame, or frame at ADDR. (gdb) PASS: gdb.base/help.exp: help info frame "f" abbreviation help info frame All about selected stack frame, or frame at ADDR. (gdb) PASS: gdb.base/help.exp: help info frame help info files Names of targets and files being debugged. Shows the entire stack of targets currently in use (including the exec-file, core-file, and process, if any), as well as the symbol file name. (gdb) PASS: gdb.base/help.exp: help info files help info float Print the status of the floating point unit (gdb) PASS: gdb.base/help.exp: help info float help info functions All function names, or those matching REGEXP. (gdb) PASS: gdb.base/help.exp: help info functions help info line Core addresses of the code for a source line. Line can be specified as LINENUM, to list around that line in current file, FILE:LINENUM, to list around that line in that file, FUNCTION, to list around beginning of that function, FILE:FUNCTION, to distinguish among like-named static functions. Default is to describe the last source line that was listed. This sets the default address for "x" to the line's first instruction so that "x/i" suffices to start examining the machine code. The address is also stored as the value of "$_". (gdb) PASS: gdb.base/help.exp: help info line help info locals Local variables of current stack frame. (gdb) PASS: gdb.base/help.exp: help info locals help info program Execution status of the program. (gdb) PASS: gdb.base/help.exp: help info program help info registers List of integer registers and their contents, for selected stack frame. Register name as argument means describe only that register. (gdb) PASS: gdb.base/help.exp: help info registers help info s Backtrace of the stack, or innermost COUNT frames. (gdb) PASS: gdb.base/help.exp: help info stack "s" abbreviation help info stack Backtrace of the stack, or innermost COUNT frames. (gdb) PASS: gdb.base/help.exp: help info stack help info set Show all GDB settings. (gdb) PASS: gdb.base/help.exp: help info set help info signals What debugger does when program gets various signals. Specify a signal as argument to print info on that signal only. (gdb) PASS: gdb.base/help.exp: help info signals help info source Information about the current source file. (gdb) PASS: gdb.base/help.exp: help info source help info sources Source files in the program. (gdb) PASS: gdb.base/help.exp: help info sources help info symbol Describe what symbol is at location ADDR. Only for symbols with fixed locations (global or static scope). (gdb) PASS: gdb.base/help.exp: help info symbol help info target Names of targets and files being debugged. Shows the entire stack of targets currently in use (including the exec-file, core-file, and process, if any), as well as the symbol file name. (gdb) PASS: gdb.base/help.exp: help info target help info terminal Print inferior's saved terminal status. (gdb) PASS: gdb.base/help.exp: help info terminal help info types All type names, or those matching REGEXP. (gdb) PASS: gdb.base/help.exp: help info types help info variables All global and static variable names, or those matching REGEXP. (gdb) PASS: gdb.base/help.exp: help info variables help info warranty Various kinds of warranty you do not have. (gdb) PASS: gdb.base/help.exp: help info warranty help info watchpoints Synonym for ``info breakpoints''. (gdb) PASS: gdb.base/help.exp: help info watchpoints help inspect Same as "print" command, except that if you are running in the epoch environment, the value is printed in its own window. (gdb) PASS: gdb.base/help.exp: help inspect help jump Continue program being debugged at specified line or address. Give as argument either LINENUM or *ADDR, where ADDR is an expression for an address to start at. (gdb) PASS: gdb.base/help.exp: help jump help kill Kill execution of program being debugged. (gdb) PASS: gdb.base/help.exp: help kill help l List specified function or line. With no argument, lists ten more lines after or around previous listing. "list -" lists the ten lines before a previous ten-line listing. One argument specifies a line, and ten lines are listed around that line. Two arguments with comma between specify starting and ending lines to list. Lines can be specified in these ways: LINENUM, to list around that line in current file, FILE:LINENUM, to list around that line in that file, FUNCTION, to list around beginning of that function, FILE:FUNCTION, to distinguish among like-named static functions. *ADDRESS, to list around the line containing that address. With two args if one is empty it stands for ten lines away from the other arg. (gdb) PASS: gdb.base/help.exp: help list "l" abbreviation help list List specified function or line. With no argument, lists ten more lines after or around previous listing. "list -" lists the ten lines before a previous ten-line listing. One argument specifies a line, and ten lines are listed around that line. Two arguments with comma between specify starting and ending lines to list. Lines can be specified in these ways: LINENUM, to list around that line in current file, FILE:LINENUM, to list around that line in that file, FUNCTION, to list around beginning of that function, FILE:FUNCTION, to distinguish among like-named static functions. *ADDRESS, to list around the line containing that address. With two args if one is empty it stands for ten lines away from the other arg. (gdb) PASS: gdb.base/help.exp: help list help load Dynamically load FILE into the running program, and record its symbols for access from GDB. (gdb) PASS: gdb.base/help.exp: help load help make Run the ``make'' program using the rest of the line as arguments. (gdb) PASS: gdb.base/help.exp: help make help n Step program, proceeding through subroutine calls. Like the "step" command as long as subroutine calls do not happen; when they do, the call is treated as one instruction. Argument N means do this N times (or till program stops for another reason). (gdb) PASS: gdb.base/help.exp: help next "n" abbreviation help next Step program, proceeding through subroutine calls. Like the "step" command as long as subroutine calls do not happen; when they do, the call is treated as one instruction. Argument N means do this N times (or till program stops for another reason). (gdb) PASS: gdb.base/help.exp: help next help ni Step one instruction, but proceed through subroutine calls. Argument N means do this N times (or till program stops for another reason). (gdb) PASS: gdb.base/help.exp: help nexti help obscure Obscure features. List of commands: compare-sections -- Compare section data on target to the exec file complete -- List the completions for the rest of the line as a command monitor -- Send a command to the remote monitor (remote targets only) remote -- Send a command to the remote monitor set annotate -- Set annotation_level set download-write-size -- Set the write size used when downloading a program set remote P-packet -- Set use of remote protocol `P' (set-register) packet set remote X-packet -- Set use of remote protocol `X' (binary-download) packet set remote Z-packet -- Set use of remote protocol `Z' packets set remote access-watchpoint-packet -- Set use of remote protocol `Z4' (access-watchpoint) packet set remote binary-download-packet -- Set use of remote protocol `X' (binary-download) packet set remote hardware-breakpoint-packet -- Set use of remote protocol `Z1' (hardware-breakpoint) packet set remote read-watchpoint-packet -- Set use of remote protocol `Z3' (read-watchpoint) packet set remote set-register-packet -- Set use of remote protocol `P' (set-register) packet set remote software-breakpoint-packet -- Set use of remote protocol `Z0' (software-breakpoint) packet set remote write-watchpoint-packet -- Set use of remote protocol `Z2' (write-watchpoint) packet set remoteaddresssize -- Set the maximum size of the address (in bits) in a memory packet show annotate -- Show annotation_level show download-write-size -- Show the write size used when downloading a program show remote P-packet -- Show current use of remote protocol `P' (set-register) packet show remote X-packet -- Show current use of remote protocol `X' (binary-download) packet show remote Z-packet -- Show use of remote protocol `Z' packets show remote access-watchpoint-packet -- Show current use of remote protocol `Z4' (access-watchpoint) packet show remote binary-download-packet -- Show current use of remote protocol `X' (binary-download) packet show remote hardware-breakpoint-packet -- Show current use of remote protocol `Z1' (hardware-breakpoint) packet show remote read-watchpoint-packet -- Show current use of remote protocol `Z3' (read-watchpoint) packet show remote set-register-packet -- Show current use of remote protocol `P' (set-register) packet show remote software-breakpoint-packet -- Show current use of remote protocol `Z0' (software-breakpoint) packet show remote write-watchpoint-packet -- Show current use of remote protocol `Z2' (write-watchpoint) packet show remoteaddresssize -- Show the maximum size of the address (in bits) in a memory packet stop -- There is no `stop' command Type "help" followed by command name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help obscure help output Like "print" but don't put in value history and don't print newline. This is useful in user-defined commands. (gdb) PASS: gdb.base/help.exp: help output help overlay Commands for debugging overlays. List of overlay subcommands: overlay auto -- Enable automatic overlay debugging overlay list-overlays -- List mappings of overlay sections overlay load-target -- Read the overlay mapping state from the target overlay manual -- Enable overlay debugging overlay map-overlay -- Assert that an overlay section is mapped overlay off -- Disable overlay debugging overlay unmap-overlay -- Assert that an overlay section is unmapped Type "help overlay" followed by overlay subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help overlay help overlay off Disable overlay debugging. (gdb) PASS: gdb.base/help.exp: help overlay off help overlay manual Enable overlay debugging. (gdb) PASS: gdb.base/help.exp: help overlay manual help overlay auto Enable automatic overlay debugging. (gdb) PASS: gdb.base/help.exp: help overlay auto help overlay list List mappings of overlay sections. (gdb) PASS: gdb.base/help.exp: help overlay list help overlay map Assert that an overlay section is mapped. (gdb) PASS: gdb.base/help.exp: help overlay map help overlay unmap Assert that an overlay section is unmapped. (gdb) PASS: gdb.base/help.exp: help overlay unmap help overlay load Read the overlay mapping state from the target. (gdb) PASS: gdb.base/help.exp: help overlay load help p Print value of expression EXP. Variables accessible are those of the lexical environment of the selected stack frame, plus all those whose scope is global or an entire file. $NUM gets previous value number NUM. $ and $$ are the last two values. $$NUM refers to NUM'th value back from the last one. Names starting with $ refer to registers (with the values they would have if the program were to return to the stack frame now selected, restoring all registers saved by frames farther in) or else to debugger "convenience" variables (any such name not a known register). Use assignment expressions to give values to convenience variables. {TYPE}ADREXP refers to a datum of data type TYPE, located at address ADREXP. @ is a binary operator for treating consecutive data objects anywhere in memory as an array. FOO@NUM gives an array whose first element is FOO, whose second element is stored in the space following where FOO is stored, etc. FOO must be an expression whose value resides in memory. EXP may be preceded with /FMT, where FMT is a format letter but no count or size letter (see "x" command). (gdb) PASS: gdb.base/help.exp: help print "p" abbreviation help print Print value of expression EXP. Variables accessible are those of the lexical environment of the selected stack frame, plus all those whose scope is global or an entire file. $NUM gets previous value number NUM. $ and $$ are the last two values. $$NUM refers to NUM'th value back from the last one. Names starting with $ refer to registers (with the values they would have if the program were to return to the stack frame now selected, restoring all registers saved by frames farther in) or else to debugger "convenience" variables (any such name not a known register). Use assignment expressions to give values to convenience variables. {TYPE}ADREXP refers to a datum of data type TYPE, located at address ADREXP. @ is a binary operator for treating consecutive data objects anywhere in memory as an array. FOO@NUM gives an array whose first element is FOO, whose second element is stored in the space following where FOO is stored, etc. FOO must be an expression whose value resides in memory. EXP may be preceded with /FMT, where FMT is a format letter but no count or size letter (see "x" command). (gdb) PASS: gdb.base/help.exp: help print help path Add directory DIR(s) to beginning of search path for object files. $cwd in the path means the current working directory. This path is equivalent to the $PATH shell variable. It is a list of directories, separated by colons. These directories are searched to find fully linked executable files and separately compiled object files as needed. (gdb) PASS: gdb.base/help.exp: help path help printcmds Undefined command: "printcmds". Try "help". (gdb) PASS: gdb.base/help.exp: help printcmds help printf printf "printf format string", arg1, arg2, arg3, ..., argn This is useful for formatted output in user-defined commands. (gdb) PASS: gdb.base/help.exp: help printf help ptype Print definition of type TYPE. Argument may be a type name defined by typedef, or "struct STRUCT-TAG" or "class CLASS-NAME" or "union UNION-TAG" or "enum ENUM-TAG". The selected stack frame's lexical context is used to look up the name. (gdb) PASS: gdb.base/help.exp: help ptype help pwd Print working directory. This is used for your program as well. (gdb) PASS: gdb.base/help.exp: help pwd help q Exit gdb. (gdb) PASS: gdb.base/help.exp: help quit "q" abbreviation help quit Exit gdb. (gdb) PASS: gdb.base/help.exp: help quit help r Start debugged program. You may specify arguments to give it. Args may include "*", or "[...]"; they are expanded using "sh". Input and output redirection with ">", "<", or ">>" are also allowed. With no arguments, uses arguments last specified (with "run" or "set args"). To cancel previous arguments and run with no arguments, use "set args" without arguments. (gdb) PASS: gdb.base/help.exp: help run "r" abbreviation help run Start debugged program. You may specify arguments to give it. Args may include "*", or "[...]"; they are expanded using "sh". Input and output redirection with ">", "<", or ">>" are also allowed. With no arguments, uses arguments last specified (with "run" or "set args"). To cancel previous arguments and run with no arguments, use "set args" without arguments. (gdb) PASS: gdb.base/help.exp: help run help rbreak Set a breakpoint for all functions matching REGEXP. (gdb) PASS: gdb.base/help.exp: help rbreak help return Make selected stack frame return to its caller. Control remains in the debugger, but when you continue execution will resume in the frame above the one now selected. If an argument is given, it is an expression for the value to return. (gdb) PASS: gdb.base/help.exp: help return help reverse-search Search backward for regular expression (see regex(3)) from last line listed. The matching line number is also stored as the value of "$_". (gdb) PASS: gdb.base/help.exp: help reverse-search help running Running the program. List of commands: attach -- Attach to a process or file outside of GDB continue -- Continue program being debugged detach -- Detach a process or file previously attached finish -- Execute until selected stack frame returns handle -- Specify how to handle a signal info handle -- What debugger does when program gets various signals interrupt -- Interrupt the execution of the debugged program jump -- Continue program being debugged at specified line or address kill -- Kill execution of program being debugged next -- Step program nexti -- Step one instruction run -- Start debugged program set args -- Set argument list to give program being debugged when it is started set environment -- Set environment variable value to give the program set follow-fork-mode -- Set debugger response to a program call of fork or vfork set scheduler-locking -- Set mode for locking scheduler during execution set step-mode -- Set mode of the step operation show args -- Show argument list to give program being debugged when it is started show follow-fork-mode -- Show debugger response to a program call of fork or vfork show scheduler-locking -- Show mode for locking scheduler during execution show step-mode -- Show mode of the step operation signal -- Continue program giving it signal specified by the argument step -- Step program until it reaches a different source line stepi -- Step one instruction exactly target -- Connect to a target machine or process thread -- Use this command to switch between threads thread apply -- Apply a command to a list of threads apply all -- Apply a command to all threads tty -- Set terminal for future runs of program being debugged unset environment -- Cancel environment variable VAR for the program until -- Execute until the program reaches a source line greater than the current Type "help" followed by command name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help running help s Step program until it reaches a different source line. Argument N means do this N times (or till program stops for another reason). (gdb) PASS: gdb.base/help.exp: help step "s" abbreviation help step Step program until it reaches a different source line. Argument N means do this N times (or till program stops for another reason). (gdb) PASS: gdb.base/help.exp: help step #1 help search Search for regular expression (see regex(3)) from last line listed. The matching line number is also stored as the value of "$_". (gdb) PASS: gdb.base/help.exp: help search help section Change the base address of section SECTION of the exec file to ADDR. This can be used if the exec file does not contain section addresses, (such as in the a.out format), or when the addresses specified in the file itself are wrong. Each section must be changed separately. The ``info files'' command lists all the sections and their addresses. (gdb) PASS: gdb.base/help.exp: help section help set annotate Set annotation_level. 0 == normal; 1 == fullname (for use when running under emacs) 2 == output annotated suitably for use by programs that control GDB. (gdb) PASS: gdb.base/help.exp: help set annotate help set args Set argument list to give program being debugged when it is started. Follow this command with any number of args, to be passed to the program. (gdb) PASS: gdb.base/help.exp: help set args help set c Set the status of the type/range checker List of set check subcommands: set check range -- Set range checking set check type -- Set type checking Type "help set check" followed by set check subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help set check "c" abbreviation help set ch Set the status of the type/range checker List of set check subcommands: set check range -- Set range checking set check type -- Set type checking Type "help set check" followed by set check subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help set check "ch" abbreviation help set check Set the status of the type/range checker List of set check subcommands: set check range -- Set range checking set check type -- Set type checking Type "help set check" followed by set check subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help set check help set check range Set range checking. (on/warn/off/auto) (gdb) PASS: gdb.base/help.exp: help set check range help set check type Set type checking. (on/warn/off/auto) (gdb) PASS: gdb.base/help.exp: help set check type help set complaints Set max number of complaints about incorrect symbols. (gdb) PASS: gdb.base/help.exp: help set complaints help set confirm Set whether to confirm potentially dangerous operations. (gdb) PASS: gdb.base/help.exp: help set confirm help set editing Set editing of command lines as they are typed. Use "on" to enable the editing, and "off" to disable it. Without an argument, command line editing is enabled. To edit, use EMACS-like or VI-like commands like control-P or ESC. (gdb) PASS: gdb.base/help.exp: help set editing help set environment Set environment variable value to give the program. Arguments are VAR VALUE where VAR is variable name and VALUE is value. VALUES of environment variables are uninterpreted strings. This does not affect the program until the next "run" command. (gdb) PASS: gdb.base/help.exp: help set environment help set height Set number of lines gdb thinks are in a page. (gdb) PASS: gdb.base/help.exp: help set height help set history expansion Set history expansion on command input. Without an argument, history expansion is enabled. (gdb) PASS: gdb.base/help.exp: help set history expansion help set history filename Set the filename in which to record the command history (the list of previous commands of which a record is kept). (gdb) PASS: gdb.base/help.exp: help set history filename help set history save Set saving of the history record on exit. Use "on" to enable the saving, and "off" to disable it. Without an argument, saving is enabled. (gdb) PASS: gdb.base/help.exp: help set history save help set history size Set the size of the command history, ie. the number of previous commands to keep a record of. (gdb) PASS: gdb.base/help.exp: help set history size help set history Generic command for setting command history parameters. List of set history subcommands: set history expansion -- Set history expansion on command input set history filename -- Set the filename in which to record the command history set history save -- Set saving of the history record on exit set history size -- Set the size of the command history Type "help set history" followed by set history subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help set history help set language Set the current source language. (gdb) PASS: gdb.base/help.exp: help set language help set listsize Set number of source lines gdb will list by default. (gdb) PASS: gdb.base/help.exp: help set listsize help set p Generic command for setting how things print. List of set print subcommands: set print address -- Set printing of addresses set print array -- Set prettyprinting of arrays set print asm-demangle -- Set demangling of C++ names in disassembly listings set print demangle -- Set demangling of encoded C++ names when displaying symbols set print elements -- Set limit on string chars or array elements to print set print max-symbolic-offset -- Set the largest offset that will be printed in form set print null-stop -- Set printing of char arrays to stop at first null char set print object -- Set printing of object's derived type based on vtable info set print pascal_static-members -- Set printing of pascal static members set print pretty -- Set prettyprinting of structures set print repeats -- Set threshold for repeated print elements set print sevenbit-strings -- Set printing of 8-bit characters in strings as \nnn set print static-members -- Set printing of C++ static members set print symbol-filename -- Set printing of source filename and line number with set print union -- Set printing of unions interior to structures set print vtbl -- Set printing of C++ virtual function tables Type "help set print" followed by set print subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help set print "p" abbreviatio help set pr Generic command for setting how things print. List of set print subcommands: set print address -- Set printing of addresses set print array -- Set prettyprinting of arrays set print asm-demangle -- Set demangling of C++ names in disassembly listings set print demangle -- Set demangling of encoded C++ names when displaying symbols set print elements -- Set limit on string chars or array elements to print set print max-symbolic-offset -- Set the largest offset that will be printed in form set print null-stop -- Set printing of char arrays to stop at first null char set print object -- Set printing of object's derived type based on vtable info set print pascal_static-members -- Set printing of pascal static members set print pretty -- Set prettyprinting of structures set print repeats -- Set threshold for repeated print elements set print sevenbit-strings -- Set printing of 8-bit characters in strings as \nnn set print static-members -- Set printing of C++ static members set print symbol-filename -- Set printing of source filename and line number with set print union -- Set printing of unions interior to structures set print vtbl -- Set printing of C++ virtual function tables Type "help set print" followed by set print subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help set print "pr" abbreviation help set print Generic command for setting how things print. List of set print subcommands: set print address -- Set printing of addresses set print array -- Set prettyprinting of arrays set print asm-demangle -- Set demangling of C++ names in disassembly listings set print demangle -- Set demangling of encoded C++ names when displaying symbols set print elements -- Set limit on string chars or array elements to print set print max-symbolic-offset -- Set the largest offset that will be printed in form set print null-stop -- Set printing of char arrays to stop at first null char set print object -- Set printing of object's derived type based on vtable info set print pascal_static-members -- Set printing of pascal static members set print pretty -- Set prettyprinting of structures set print repeats -- Set threshold for repeated print elements set print sevenbit-strings -- Set printing of 8-bit characters in strings as \nnn set print static-members -- Set printing of C++ static members set print symbol-filename -- Set printing of source filename and line number with set print union -- Set printing of unions interior to structures set print vtbl -- Set printing of C++ virtual function tables Type "help set print" followed by set print subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help set print help set print address Set printing of addresses. (gdb) PASS: gdb.base/help.exp: help set print address help set print array Set prettyprinting of arrays. (gdb) PASS: gdb.base/help.exp: help set print array help set print asm-demangle Set demangling of C++ names in disassembly listings. (gdb) PASS: gdb.base/help.exp: help set print asm-demangle help set print demangle Set demangling of encoded C++ names when displaying symbols. (gdb) PASS: gdb.base/help.exp: help set print demangle help set print elements Set limit on string chars or array elements to print. "set print elements 0" causes there to be no limit. (gdb) PASS: gdb.base/help.exp: help set print elements help set print object Set printing of object's derived type based on vtable info. (gdb) PASS: gdb.base/help.exp: help set print object help set print pretty Set prettyprinting of structures. (gdb) PASS: gdb.base/help.exp: help set print pretty help set print sevenbit-strings Set printing of 8-bit characters in strings as \nnn. (gdb) PASS: gdb.base/help.exp: help set print sevenbit-strings help set print union Set printing of unions interior to structures. (gdb) PASS: gdb.base/help.exp: help set print union help set print vtbl Set printing of C++ virtual function tables. (gdb) PASS: gdb.base/help.exp: help set print vtbl help set prompt Set gdb's prompt (gdb) PASS: gdb.base/help.exp: help set prompt help set radix Set default input and output number radices. Use 'set input-radix' or 'set output-radix' to independently set each. Without an argument, sets both radices back to the default value of 10. (gdb) PASS: gdb.base/help.exp: help set radix help set symbol-reloading Set dynamic symbol table reloading multiple times in one run. (gdb) PASS: gdb.base/help.exp: help set symbol-reloading help set variable Evaluate expression EXP and assign result to variable VAR, using assignment syntax appropriate for the current language (VAR = EXP or VAR := EXP for example). VAR may be a debugger "convenience" variable (names starting with $), a register (a few standard names starting with $), or an actual variable in the program being debugged. EXP is any valid expression. This may usually be abbreviated to simply "set". (gdb) PASS: gdb.base/help.exp: help set variable help set verbose Set verbosity. (gdb) PASS: gdb.base/help.exp: help set verbose help set width Set number of characters gdb thinks are in a line. (gdb) PASS: gdb.base/help.exp: help set width help set write Set writing into executable and core files. (gdb) PASS: gdb.base/help.exp: help set write help shell Execute the rest of the line as a shell command. With no arguments, run an inferior shell. (gdb) PASS: gdb.base/help.exp: help shell help show annotate Show annotation_level. 0 == normal; 1 == fullname (for use when running under emacs) 2 == output annotated suitably for use by programs that control GDB. (gdb) PASS: gdb.base/help.exp: help show annotate help show args Show argument list to give program being debugged when it is started. Follow this command with any number of args, to be passed to the program. (gdb) PASS: gdb.base/help.exp: help show args help show c Show the status of the type/range checker List of show check subcommands: show check range -- Show range checking show check type -- Show type checking Type "help show check" followed by show check subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help show check "c" abbreviation help show check Show the status of the type/range checker List of show check subcommands: show check range -- Show range checking show check type -- Show type checking Type "help show check" followed by show check subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help show check help show check range Show range checking. (on/warn/off/auto) (gdb) PASS: gdb.base/help.exp: help show check range help show check type Show type checking. (on/warn/off/auto) (gdb) PASS: gdb.base/help.exp: help show check type help show commands Show the history of commands you typed. You can supply a command number to start with, or a `+' to start after the previous command number shown. (gdb) PASS: gdb.base/help.exp: help show commands help show complaints Show max number of complaints about incorrect symbols. (gdb) PASS: gdb.base/help.exp: help show complaints help show confirm Show whether to confirm potentially dangerous operations. (gdb) PASS: gdb.base/help.exp: help show confirm help show convenience Debugger convenience ("$foo") variables. These variables are created when you assign them values; thus, "print $foo=1" gives "$foo" the value 1. Values may be any type. A few convenience variables are given values automatically: "$_"holds the last address examined with "x" or "info lines", "$__" holds the contents of the last address examined with "x". (gdb) PASS: gdb.base/help.exp: help show convenience help show directories Current search path for finding source files. $cwd in the path means the current working directory. $cdir in the path means the compilation directory of the source file. (gdb) PASS: gdb.base/help.exp: help show directories help show editing Show editing of command lines as they are typed. Use "on" to enable the editing, and "off" to disable it. Without an argument, command line editing is enabled. To edit, use EMACS-like or VI-like commands like control-P or ESC. (gdb) PASS: gdb.base/help.exp: help show editing help show environment The environment to give the program, or one variable's value. With an argument VAR, prints the value of environment variable VAR to give the program being debugged. With no arguments, prints the entire environment to be given to the program. (gdb) PASS: gdb.base/help.exp: help show environment help show height Show number of lines gdb thinks are in a page. (gdb) PASS: gdb.base/help.exp: help show height help show history expansion Show history expansion on command input. Without an argument, history expansion is enabled. (gdb) PASS: gdb.base/help.exp: help show history expansion help show history filename Show the filename in which to record the command history (the list of previous commands of which a record is kept). (gdb) PASS: gdb.base/help.exp: help show history filename help show history save Show saving of the history record on exit. Use "on" to enable the saving, and "off" to disable it. Without an argument, saving is enabled. (gdb) PASS: gdb.base/help.exp: help show history save help show history size Show the size of the command history, ie. the number of previous commands to keep a record of. (gdb) PASS: gdb.base/help.exp: help show history size help show history Generic command for showing command history parameters. List of show history subcommands: show history expansion -- Show history expansion on command input show history filename -- Show the filename in which to record the command history show history save -- Show saving of the history record on exit show history size -- Show the size of the command history Type "help show history" followed by show history subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help show history help show language Show the current source language. (gdb) PASS: gdb.base/help.exp: help show language help show listsize Show number of source lines gdb will list by default. (gdb) PASS: gdb.base/help.exp: help show listsize help show p Generic command for showing print settings. List of show print subcommands: show print address -- Show printing of addresses show print array -- Show prettyprinting of arrays show print asm-demangle -- Show demangling of C++ names in disassembly listings show print demangle -- Show demangling of encoded C++ names when displaying symbols show print elements -- Show limit on string chars or array elements to print show print max-symbolic-offset -- Show the largest offset that will be printed in form show print null-stop -- Show printing of char arrays to stop at first null char show print object -- Show printing of object's derived type based on vtable info show print pascal_static-members -- Show printing of pascal static members show print pretty -- Show prettyprinting of structures show print repeats -- Show threshold for repeated print elements show print sevenbit-strings -- Show printing of 8-bit characters in strings as \nnn show print static-members -- Show printing of C++ static members show print symbol-filename -- Show printing of source filename and line number with show print union -- Show printing of unions interior to structures show print vtbl -- Show printing of C++ virtual function tables Type "help show print" followed by show print subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help show print "p" abbreviation help show pr Generic command for showing print settings. List of show print subcommands: show print address -- Show printing of addresses show print array -- Show prettyprinting of arrays show print asm-demangle -- Show demangling of C++ names in disassembly listings show print demangle -- Show demangling of encoded C++ names when displaying symbols show print elements -- Show limit on string chars or array elements to print show print max-symbolic-offset -- Show the largest offset that will be printed in form show print null-stop -- Show printing of char arrays to stop at first null char show print object -- Show printing of object's derived type based on vtable info show print pascal_static-members -- Show printing of pascal static members show print pretty -- Show prettyprinting of structures show print repeats -- Show threshold for repeated print elements show print sevenbit-strings -- Show printing of 8-bit characters in strings as \nnn show print static-members -- Show printing of C++ static members show print symbol-filename -- Show printing of source filename and line number with show print union -- Show printing of unions interior to structures show print vtbl -- Show printing of C++ virtual function tables Type "help show print" followed by show print subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help show print "pr" abbreviation help show print Generic command for showing print settings. List of show print subcommands: show print address -- Show printing of addresses show print array -- Show prettyprinting of arrays show print asm-demangle -- Show demangling of C++ names in disassembly listings show print demangle -- Show demangling of encoded C++ names when displaying symbols show print elements -- Show limit on string chars or array elements to print show print max-symbolic-offset -- Show the largest offset that will be printed in form show print null-stop -- Show printing of char arrays to stop at first null char show print object -- Show printing of object's derived type based on vtable info show print pascal_static-members -- Show printing of pascal static members show print pretty -- Show prettyprinting of structures show print repeats -- Show threshold for repeated print elements show print sevenbit-strings -- Show printing of 8-bit characters in strings as \nnn show print static-members -- Show printing of C++ static members show print symbol-filename -- Show printing of source filename and line number with show print union -- Show printing of unions interior to structures show print vtbl -- Show printing of C++ virtual function tables Type "help show print" followed by show print subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help show print help show paths Current search path for finding object files. $cwd in the path means the current working directory. This path is equivalent to the $PATH shell variable. It is a list of directories, separated by colons. These directories are searched to find fully linked executable files and separately compiled object files as needed. (gdb) PASS: gdb.base/help.exp: help show paths help show print address Show printing of addresses. (gdb) PASS: gdb.base/help.exp: help show print address help show print array Show prettyprinting of arrays. (gdb) PASS: gdb.base/help.exp: help show print array help show print asm-demangle Show demangling of C++ names in disassembly listings. (gdb) PASS: gdb.base/help.exp: help show print asm-demangle help show print demangle Show demangling of encoded C++ names when displaying symbols. (gdb) PASS: gdb.base/help.exp: help show print demangle help show print elements Show limit on string chars or array elements to print. "set print elements 0" causes there to be no limit. (gdb) PASS: gdb.base/help.exp: help show print elements help show print object Show printing of object's derived type based on vtable info. (gdb) PASS: gdb.base/help.exp: help show print object help show print pretty Show prettyprinting of structures. (gdb) PASS: gdb.base/help.exp: help show print pretty help show print sevenbit-strings Show printing of 8-bit characters in strings as \nnn. (gdb) PASS: gdb.base/help.exp: help show print sevenbit-strings help show print union Show printing of unions interior to structures. (gdb) PASS: gdb.base/help.exp: help show print union help show print vtbl Show printing of C++ virtual function tables. (gdb) PASS: gdb.base/help.exp: help show print vtbl help show prompt Show gdb's prompt (gdb) PASS: gdb.base/help.exp: help show prompt help show radix Show the default input and output number radices. Use 'show input-radix' or 'show output-radix' to independently show each. (gdb) PASS: gdb.base/help.exp: help show radix help show symbol-reloading Show dynamic symbol table reloading multiple times in one run. (gdb) PASS: gdb.base/help.exp: help show symbol-reloading help show user Show definitions of user defined commands. Argument is the name of the user defined command. With no argument, show definitions of all user defined commands. (gdb) PASS: gdb.base/help.exp: help show user help show values Elements of value history around item number IDX (or last ten). (gdb) PASS: gdb.base/help.exp: help show values help show verbose Show verbosity. (gdb) PASS: gdb.base/help.exp: help show verbose help show version Show what version of GDB this is. (gdb) PASS: gdb.base/help.exp: help show version help show width Show number of characters gdb thinks are in a line. (gdb) PASS: gdb.base/help.exp: help show width help show write Show writing into executable and core files. (gdb) PASS: gdb.base/help.exp: help show write help step Step program until it reaches a different source line. Argument N means do this N times (or till program stops for another reason). (gdb) PASS: gdb.base/help.exp: help step #2 help si Step one instruction exactly. Argument N means do this N times (or till program stops for another reason). (gdb) PASS: gdb.base/help.exp: help stepi "si" abbreviation help stepi Step one instruction exactly. Argument N means do this N times (or till program stops for another reason). (gdb) PASS: gdb.base/help.exp: help stepi help signal Continue program giving it signal specified by the argument. An argument of "0" means continue program without giving it a signal. (gdb) PASS: gdb.base/help.exp: help signal help source Read commands from a file named FILE. Note that the file ".gdbinit" is read automatically in this way when gdb is started. (gdb) PASS: gdb.base/help.exp: help source help stack Examining the stack. The stack is made up of stack frames. Gdb assigns numbers to stack frames counting from zero for the innermost (currently executing) frame. At any time gdb identifies one frame as the "selected" frame. Variable lookups are done with respect to the selected frame. When the program being debugged stops, gdb selects the innermost frame. The commands below can be used to select other frames by number or address. List of commands: backtrace -- Print backtrace of all stack frames bt -- Print backtrace of all stack frames down -- Select and print stack frame called by this one frame -- Select and print a stack frame return -- Make selected stack frame return to its caller select-frame -- Select a stack frame without printing anything up -- Select and print stack frame that called this one Type "help" followed by command name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help stack help status Status inquiries. List of commands: info -- Generic command for showing things about the program being debugged show -- Generic command for showing things about the debugger Type "help" followed by command name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help status help symbol-file Load symbol table from executable file FILE. The `file' command can also load symbol tables, as well as setting the file to execute. (gdb) PASS: gdb.base/help.exp: help symbol-file help target child Unix child process (started by the "run" command). (gdb) PASS: gdb.base/help.exp: help target child help target procfs Undefined target command: "procfs". Try "help target". (gdb) PASS: gdb.base/help.exp: help target procfs (procfs version) help target core Use a core file as a target. Specify the filename of the core file. (gdb) PASS: gdb.base/help.exp: help target core help target exec Use an executable file as a target. Specify the filename of the executable file. (gdb) PASS: gdb.base/help.exp: help target exec help target remote Use a remote computer via a serial line, using a gdb-specific protocol. Specify the serial device it is connected to (e.g. /dev/ttyS0, /dev/ttya, COM1, etc.). (gdb) PASS: gdb.base/help.exp: help target remote help target Connect to a target machine or process. The first argument is the type or protocol of the target machine. Remaining arguments are interpreted by the target protocol. For more information on the arguments for a particular protocol, type `help target ' followed by the protocol name. List of target subcommands: target async -- Use a remote computer via a serial line target child -- Unix child process (started by the "run" command) target cisco -- Use a remote machine via TCP target core -- Use a core file as a target target exec -- Use an executable file as a target target extended-async -- Use a remote computer via a serial line target extended-remote -- Use a remote computer via a serial line target lwp-layer -- Low level threads support (LWP layer) target multi-thread -- Threads and pthreads support target remote -- Use a remote computer via a serial line Type "help target" followed by target subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help target help tbreak Set a temporary breakpoint. Args like "break" command. Like "break" except the breakpoint is only temporary, so it will be deleted when hit. Equivalent to "break" followed by using "enable delete" on the breakpoint number. (gdb) PASS: gdb.base/help.exp: help tbreak help tty Set terminal for future runs of program being debugged. (gdb) PASS: gdb.base/help.exp: help tty help u Execute until the program reaches a source line greater than the current or a specified line or address or function (same args as break command). Execution will also stop upon exit from the current stack frame. (gdb) PASS: gdb.base/help.exp: help until "u" abbreviation help until Execute until the program reaches a source line greater than the current or a specified line or address or function (same args as break command). Execution will also stop upon exit from the current stack frame. (gdb) PASS: gdb.base/help.exp: help until help undisplay Cancel some expressions to be displayed when program stops. Arguments are the code numbers of the expressions to stop displaying. No argument means cancel all automatic-display expressions. "delete display" has the same effect as this command. Do "info display" to see current list of code numbers. (gdb) PASS: gdb.base/help.exp: help undisplay help unset environment Cancel environment variable VAR for the program. This does not affect the program until the next "run" command. (gdb) PASS: gdb.base/help.exp: help unset environment help unset Complement to certain "set" commands List of unset subcommands: unset environment -- Cancel environment variable VAR for the program Type "help unset" followed by unset subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help unset help up Select and print stack frame that called this one. An argument says how many frames up to go. (gdb) PASS: gdb.base/help.exp: help up help up-silently Same as the `up' command, but does not print anything. This is useful in command scripts. (gdb) PASS: gdb.base/help.exp: help up-silently help user-defined User-defined commands. The commands in this class are those defined by the user. Use the "define" command to define a command. List of commands: Type "help" followed by command name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/help.exp: help user-defined help watch Set a watchpoint for an expression. A watchpoint stops execution of your program whenever the value of an expression changes. (gdb) PASS: gdb.base/help.exp: help watch help whatis Print data type of expression EXP. (gdb) PASS: gdb.base/help.exp: help whatis help where Print backtrace of all stack frames, or innermost COUNT frames. With a negative argument, print outermost -COUNT frames. Use of the 'full' qualifier also prints the values of the local variables. (gdb) PASS: gdb.base/help.exp: help where help x Examine memory: x/FMT ADDRESS. ADDRESS is an expression for the memory address to examine. FMT is a repeat count followed by a format letter and a size letter. Format letters are o(octal), x(hex), d(decimal), u(unsigned decimal), t(binary), f(float), a(address), i(instruction), c(char) and s(string). Size letters are b(byte), h(halfword), w(word), g(giant, 8 bytes). The specified number of objects of the specified size are printed according to the format. Defaults for format and size letters are those previously used. Default count is 1. Default address is following last thing printed with this command or "print". (gdb) PASS: gdb.base/help.exp: help x help info bogus-gdb-command Undefined info command: "bogus-gdb-command". Try "help info". (gdb) PASS: gdb.base/help.exp: help info bogus-gdb-command help gotcha Undefined command: "gotcha". Try "help". (gdb) PASS: gdb.base/help.exp: help gotcha apropos \(print[^ bsiedf\".]\) handle -- Specify how to handle a signal (gdb) PASS: gdb.base/help.exp: apropos \(print[^ bsiedf\".]\) apropos handle a signal handle -- Specify how to handle a signal (gdb) PASS: gdb.base/help.exp: apropos handle a signal apropos apropos apropos -- Search for commands matching a REGEXP (gdb) PASS: gdb.base/help.exp: apropos apropos testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/help.exp completed in 5 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/interrupt.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/interrupt.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/interrupt (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/interrupt.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/interrupt spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/interrupt Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/interrupt...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/interrupt (gdb) shell stty intr '^C' (gdb) PASS: gdb.base/interrupt.exp: set interrupt character in interrupt.exp delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x8048526: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/interrupt.c, line 14. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/interrupt Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/interrupt.c:14 14 printf ("talk to me baby\n"); (gdb) continue Continuing. talk to me baby PASS: gdb.base/interrupt.exp: child process is alive a PASS: gdb.base/interrupt.exp: child process ate our char Program received signal SIGINT, Interrupt. 0x400e0ad4 in read () from /lib/libc.so.6 (gdb) PASS: gdb.base/interrupt.exp: send_gdb control C p func1 () Program received signal SIGSEGV, Segmentation fault. The program being debugged was signaled while in a function called from GDB. GDB remains in the frame where the signal was received. To change this behavior use "set unwindonsignal on" Evaluation of the expression containing the function (func1) will be abandoned. (gdb) XFAIL: gdb.base/interrupt.exp: child died when we called func1, skipped rest of tests testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/interrupt.exp completed in 3 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/jump.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/jump.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/jump (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/jump.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/jump spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/jump Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/jump...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/jump (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x80483fa: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/jump.c, line 18. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/jump Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/jump.c:18 18 int i = 99; (gdb) break 22 Breakpoint 2 at 0x8048418: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/jump.c, line 22. (gdb) PASS: gdb.base/jump.exp: break before jump to non-call jump 22 Continuing at 0x8048418. Breakpoint 2, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/jump.c:22 22 i--; (gdb) PASS: gdb.base/jump.exp: jump to non-call break 21 Breakpoint 3 at 0x8048404: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/jump.c, line 21. (gdb) PASS: gdb.base/jump.exp: break before jump to call jump 21 Continuing at 0x8048404. Breakpoint 3, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/jump.c:21 21 i = square (i); (gdb) PASS: gdb.base/jump.exp: jump to call disable 3 (gdb) PASS: gdb.base/jump.exp: disable breakpoint on call jump 21 Continuing at 0x8048404. Breakpoint 2, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/jump.c:22 22 i--; (gdb) PASS: gdb.base/jump.exp: jump to call with disabled breakpoint jump Argument required (starting address). (gdb) PASS: gdb.base/jump.exp: jump without argument disallowed jump 21 100 Junk at end of line specification: 100 (gdb) PASS: gdb.base/jump.exp: jump with trailing argument junk jump 12 Line 12 is not in `main'. Jump anyway? (y or n) n Not confirmed. (gdb) PASS: gdb.base/jump.exp: aborted jump out of current function jump 12 Line 12 is not in `main'. Jump anyway? (y or n) y Continuing at 0x80483e3. Program exited with code 01. (gdb) PASS: gdb.base/jump.exp: jump out of current function testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/jump.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/langs.exp ... Executing on host: gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/langs0.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/langs0.c (timeout = 300) spawn gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/langs0.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/langs0.c Executing on host: gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/langs1.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/langs1.c (timeout = 300) spawn gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/langs1.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/langs1.c Executing on host: gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/langs2.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/langs2.c (timeout = 300) spawn gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/langs2.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/langs2.c Executing on host: gcc /cygnus/build/native/gdb/testsuite/gdb.base/langs0.o /cygnus/build/native/gdb/testsuite/gdb.base/langs1.o /cygnus/build/native/gdb/testsuite/gdb.base/langs2.o -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/langs (timeout = 300) spawn gcc /cygnus/build/native/gdb/testsuite/gdb.base/langs0.o /cygnus/build/native/gdb/testsuite/gdb.base/langs1.o /cygnus/build/native/gdb/testsuite/gdb.base/langs2.o -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/langs Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/langs.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/langs.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/langs Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/langs...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/langs (gdb) b langs0 Function "langs0" not defined. (gdb) PASS: gdb.base/langs.exp: break on nonexistent function in langs.exp delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break csub Breakpoint 1 at 0x80483e3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/langs0.c, line 13. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/langs Breakpoint 1, csub (x=5000) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/langs0.c:13 13 return x + 1; (gdb) show language The current source language is "auto; currently c". (gdb) PASS: gdb.base/langs.exp: show language at csub in langs.exp bt #0 csub (x=5000) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/langs0.c:13 #1 0x8048494 in foo__Fi (x=10000) at langs2.cxx:5 #2 0x80484b8 in cppsub_ (y=0x8049534) at langs2.cxx:12 #3 0x804845b in fsub_ () at langs1.f:9 #4 0x80483ff in langs0__2do () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/langs0.c:19 #5 0x8048417 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/langs0.c:29 #6 0x400529cb in __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/langs.exp: backtrace in langs.exp up #1 0x8048494 in foo__Fi (x=10000) at langs2.cxx:5 5 return csub (x / 2); Current language: auto; currently c++ (gdb) PASS: gdb.base/langs.exp: up to foo in langs.exp show language The current source language is "auto; currently c++". (gdb) PASS: gdb.base/langs.exp: show language at foo in langs.exp up #2 0x80484b8 in cppsub_ (y=0x8049534) at langs2.cxx:12 12 return foo (*y); (gdb) PASS: gdb.base/langs.exp: up to cppsub_ in langs.exp show language The current source language is "auto; currently c++". (gdb) PASS: gdb.base/langs.exp: show language at cppsub_ in langs.exp up #3 0x804845b in fsub_ () at langs1.f:9 Line number 9 out of range; langs1.f has 7 lines. Current language: auto; currently fortran (gdb) PASS: gdb.base/langs.exp: up to fsub in langs.exp show language The current source language is "auto; currently fortran". (gdb) PASS: gdb.base/langs.exp: show language at fsub in langs.exp up #4 0x80483ff in langs0__2do () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/langs0.c:19 19 return fsub_ () + 2; Current language: auto; currently c (gdb) PASS: gdb.base/langs.exp: up to langs0__2do in langs.exp show language The current source language is "auto; currently c". (gdb) PASS: gdb.base/langs.exp: show language at langs0__2do in langs.exp up #5 0x8048417 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/langs0.c:29 29 if (langs0__2do () == 5003) (gdb) PASS: gdb.base/langs.exp: up to main in langs.exp show language The current source language is "auto; currently c". (gdb) PASS: gdb.base/langs.exp: show language at main in langs.exp cont Continuing. Program exited normally. (gdb) PASS: gdb.base/langs.exp: continue to exit in langs.exp testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/langs.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/list.exp ... Executing on host: gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/list0.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/list0.c (timeout = 300) spawn gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/list0.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/list0.c Executing on host: gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/list1.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/list1.c (timeout = 300) spawn gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/list1.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/list1.c Executing on host: gcc /cygnus/build/native/gdb/testsuite/gdb.base/list0.o /cygnus/build/native/gdb/testsuite/gdb.base/list1.o -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/list (timeout = 300) spawn gcc /cygnus/build/native/gdb/testsuite/gdb.base/list0.o /cygnus/build/native/gdb/testsuite/gdb.base/list1.o -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/list Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/list.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/list.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/list Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/list...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/list (gdb) set width 0 (gdb) PASS: gdb.base/list.exp: set width 0 show listsize Number of source lines gdb will list by default is 10. (gdb) PASS: gdb.base/list.exp: show default list size list 1 #include "list0.h" 2 3 int main () 4 { 5 int x; 6 #ifdef usestubs 7 set_debug_traps(); 8 breakpoint(); 9 #endif 10 x = 0; (gdb) PASS: gdb.base/list.exp: list default lines around main set listsize 1 (gdb) PASS: gdb.base/list.exp: setting listsize to 1 #1 show listsize Number of source lines gdb will list by default is 1. (gdb) PASS: gdb.base/list.exp: show listsize 1 #1 list 1 1 #include "list0.h" (gdb) PASS: gdb.base/list.exp: list line 1 with listsize 1 list 2 2 (gdb) PASS: gdb.base/list.exp: list line 2 with listsize 1 set listsize 2 (gdb) PASS: gdb.base/list.exp: setting listsize to 2 #2 show listsize Number of source lines gdb will list by default is 2. (gdb) PASS: gdb.base/list.exp: show listsize 2 #2 list 1 1 #include "list0.h" 2 (gdb) PASS: gdb.base/list.exp: list line 1 with listsize 2 list 2 1 #include "list0.h" 2 (gdb) PASS: gdb.base/list.exp: list line 2 with listsize 2 list 3 2 3 int main () (gdb) PASS: gdb.base/list.exp: list line 3 with listsize 2 set listsize 3 (gdb) PASS: gdb.base/list.exp: setting listsize to 3 #3 show listsize Number of source lines gdb will list by default is 3. (gdb) PASS: gdb.base/list.exp: show listsize 3 #3 list 1 1 #include "list0.h" 2 3 int main () (gdb) PASS: gdb.base/list.exp: list line 1 with listsize 3 list 2 1 #include "list0.h" 2 3 int main () (gdb) PASS: gdb.base/list.exp: list line 2 with listsize 3 list 3 2 3 int main () 4 { (gdb) PASS: gdb.base/list.exp: list line 3 with listsize 3 set listsize 4 (gdb) PASS: gdb.base/list.exp: setting listsize to 4 #4 show listsize Number of source lines gdb will list by default is 4. (gdb) PASS: gdb.base/list.exp: show listsize 4 #4 list 1 1 #include "list0.h" 2 3 int main () 4 { (gdb) PASS: gdb.base/list.exp: list line 1 with listsize 4 list 2 1 #include "list0.h" 2 3 int main () 4 { (gdb) PASS: gdb.base/list.exp: list line 2 with listsize 4 list 3 1 #include "list0.h" 2 3 int main () 4 { (gdb) PASS: gdb.base/list.exp: list line 3 with listsize 4 list 4 2 3 int main () 4 { 5 int x; (gdb) PASS: gdb.base/list.exp: list line 4 with listsize 4 set listsize 100 (gdb) PASS: gdb.base/list.exp: setting listsize to 100 #5 show listsize Number of source lines gdb will list by default is 100. (gdb) PASS: gdb.base/list.exp: show listsize 100 #5 list 1 1 #include "list0.h" 2 3 int main () 4 { 5 int x; 6 #ifdef usestubs 7 set_debug_traps(); 8 breakpoint(); 9 #endif 10 x = 0; 11 foo (x++); 12 foo (x++); 13 foo (x++); 14 foo (x++); 15 foo (x++); 16 foo (x++); 17 foo (x++); 18 foo (x++); 19 foo (x++); 20 foo (x++); 21 foo (x++); 22 foo (x++); 23 foo (x++); 24 foo (x++); 25 foo (x++); 26 foo (x++); 27 foo (x++); 28 foo (x++); 29 foo (x++); 30 foo (x++); 31 foo (x++); 32 foo (x++); 33 foo (x++); 34 foo (x++); 35 foo (x++); 36 return 0; 37 } 38 39 static void 40 unused () 41 { 42 /* Not used for anything */ 43 } (gdb) PASS: gdb.base/list.exp: list line 1 with listsize 100 list 10 1 #include "list0.h" 2 3 int main () 4 { 5 int x; 6 #ifdef usestubs 7 set_debug_traps(); 8 breakpoint(); 9 #endif 10 x = 0; 11 foo (x++); 12 foo (x++); 13 foo (x++); 14 foo (x++); 15 foo (x++); 16 foo (x++); 17 foo (x++); 18 foo (x++); 19 foo (x++); 20 foo (x++); 21 foo (x++); 22 foo (x++); 23 foo (x++); 24 foo (x++); 25 foo (x++); 26 foo (x++); 27 foo (x++); 28 foo (x++); 29 foo (x++); 30 foo (x++); 31 foo (x++); 32 foo (x++); 33 foo (x++); 34 foo (x++); 35 foo (x++); 36 return 0; 37 } 38 39 static void 40 unused () 41 { 42 /* Not used for anything */ 43 } (gdb) PASS: gdb.base/list.exp: list line 10 with listsize 100 set listsize 0 (gdb) PASS: gdb.base/list.exp: setting listsize to 0 #6 show listsize Number of source lines gdb will list by default is unlimited. (gdb) PASS: gdb.base/list.exp: show listsize unlimited #6 list 1 (gdb) PASS: gdb.base/list.exp: listsize of 0 suppresses output set listsize -1 (gdb) PASS: gdb.base/list.exp: setting listsize to -1 #7 show listsize Number of source lines gdb will list by default is unlimited. (gdb) PASS: gdb.base/list.exp: show listsize unlimited #7 list 1 (gdb) XFAIL: gdb.base/list.exp: list line 1 with unlimited listsize info source Current source file is /cygnus/src/uberbaum/gdb/testsuite/gdb.base/list0.c Compilation directory is /build/native/gdb/testsuite/ Located in /cygnus/src/uberbaum/gdb/testsuite/gdb.base/list0.c Contains 43 lines. Source language is c. Compiled with stabs debugging format. (gdb) set listsize 10 (gdb) PASS: gdb.base/list.exp: setting listsize to 10 #8 show listsize Number of source lines gdb will list by default is 10. (gdb) PASS: gdb.base/list.exp: show listsize 10 #8 list list0.h:1 1 /* An include file that actually causes code to be generated in the including file. This is known to cause problems on some systems. */ 2 #ifdef PROTOTYPES 3 extern void bar(int); 4 static void foo (int x) 5 #else 6 static void foo (x) int x; 7 #endif 8 { 9 bar (x++); 10 bar (x++); (gdb) PASS: gdb.base/list.exp: list line 1 in include file list list0.h:100 Line number 95 out of range; /cygnus/src/uberbaum/gdb/testsuite/gdb.base/list0.h has 37 lines. (gdb) PASS: gdb.base/list.exp: list message for lines past EOF list list0.c:1 1 #include "list0.h" 2 3 int main () 4 { 5 int x; 6 #ifdef usestubs 7 set_debug_traps(); 8 breakpoint(); 9 #endif 10 x = 0; (gdb) list list0.c:10 5 int x; 6 #ifdef usestubs 7 set_debug_traps(); 8 breakpoint(); 9 #endif 10 x = 0; 11 foo (x++); 12 foo (x++); 13 foo (x++); 14 foo (x++); (gdb) list list1.c:1 1 #include 2 3 #ifdef PROTOTYPES 4 void long_line (); int oof (int); 5 void bar (int x) 6 #else 7 void bar (x) int x; 8 #endif 9 { 10 printf ("%d\n", x); (gdb) list list1.c:12 7 void bar (x) int x; 8 #endif 9 { 10 printf ("%d\n", x); 11 12 long_line (); 13 } 14 15 static void 16 unused () (gdb) PASS: gdb.base/list.exp: list filename:number (4 tests) list main 1 #include "list0.h" 2 3 int main () 4 { 5 int x; 6 #ifdef usestubs 7 set_debug_traps(); 8 breakpoint(); 9 #endif 10 x = 0; (gdb) PASS: gdb.base/list.exp: list function in source file 1 list bar 4 void long_line (); int oof (int); 5 void bar (int x) 6 #else 7 void bar (x) int x; 8 #endif 9 { 10 printf ("%d\n", x); 11 12 long_line (); 13 } (gdb) PASS: gdb.base/list.exp: list function in source file 2 list foo 3 extern void bar(int); 4 static void foo (int x) 5 #else 6 static void foo (x) int x; 7 #endif 8 { 9 bar (x++); 10 bar (x++); 11 bar (x++); 12 bar (x++); (gdb) PASS: gdb.base/list.exp: list function in include file list list0.c:10 5 int x; 6 #ifdef usestubs 7 set_debug_traps(); 8 breakpoint(); 9 #endif 10 x = 0; 11 foo (x++); 12 foo (x++); 13 foo (x++); 14 foo (x++); (gdb) list 15 foo (x++); 16 foo (x++); 17 foo (x++); 18 foo (x++); 19 foo (x++); 20 foo (x++); 21 foo (x++); 22 foo (x++); 23 foo (x++); 24 foo (x++); (gdb) list 25 foo (x++); 26 foo (x++); 27 foo (x++); 28 foo (x++); 29 foo (x++); 30 foo (x++); 31 foo (x++); 32 foo (x++); 33 foo (x++); 34 foo (x++); (gdb) list 35 foo (x++); 36 return 0; 37 } 38 39 static void 40 unused () 41 { 42 /* Not used for anything */ 43 } (gdb) PASS: gdb.base/list.exp: successive list commands to page forward (4 tests) list list0.c:33 28 foo (x++); 29 foo (x++); 30 foo (x++); 31 foo (x++); 32 foo (x++); 33 foo (x++); 34 foo (x++); 35 foo (x++); 36 return 0; 37 } (gdb) list - 18 foo (x++); 19 foo (x++); 20 foo (x++); 21 foo (x++); 22 foo (x++); 23 foo (x++); 24 foo (x++); 25 foo (x++); 26 foo (x++); 27 foo (x++); (gdb) list - 8 breakpoint(); 9 #endif 10 x = 0; 11 foo (x++); 12 foo (x++); 13 foo (x++); 14 foo (x++); 15 foo (x++); 16 foo (x++); 17 foo (x++); (gdb) list - 1 #include "list0.h" 2 3 int main () 4 { 5 int x; 6 #ifdef usestubs 7 set_debug_traps(); (gdb) PASS: gdb.base/list.exp: 4 successive "list -" commands to page backwards list list0.c:10 5 int x; 6 #ifdef usestubs 7 set_debug_traps(); 8 breakpoint(); 9 #endif 10 x = 0; 11 foo (x++); 12 foo (x++); 13 foo (x++); 14 foo (x++); (gdb) 15 foo (x++); 16 foo (x++); 17 foo (x++); 18 foo (x++); 19 foo (x++); 20 foo (x++); 21 foo (x++); 22 foo (x++); 23 foo (x++); 24 foo (x++); (gdb) 25 foo (x++); 26 foo (x++); 27 foo (x++); 28 foo (x++); 29 foo (x++); 30 foo (x++); 31 foo (x++); 32 foo (x++); 33 foo (x++); 34 foo (x++); (gdb) 35 foo (x++); 36 return 0; 37 } 38 39 static void 40 unused () 41 { 42 /* Not used for anything */ 43 } (gdb) PASS: gdb.base/list.exp: repeat list commands to page forward using 'return' (4 tests) list list0.c:2,list0.c:5 2 3 int main () 4 { 5 int x; (gdb) PASS: gdb.base/list.exp: list range; filename:line1,filename:line2 list 2,5 2 3 int main () 4 { 5 int x; (gdb) PASS: gdb.base/list.exp: list range; line1,line2 list 30,45 30 foo (x++); 31 foo (x++); 32 foo (x++); 33 foo (x++); 34 foo (x++); 35 foo (x++); 36 return 0; 37 } 38 39 static void 40 unused () 41 { 42 /* Not used for anything */ 43 } (gdb) PASS: gdb.base/list.exp: list range; upper bound past EOF list 45,100 Line number 45 out of range; /cygnus/src/uberbaum/gdb/testsuite/gdb.base/list0.c has 43 lines. (gdb) PASS: gdb.base/list.exp: list range; both bounds past EOF list list0.c:2,list1.c:17 Specified start and end are in different files. (gdb) PASS: gdb.base/list.exp: list range, must be same files list list0.c:main 1 #include "list0.h" 2 3 int main () 4 { 5 int x; 6 #ifdef usestubs 7 set_debug_traps(); 8 breakpoint(); 9 #endif 10 x = 0; (gdb) list list0.c:unused 36 return 0; 37 } 38 39 static void 40 unused () 41 { 42 /* Not used for anything */ 43 } (gdb) list list0.h:foo 3 extern void bar(int); 4 static void foo (int x) 5 #else 6 static void foo (x) int x; 7 #endif 8 { 9 bar (x++); 10 bar (x++); 11 bar (x++); 12 bar (x++); (gdb) list list1.c:bar 4 void long_line (); int oof (int); 5 void bar (int x) 6 #else 7 void bar (x) int x; 8 #endif 9 { 10 printf ("%d\n", x); 11 12 long_line (); 13 } (gdb) list list1.c:unused 12 long_line (); 13 } 14 15 static void 16 unused () 17 { 18 /* Not used for anything */ 19 } 20 /* This routine has a very long line that will break searching in older versions of GDB. */ 21 #ifdef PROTOTYPES (gdb) PASS: gdb.base/list.exp: list filename:function (5 tests) list list0.c:foo 3 extern void bar(int); 4 static void foo (int x) 5 #else 6 static void foo (x) int x; 7 #endif 8 { 9 bar (x++); 10 bar (x++); 11 bar (x++); 12 bar (x++); (gdb) XFAIL: gdb.base/list.exp: list filename:function; wrong filename rejected list foobar.c:main No source file named foobar.c. (gdb) PASS: gdb.base/list.exp: list filename:function; nonexistant file list list0.h:foobar Function "foobar" not defined. (gdb) PASS: gdb.base/list.exp: list filename:function; nonexistant function set listsize 4 (gdb) PASS: gdb.base/list.exp: set listsize 4 list long_line 23 #endif 24 long_line () 25 { 26 oof (67); (gdb) PASS: gdb.base/list.exp: list long_line search 4321 Expression not found (gdb) PASS: gdb.base/list.exp: search 4321 search 6789 28 oof (6789); (gdb) PASS: gdb.base/list.exp: search 6789 search 1234 30 oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* 5 */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* 10 */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* 15 */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* 20 */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* 25 */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* 30 */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* 35 */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* 40 */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* 45 */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* 50 */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* 55 */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* 60 */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* 65 */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (12); /* */ oof (12); oof (12); oof (12); oof (12); oof (12); oof (1234); /* 70 */ (gdb) PASS: gdb.base/list.exp: search extremely long line (> 5000 chars) Executing on build: rm -f list0.h (timeout = 300) spawn rm -f list0.h testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/list.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/logical.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/int-type (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/int-type Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/int-type.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/int-type.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/int-type Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/int-type...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/int-type (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x80483e3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c, line 17. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/int-type Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c:17 17 x = 14; (gdb) set variable x=0 (gdb) PASS: gdb.base/logical.exp: set variable x=0 set variable y=0 (gdb) PASS: gdb.base/logical.exp: set variable y=0 set variable z=0 (gdb) PASS: gdb.base/logical.exp: set variable z=0 print x $1 = 0 (gdb) PASS: gdb.base/logical.exp: print value of x print y $2 = 0 (gdb) PASS: gdb.base/logical.exp: print value of y print z $3 = 0 (gdb) PASS: gdb.base/logical.exp: print value of z print x && y $4 = 0 (gdb) PASS: gdb.base/logical.exp: print value of xy set variable y=1 (gdb) PASS: gdb.base/logical.exp: set variable y=1 print x && y $7 = 0 (gdb) PASS: gdb.base/logical.exp: print value of xy set variable y=0 (gdb) PASS: gdb.base/logical.exp: set variable y=0 print x && y $12 = 0 (gdb) PASS: gdb.base/logical.exp: print value of x y || w == z $40 = 1 (gdb) PASS: gdb.base/logical.exp: print value of x > y || w == z set variable x=1 (gdb) PASS: gdb.base/logical.exp: set variable x=1 set variable y=2 (gdb) PASS: gdb.base/logical.exp: set variable y=2 set variable w=1 (gdb) PASS: gdb.base/logical.exp: set variable w=1 set variable z=3 (gdb) PASS: gdb.base/logical.exp: set variable z=3 print x >= y && w != z $41 = 0 (gdb) PASS: gdb.base/logical.exp: print value of x >= y || w != z set variable x=2 (gdb) PASS: gdb.base/logical.exp: set variable x=2 set variable y=2 (gdb) PASS: gdb.base/logical.exp: set variable y=2 set variable w=2 (gdb) PASS: gdb.base/logical.exp: set variable w=2 set variable z=3 (gdb) PASS: gdb.base/logical.exp: set variable z=3 print ! x > y || w + z $42 = 1 (gdb) PASS: gdb.base/logical.exp: print value of x > y || w != z testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/logical.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/long_long.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/long_long.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/long_long.ci Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/long_long.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/long_long (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/long_long.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/long_long spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/long_long Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/long_long...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/long_long (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break known_types Breakpoint 1 at 0x804843f: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/long_long.c, line 28. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/long_long Breakpoint 1, known_types () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/long_long.c:28 28 long long bin = 0, oct = 0, dec = 0, hex = 0; (gdb) show endian The target endianness is set automatically (currently little endian) (gdb) print sizeof(int) $1 = 4 (gdb) print sizeof(double) $2 = 8 (gdb) n 4 38 hex = bin - dec | oct; (gdb) PASS: gdb.base/long_long.exp: get to known place p/x hex $3 = 0x0 (gdb) PASS: gdb.base/long_long.exp: hex print p/x p/x dec $4 = 0xab54a98ceb1f0ad2 (gdb) PASS: gdb.base/long_long.exp: decimal print p/x p /x dec $5 = 0xab54a98ceb1f0ad2 (gdb) PASS: gdb.base/long_long.exp: default print dec p /x bin $6 = 0x123456789abcdef (gdb) PASS: gdb.base/long_long.exp: default print bin p /x oct $7 = 0xa72ee53977053977 (gdb) PASS: gdb.base/long_long.exp: default print oct p hex $8 = 0 (gdb) PASS: gdb.base/long_long.exp: default print hex p/u dec $9 = 12345678901234567890 (gdb) PASS: gdb.base/long_long.exp: decimal print p/u p/t bin $10 = 100100011010001010110011110001001101010111100110111101111 (gdb) PASS: gdb.base/long_long.exp: binary print p/o oct $11 = 01234567123456701234567 (gdb) PASS: gdb.base/long_long.exp: octal print p /d bin $12 = 81985529216486895 (gdb) PASS: gdb.base/long_long.exp: print +ve long long p/d dec $13 = -6101065172474983726 (gdb) PASS: gdb.base/long_long.exp: decimal print p/d p/d oct $14 = -6399925985474168457 (gdb) PASS: gdb.base/long_long.exp: p/d oct p/u oct $15 = 12046818088235383159 (gdb) PASS: gdb.base/long_long.exp: p/u oct p/o oct $16 = 01234567123456701234567 (gdb) PASS: gdb.base/long_long.exp: p/o oct p/t oct $17 = 1010011100101110111001010011100101110111000001010011100101110111 (gdb) PASS: gdb.base/long_long.exp: p/t oct p/a oct $18 = 0x77053977 (gdb) PASS: gdb.base/long_long.exp: p/a oct p/c oct $19 = 119 'w' (gdb) PASS: gdb.base/long_long.exp: p/c oct p/f oct $20 = -5.9822653797615723e-120 (gdb) PASS: gdb.base/long_long.exp: p/f oct testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/long_long.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/maint.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/break (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/break spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/break Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/break...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/break (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x80484d2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c, line 75. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/break Breakpoint 1, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 75 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ (gdb) set height 0 (gdb) maint check-symtabs (gdb) PASS: gdb.base/maint.exp: maint check-symtabs maint space "maintenance space" takes a numeric argument. (gdb) PASS: gdb.base/maint.exp: maint space maint space 1 Space used: 1003004 (+1003004 for this command) (gdb) PASS: gdb.base/maint.exp: maint space 1 maint time "maintenance time" takes a numeric argument. Space used: 1003004 (+0 for this command) (gdb) PASS: gdb.base/maint.exp: maint time maint time 1 Command execution time: 0.000000 Space used: 1003004 (+0 for this command) (gdb) PASS: gdb.base/maint.exp: maint time 1 maint time 0 Space used: 1003004 (+0 for this command) (gdb) PASS: gdb.base/maint.exp: maint time 0 maint space 0 (gdb) PASS: gdb.base/maint.exp: maint space 0 maint demangle "maintenance demangle" takes an argument to demangle. (gdb) PASS: gdb.base/maint.exp: maint demangle maint demangle main Can't demangle "main" (gdb) PASS: gdb.base/maint.exp: maint demangle maint print statistics Statistics for '/cygnus/build/native/gdb/testsuite/gdb.base/break': Number of "stab" symbols read: 748 Number of "minimal" symbols read: 43 Number of "partial" symbols read: 227 Number of "types" defined: 284 Space used by a.out string tables: 9561 Total memory used for psymbol obstack: 21877 Total memory used for psymbol cache: 12216 Total memory used for symbol obstack: 24432 Total memory used for type obstack: 24432 Statistics for '/lib/libm.so.6': Number of "minimal" symbols read: 314 Total memory used for psymbol obstack: 4072 Total memory used for psymbol cache: 4072 Total memory used for symbol obstack: 18032 Total memory used for type obstack: 4072 Statistics for '/lib/libc.so.6': Number of "minimal" symbols read: 1712 Total memory used for psymbol obstack: 4072 Total memory used for psymbol cache: 4072 Total memory used for symbol obstack: 99904 Total memory used for type obstack: 4072 Statistics for '/lib/ld-linux.so.2': Number of "minimal" symbols read: 47 Total memory used for psymbol obstack: 4072 Total memory used for psymbol cache: 4072 Total memory used for symbol obstack: 4072 Total memory used for type obstack: 4072 Byte cache statistics for '/cygnus/build/native/gdb/testsuite/gdb.base/break': Cached 'partial symbol cache' statistics: Total object count: 454 Unique object count: 303 Percentage of duplicates, by count: 33% Total object size: 9610 Unique object size: 6405 Percentage of duplicates, by size: 33% Total memory used by bcache, including overhead: 12913 Percentage memory overhead: 101% Net memory savings: -34% Hash table size: 1021 Hash table population: 25% Median hash chain length: 0 Average hash chain length: 0 Maximum hash chain length: 3 Byte cache statistics for '/lib/libm.so.6': Cached 'partial symbol cache' statistics: Total object count: 0 Unique object count: 0 Percentage of duplicates, by count: (not applicable) Total object size: 0 Unique object size: 0 Percentage of duplicates, by size: (not applicable) Total memory used by bcache, including overhead: 0 Percentage memory overhead: (not applicable) Net memory savings: (not applicable) Hash table size: 0 Hash table population: (not applicable) Median hash chain length: 0 Average hash chain length: (not applicable) Maximum hash chain length: 0 Byte cache statistics for '/lib/libc.so.6': Cached 'partial symbol cache' statistics: Total object count: 0 Unique object count: 0 Percentage of duplicates, by count: (not applicable) Total object size: 0 Unique object size: 0 Percentage of duplicates, by size: (not applicable) Total memory used by bcache, including overhead: 0 Percentage memory overhead: (not applicable) Net memory savings: (not applicable) Hash table size: 0 Hash table population: (not applicable) Median hash chain length: 0 Average hash chain length: (not applicable) Maximum hash chain length: 0 Byte cache statistics for '/lib/ld-linux.so.2': Cached 'partial symbol cache' statistics: Total object count: 0 Unique object count: 0 Percentage of duplicates, by count: (not applicable) Total object size: 0 Unique object size: 0 Percentage of duplicates, by size: (not applicable) Total memory used by bcache, including overhead: 0 Percentage memory overhead: (not applicable) Net memory savings: (not applicable) Hash table size: 0 Hash table population: (not applicable) Median hash chain length: 0 Average hash chain length: (not applicable) Maximum hash chain length: 0 (gdb) PASS: gdb.base/maint.exp: maint print statistics maint print objfiles Object file /cygnus/build/native/gdb/testsuite/gdb.base/break: Objfile at 0x837afe0, bfd at 0x8377ee8, 42 minsyms Psymtabs: /usr/include/alloca.h at 0x838aa84, /usr/include/sys/sysmacros.h at 0x838aa08, /usr/include/time.h at 0x838a998, /usr/include/bits/sigset.h at 0x838a920, /usr/include/bits/select.h at 0x838a8a8, /usr/include/sys/select.h at 0x838a830, /usr/include/bits/endian.h at 0x838a7b8, /usr/include/endian.h at 0x838a744, /usr/include/time.h at 0x838a6d4, /usr/include/sys/types.h at 0x838a65c, /usr/include/stdlib.h at 0x838a5e8, /usr/include/bits/stdio_lim.h at 0x838a56c, /usr/lib/gcc-lib/i586-mandrake-linux/2.95.2/include/stdarg.h at 0x8386a8c, /usr/lib/gcc-lib/i586-mandrake-linux/2.95.2/include/stddef.h at 0x83869f0, /usr/include/_G_config.h at 0x8386978, /usr/include/libio.h at 0x8386904, /usr/lib/gcc-lib/i586-mandrake-linux/2.95.2/include/stddef.h at 0x8386868, /usr/include/bits/types.h at 0x83867f0, /usr/lib/gcc-lib/i586-mandrake-linux/2.95.2/include/stdarg.h at 0x8386754, /usr/lib/gcc-lib/i586-mandrake-linux/2.95.2/include/stddef.h at 0x83866b8, /usr/include/gnu/stubs.h at 0x8386640, /usr/include/sys/cdefs.h at 0x83865c8, /usr/include/features.h at 0x8386554, /usr/include/stdio.h at 0x83864e0, /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c at 0x8386454, /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/stddef.h at 0x83863b4, ../sysdeps/unix/sysv/linux/bits/sched.h at 0x8386330, ../linuxthreads/sysdeps/pthread/bits/pthreadtypes.h at 0x83862a0, /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/stddef.h at 0x8386200, ../sysdeps/unix/sysv/linux/bits/types.h at 0x838617c, ../sysdeps/unix/sysv/linux/_G_config.h at 0x83860f8, ../locale/xlocale.h at 0x8386088, ../include/xlocale.h at 0x8386014, ../locale/locale.h at 0x8385fa4, ../include/locale.h at 0x8385f34, /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/stddef.h at 0x8385e94, ../misc/sys/cdefs.h at 0x8385e24, ../include/sys/cdefs.h at 0x8385db0, ../include/features.h at 0x8385d3c, ../intl/libintl.h at 0x8385ccc, ../include/libintl.h at 0x8385c58, /usr/src/bs/BUILD/glibc/build-i386-linux/config.h at 0x8385bc8, ../include/libc-symbols.h at 0x8385b50, init.c at 0x8385934, Symtabs: init.c at 0x83e8b30, ../include/libc-symbols.h at 0x83e8aac, /usr/src/bs/BUILD/glibc/build-i386-linux/config.h at 0x83e8a10, ../include/libintl.h at 0x83e8990, ../intl/libintl.h at 0x83e8914, ../include/features.h at 0x83e8894, ../include/sys/cdefs.h at 0x83e8814, ../misc/sys/cdefs.h at 0x83e8798, /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/stddef.h at 0x83e86ec, ../include/locale.h at 0x83e8670, ../locale/locale.h at 0x83e85f4, ../include/xlocale.h at 0x83e8574, ../locale/xlocale.h at 0x83e84f8, ../sysdeps/unix/sysv/linux/_G_config.h at 0x83e8468, ../sysdeps/unix/sysv/linux/bits/types.h at 0x83e83d8, ../linuxthreads/sysdeps/pthread/bits/pthreadtypes.h at 0x83e833c, ../sysdeps/unix/sysv/linux/bits/sched.h at 0x83e82ac, /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c at 0x8397930, /usr/include/stdio.h at 0x83978b0, /usr/include/features.h at 0x8397830, /usr/include/sys/cdefs.h at 0x83977ac, /usr/include/gnu/stubs.h at 0x8397728, /usr/lib/gcc-lib/i586-mandrake-linux/2.95.2/include/stddef.h at 0x8397680, /usr/lib/gcc-lib/i586-mandrake-linux/2.95.2/include/stdarg.h at 0x83975d8, /usr/include/bits/types.h at 0x8397554, /usr/include/libio.h at 0x83974d4, /usr/include/_G_config.h at 0x8397450, /usr/include/bits/stdio_lim.h at 0x83973c8, /usr/include/stdlib.h at 0x8397348, /usr/include/sys/types.h at 0x83972c4, /usr/include/time.h at 0x8397248, /usr/include/endian.h at 0x83971c8, /usr/include/bits/endian.h at 0x8397144, /usr/include/sys/select.h at 0x83970c0, /usr/include/bits/select.h at 0x839703c, /usr/include/bits/sigset.h at 0x8393328, /usr/include/sys/sysmacros.h at 0x83932a0, /usr/include/alloca.h at 0x8393220, Object file /lib/libm.so.6: Objfile at 0x83a7408, bfd at 0x8396e80, 314 minsyms Object file /lib/libc.so.6: Objfile at 0x83b69c8, bfd at 0x83ac048, 1706 minsyms Object file /lib/ld-linux.so.2: Objfile at 0x83c2d50, bfd at 0x83ac2f8, 47 minsyms (gdb) PASS: gdb.base/maint.exp: maint print objfiles: header PASS: gdb.base/maint.exp: maint print objfiles: psymtabs PASS: gdb.base/maint.exp: maint print objfiles: symtabs maint print psymbols print-psymbols takes an output file name and optional symbol file name (gdb) PASS: gdb.base/maint.exp: maint print psymbols w/o args maint print psymbols psymbols_output (gdb) shell ls psymbols_output psymbols_output (gdb) shell grep 'main.*function' psymbols_output `main', function, 0x80484cc (gdb) PASS: gdb.base/maint.exp: maint print psymbols 1 shell rm -f psymbols_output (gdb) PASS: gdb.base/maint.exp: shell rm -f psymbols_output maint print msymbols print-msymbols takes an output file name and optional symbol file name (gdb) PASS: gdb.base/maint.exp: maint print msymbols w/o args maint print msymbols msymbols_output (gdb) shell ls msymbols_output msymbols_output (gdb) shell grep factorial msymbols_output [17] T 0x8048584 factorial section .text break.c (gdb) PASS: gdb.base/maint.exp: maint print msymbols shell rm -f msymbols_output (gdb) PASS: gdb.base/maint.exp: shell rm -f msymbols_output maint print symbols Arguments missing: an output file name and an optional symbol file name (gdb) PASS: gdb.base/maint.exp: maint print symbols w/o args maint print symbols symbols_output (gdb) shell ls symbols_output symbols_output (gdb) shell grep 'main(.*block' symbols_output int main(int, char **, char **); block object 0x8392edc, 0x80484cc..0x8048584 section .text (gdb) PASS: gdb.base/maint.exp: maint print symbols shell rm -f symbols_output (gdb) PASS: gdb.base/maint.exp: shell rm -f symbols_output maint print type argc type node 0x837ec38 name 'int' (0x837e65c) code 0x7 (TYPE_CODE_INT) length 4 objfile 0x837afe0 target_type 0x0 pointer_type 0x0 reference_type 0x0 flags 0x0 nfields 0 0x0 vptr_basetype 0x0 vptr_fieldno -1 type_specific 0x0 (gdb) PASS: gdb.base/maint.exp: maint print type maint info sections Exec file: `/cygnus/build/native/gdb/testsuite/gdb.base/break', file type elf32-i386. 0x080480f4->0x08048107 at 0x000000f4: .interp ALLOC LOAD READONLY DATA HAS_CONTENTS 0x08048108->0x08048128 at 0x00000108: .note.ABI-tag ALLOC LOAD READONLY DATA HAS_CONTENTS 0x08048128->0x08048164 at 0x00000128: .hash ALLOC LOAD READONLY DATA HAS_CONTENTS 0x08048164->0x08048204 at 0x00000164: .dynsym ALLOC LOAD READONLY DATA HAS_CONTENTS 0x08048204->0x0804829c at 0x00000204: .dynstr ALLOC LOAD READONLY DATA HAS_CONTENTS 0x0804829c->0x080482b0 at 0x0000029c: .gnu.version ALLOC LOAD READONLY DATA HAS_CONTENTS 0x080482b0->0x080482d0 at 0x000002b0: .gnu.version_r ALLOC LOAD READONLY DATA HAS_CONTENTS 0x080482d0->0x080482d8 at 0x000002d0: .rel.got ALLOC LOAD READONLY DATA HAS_CONTENTS 0x080482d8->0x080482e0 at 0x000002d8: .rel.bss ALLOC LOAD READONLY DATA HAS_CONTENTS 0x080482e0->0x08048318 at 0x000002e0: .rel.plt ALLOC LOAD READONLY DATA HAS_CONTENTS 0x08048318->0x08048347 at 0x00000318: .init ALLOC LOAD READONLY CODE HAS_CONTENTS 0x08048348->0x080483c8 at 0x00000348: .plt ALLOC LOAD READONLY CODE HAS_CONTENTS 0x080483d0->0x080485f4 at 0x000003d0: .text ALLOC LOAD READONLY CODE HAS_CONTENTS 0x080485f4->0x0804860e at 0x000005f4: .fini ALLOC LOAD READONLY CODE HAS_CONTENTS 0x08048610->0x08048646 at 0x00000610: .rodata ALLOC LOAD READONLY DATA HAS_CONTENTS 0x08049648->0x08049654 at 0x00000648: .data ALLOC LOAD DATA HAS_CONTENTS 0x08049654->0x08049658 at 0x00000654: .eh_frame ALLOC LOAD DATA HAS_CONTENTS 0x08049658->0x08049660 at 0x00000658: .ctors ALLOC LOAD DATA HAS_CONTENTS 0x08049660->0x08049668 at 0x00000660: .dtors ALLOC LOAD DATA HAS_CONTENTS 0x08049668->0x08049694 at 0x00000668: .got ALLOC LOAD DATA HAS_CONTENTS 0x08049694->0x0804973c at 0x00000694: .dynamic ALLOC LOAD DATA HAS_CONTENTS 0x0804973c->0x08049758 at 0x0000073c: .bss ALLOC 0x00000000->0x0000123c at 0x0000073c: .stab READONLY HAS_CONTENTS 0x00000000->0x00002558 at 0x00001978: .stabstr READONLY HAS_CONTENTS 0x00000000->0x00000129 at 0x00003ed0: .comment READONLY HAS_CONTENTS 0x00000129->0x000001a1 at 0x00003ff9: .note READONLY HAS_CONTENTS (gdb) PASS: gdb.base/maint.exp: maint info sections maint info breakpoints Num Type Disp Enb Address What 1 breakpoint keep y 0x080484d2 in main at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 breakpoint already hit 1 time -2 shlib events keep y 0x4000af20 <_dl_debug_state> breakpoint already hit 2 times -8 longjmp keep n 0x40058864 -9 longjmp keep n 0x40058864 -10 longjmp keep n 0x40058864 -11 longjmp resume keep n 0x00000000 (gdb) PASS: gdb.base/maint.exp: maint info breakpoints maint info breakpoints Num Type Disp Enb Address What 1 breakpoint keep y 0x080484d2 in main at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/break.c:75 breakpoint already hit 1 time -2 shlib events keep y 0x4000af20 <_dl_debug_state> breakpoint already hit 2 times -8 longjmp keep n 0x40058864 -9 longjmp keep n 0x40058864 -10 longjmp keep n 0x40058864 -11 longjmp resume keep n 0x00000000 (gdb) PASS: gdb.base/maint.exp: maint info breakpoints maint print "maintenance print" must be followed by the name of a print command. List of maintenance print subcommands: maintenance print architecture -- Print the internal architecture configuration maintenance print msymbols -- Print dump of current minimal symbol definitions maintenance print objfiles -- Print dump of current object file definitions maintenance print psymbols -- Print dump of current partial symbol definitions maintenance print statistics -- Print statistics about internal gdb state maintenance print symbols -- Print dump of current symbol definitions maintenance print type -- Print a type chain for a given symbol Type "help maintenance print" followed by maintenance print subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/maint.exp: maint print w/o args maint info "maintenance info" must be followed by the name of an info command. List of maintenance info subcommands: maintenance info breakpoints -- Status of all breakpoints maintenance info sections -- List the BFD sections of the exec and core files Type "help maintenance info" followed by maintenance info subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/maint.exp: maint info w/o args maint "maintenance" must be followed by the name of a maintenance command. List of maintenance subcommands: maintenance agent -- Translate an expression into remote agent bytecode maintenance check-symtabs -- Check consistency of psymtabs and symtabs maintenance demangle -- Demangle a C++ mangled name maintenance deprecate -- Deprecate a command maintenance dump-me -- Get fatal error; make debugger dump its core maintenance info -- Commands for showing internal info about the program being debugged maintenance internal-error -- Give GDB an internal error maintenance packet -- Send an arbitrary packet to a remote target maintenance print -- Maintenance command for printing GDB internal state maintenance space -- Set the display of space usage maintenance time -- Set the display of time usage maintenance translate-address -- Translate a section name and address to a symbol maintenance undeprecate -- Undeprecate a command Type "help maintenance" followed by maintenance subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/maint.exp: maint w/o args help maint Commands for use by GDB maintainers. Includes commands to dump specific internal GDB structures in a human readable form, to cause GDB to deliberately dump core, to test internal functions such as the C++ demangler, etc. List of maintenance subcommands: maintenance agent -- Translate an expression into remote agent bytecode maintenance check-symtabs -- Check consistency of psymtabs and symtabs maintenance demangle -- Demangle a C++ mangled name maintenance deprecate -- Deprecate a command maintenance dump-me -- Get fatal error; make debugger dump its core maintenance info -- Commands for showing internal info about the program being debugged maintenance internal-error -- Give GDB an internal error maintenance packet -- Send an arbitrary packet to a remote target maintenance print -- Maintenance command for printing GDB internal state maintenance space -- Set the display of space usage maintenance time -- Set the display of time usage maintenance translate-address -- Translate a section name and address to a symbol maintenance undeprecate -- Undeprecate a command Type "help maintenance" followed by maintenance subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/maint.exp: help maint help maint check-symtabs Check consistency of psymtabs and symtabs. (gdb) PASS: gdb.base/maint.exp: help maint check-symtabs help maint space Set the display of space usage. If nonzero, will cause the execution space for each command to be displayed, following the command's output. (gdb) PASS: gdb.base/maint.exp: help maint space help maint time Set the display of time usage. If nonzero, will cause the execution time for each command to be displayed, following the command's output. (gdb) PASS: gdb.base/maint.exp: help maint time help maint demangle Demangle a C++ mangled name. Call internal GDB demangler routine to demangle a C++ link name and prints the result. (gdb) PASS: gdb.base/maint.exp: help maint demangle help maint dump-me Get fatal error; make debugger dump its core. GDB sets it's handling of SIGQUIT back to SIG_DFL and then sends itself a SIGQUIT signal. (gdb) PASS: gdb.base/maint.exp: help maint dump-me help maint internal-error Give GDB an internal error. Cause GDB to behave as if an internal error was detected. (gdb) PASS: gdb.base/maint.exp: help maint internal-error help maint print statistics Print statistics about internal gdb state. (gdb) PASS: gdb.base/maint.exp: help maint print statistics help maint print objfiles Print dump of current object file definitions. (gdb) PASS: gdb.base/maint.exp: help maint print objfiles help maint print psymbols Print dump of current partial symbol definitions. Entries in the partial symbol table are dumped to file OUTFILE. If a SOURCE file is specified, dump only that file's partial symbols. (gdb) PASS: gdb.base/maint.exp: help maint print psymbols help maint print msymbols Print dump of current minimal symbol definitions. Entries in the minimal symbol table are dumped to file OUTFILE. If a SOURCE file is specified, dump only that file's minimal symbols. (gdb) PASS: gdb.base/maint.exp: help maint print msymbols help maint print symbols Print dump of current symbol definitions. Entries in the full symbol table are dumped to file OUTFILE. If a SOURCE file is specified, dump only that file's symbols. (gdb) PASS: gdb.base/maint.exp: help maint print symbols help maint print type Print a type chain for a given symbol. For each node in a type chain, print the raw data for each member of the type structure, and the interpretation of the data. (gdb) PASS: gdb.base/maint.exp: help maint print type help maint info sections List the BFD sections of the exec and core files. (gdb) PASS: gdb.base/maint.exp: help maint info sections help maint info breakpoints Status of all breakpoints, or breakpoint number NUMBER. The "Type" column indicates one of: breakpoint - normal breakpoint watchpoint - watchpoint longjmp - internal breakpoint used to step through longjmp() longjmp resume - internal breakpoint at the target of longjmp() until - internal breakpoint used by the "until" command finish - internal breakpoint used by the "finish" command The "Disp" column contains one of "keep", "del", or "dis" to indicate the disposition of the breakpoint after it gets hit. "dis" means that the breakpoint will be disabled. The "Address" and "What" columns indicate the address and file/line number respectively. Convenience variable "$_" and default examine address for "x" are set to the address of the last breakpoint listed. Convenience variable "$bpnum" contains the number of the last breakpoint set. (gdb) PASS: gdb.base/maint.exp: help maint info breakpoints help maint info Commands for showing internal info about the program being debugged. List of maintenance info subcommands: maintenance info breakpoints -- Status of all breakpoints maintenance info sections -- List the BFD sections of the exec and core files Type "help maintenance info" followed by maintenance info subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/maint.exp: help maint info help maint print Maintenance command for printing GDB internal state. List of maintenance print subcommands: maintenance print architecture -- Print the internal architecture configuration maintenance print msymbols -- Print dump of current minimal symbol definitions maintenance print objfiles -- Print dump of current object file definitions maintenance print psymbols -- Print dump of current partial symbol definitions maintenance print statistics -- Print statistics about internal gdb state maintenance print symbols -- Print dump of current symbol definitions maintenance print type -- Print a type chain for a given symbol Type "help maintenance print" followed by maintenance print subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/maint.exp: help maint print help maint Commands for use by GDB maintainers. Includes commands to dump specific internal GDB structures in a human readable form, to cause GDB to deliberately dump core, to test internal functions such as the C++ demangler, etc. List of maintenance subcommands: maintenance agent -- Translate an expression into remote agent bytecode maintenance check-symtabs -- Check consistency of psymtabs and symtabs maintenance demangle -- Demangle a C++ mangled name maintenance deprecate -- Deprecate a command maintenance dump-me -- Get fatal error; make debugger dump its core maintenance info -- Commands for showing internal info about the program being debugged maintenance internal-error -- Give GDB an internal error maintenance packet -- Send an arbitrary packet to a remote target maintenance print -- Maintenance command for printing GDB internal state maintenance space -- Set the display of space usage maintenance time -- Set the display of time usage maintenance translate-address -- Translate a section name and address to a symbol maintenance undeprecate -- Undeprecate a command Type "help maintenance" followed by maintenance subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/maint.exp: help maint maint dump-me Should GDB dump core? (y or n) n (gdb) PASS: gdb.base/maint.exp: maint dump-me maint internal-error gdb-internal-error: internal maintenance An internal GDB error was detected. This may make make further debugging unreliable. Continue this debugging session? (y or n) y Create a core file containing the current state of GDB? (y or n) n (gdb) PASS: gdb.base/maint.exp: maint internal-error testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/maint.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/mips_pro.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/mips_pro.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/mips_pro.ci Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/mips_pro.c -O2 -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/mips_pro (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/mips_pro.c -O2 -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/mips_pro spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/mips_pro Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/mips_pro...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/mips_pro (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break middle Breakpoint 1 at 0x80483f8: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/mips_pro.c, line 27. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/mips_pro Breakpoint 1, middle (x=2) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/mips_pro.c:27 27 return inner (6); (gdb) backtrace #0 middle (x=2) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/mips_pro.c:27 #1 0x8048423 in top (y=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/mips_pro.c:39 #2 0x8048445 in main (argc=1, argv=0xbffff3fc) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/mips_pro.c:56 #3 0x400529cb in __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/mips_pro.exp: backtrace testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/mips_pro.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/miscexprs.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/miscexprs.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/miscexprs (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/miscexprs.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/miscexprs Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/miscexprs.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/miscexprs.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/miscexprs Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/miscexprs...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/miscexprs (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x80483f1: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/miscexprs.c, line 34. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/miscexprs Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/miscexprs.c:34 34 ibig.i[100] = 5; (gdb) break marker1 Breakpoint 2 at 0x80483e3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/miscexprs.c, line 5. (gdb) cont Continuing. Breakpoint 2, marker1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/miscexprs.c:5 5 } (gdb) up #1 0x8048433 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/miscexprs.c:47 47 marker1 (); (gdb) print &ibig.i[0] $1 = (int *) 0xbfffe6cc (gdb) PASS: gdb.base/miscexprs.exp: print value of &ibig.i[0] print &cbig.c[0] $2 = 0xbffff34c "" (gdb) PASS: gdb.base/miscexprs.exp: print value of &cbig.c[0] print &fbig.f[0] $3 = (float *) 0xbfffd59c (gdb) PASS: gdb.base/miscexprs.exp: print value of &fbig.f[0] print &dbig.d[0] $4 = (double *) 0xbfffcc3c (gdb) PASS: gdb.base/miscexprs.exp: print value of &dbig.d[0] print &sbig.s[0] $5 = (short int *) 0xbfffc91c (gdb) PASS: gdb.base/miscexprs.exp: print value of &sbig.s[0] print &lbig.l[0] $6 = (long int *) 0xbfffd8bc (gdb) PASS: gdb.base/miscexprs.exp: print value of &lbig.l[0] print ibig.i[100] | 1 $7 = 5 (gdb) PASS: gdb.base/miscexprs.exp: print value of ibig.i[100] | 1 print sbig.s[90] & 127 $8 = 127 (gdb) PASS: gdb.base/miscexprs.exp: print value of sbig.s[90] & 127 print !ibig.i[100] $9 = 0 (gdb) PASS: gdb.base/miscexprs.exp: print value of !ibig.i[100] print !sbig.s[90] $10 = 0 (gdb) PASS: gdb.base/miscexprs.exp: print value of !sbig.s[90] print !fbig.f[100] $11 = 0 (gdb) PASS: gdb.base/miscexprs.exp: print value of !ibig.i[100] print !dbig.d[202] $12 = 0 (gdb) PASS: gdb.base/miscexprs.exp: print value of !ibig.i[100] print sbig.s[90] * 10 $13 = 2550 (gdb) PASS: gdb.base/miscexprs.exp: print value of !sbig.s[90] * 10 print ibig.i[100] * sbig.s[90] $14 = 1275 (gdb) PASS: gdb.base/miscexprs.exp: print value of ibig.i[100] * sbig.s[90] print fbig.f[100] * dbig.d[202] $15 = 119.99990451256845 (gdb) PASS: gdb.base/miscexprs.exp: print value of fbig.f[100] * dbig.d[202] print !(sbig.s[90] * 2) $16 = 0 (gdb) PASS: gdb.base/miscexprs.exp: print value of !(sbig.s[90] * 2) print sizeof(sbig) $17 = 800 (gdb) PASS: gdb.base/miscexprs.exp: print value of sizeof(sbig) print sizeof(cbig) $18 = 100 (gdb) PASS: gdb.base/miscexprs.exp: print value of sizeof(cbig) print sizeof(lbig)/sizeof(long) $19 = 900 (gdb) PASS: gdb.base/miscexprs.exp: print value of sizeof(lbig)/sizeof(long) print ibig.i[100] << 2 $20 = 20 (gdb) PASS: gdb.base/miscexprs.exp: print value of ibig.i[100] << 2 print sbig.s[90] >> 4 $21 = 15 (gdb) PASS: gdb.base/miscexprs.exp: print value of sbig.s[90] >> 4 print lbig.l[333] >> 6 $22 = 15624999 (gdb) PASS: gdb.base/miscexprs.exp: print value of lbig.l[333] >> 6 testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/miscexprs.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/nodebug.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/nodebug.c -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/nodebug (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/nodebug.c -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/nodebug Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/nodebug.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/nodebug.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/nodebug Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/nodebug...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/nodebug (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break inner Breakpoint 1 at 0x8048443 (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/nodebug Breakpoint 1, 0x8048443 in inner () (gdb) p top $1 = {} 0x8048494 (gdb) PASS: gdb.base/nodebug.exp: p top whatis top type = (gdb) PASS: gdb.base/nodebug.exp: whatis top ptype top type = int () (gdb) PASS: gdb.base/nodebug.exp: ptype top p middle $2 = {} 0x804846c (gdb) PASS: gdb.base/nodebug.exp: p middle whatis middle type = (gdb) PASS: gdb.base/nodebug.exp: whatis middle ptype middle type = int () (gdb) PASS: gdb.base/nodebug.exp: ptype middle p dataglobal $3 = 3 (gdb) PASS: gdb.base/nodebug.exp: p dataglobal whatis dataglobal type = (gdb) PASS: gdb.base/nodebug.exp: whatis dataglobal ptype dataglobal type = (gdb) PASS: gdb.base/nodebug.exp: ptype dataglobal p datalocal $4 = 4 (gdb) PASS: gdb.base/nodebug.exp: p datalocal whatis datalocal type = (gdb) PASS: gdb.base/nodebug.exp: whatis datalocal ptype datalocal type = (gdb) PASS: gdb.base/nodebug.exp: ptype datalocal p bssglobal $5 = 0 (gdb) PASS: gdb.base/nodebug.exp: p bssglobal whatis bssglobal type = (gdb) PASS: gdb.base/nodebug.exp: whatis bssglobal ptype bssglobal type = (gdb) PASS: gdb.base/nodebug.exp: ptype bssglobal p bsslocal $6 = 0 (gdb) PASS: gdb.base/nodebug.exp: p bsslocal whatis bsslocal type = (gdb) PASS: gdb.base/nodebug.exp: whatis bsslocal ptype bsslocal type = (gdb) PASS: gdb.base/nodebug.exp: ptype bsslocal backtrace 10 #0 0x8048443 in inner () #1 0x804847e in middle () #2 0x80484a6 in top () #3 0x80484ce in main () #4 0x400529cb in __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/nodebug.exp: backtrace from inner in nodebug.exp p/c array_index("abcdef",2) $7 = 99 'c' (gdb) PASS: gdb.base/nodebug.exp: p/c array_index("abcdef",2) delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break middle Breakpoint 2 at 0x8048472 (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/nodebug Breakpoint 2, 0x8048472 in middle () (gdb) backtrace 10 #0 0x8048472 in middle () #1 0x80484a6 in top () #2 0x80484ce in main () #3 0x400529cb in __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/nodebug.exp: backtrace from middle in nodebug.exp testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/nodebug.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/opaque.exp ... Executing on host: gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/opaque0.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/opaque0.c (timeout = 300) spawn gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/opaque0.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/opaque0.c Executing on host: gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/opaque1.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/opaque1.c (timeout = 300) spawn gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/opaque1.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/opaque1.c Executing on host: gcc /cygnus/build/native/gdb/testsuite/gdb.base/opaque0.o /cygnus/build/native/gdb/testsuite/gdb.base/opaque1.o -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/opaque (timeout = 300) spawn gcc /cygnus/build/native/gdb/testsuite/gdb.base/opaque0.o /cygnus/build/native/gdb/testsuite/gdb.base/opaque1.o -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/opaque Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/opaque.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/opaque.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/opaque Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/opaque...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/opaque (gdb) whatis foop type = struct foo * (gdb) PASS: gdb.base/opaque.exp: whatis on opaque struct pointer (statically) ptype foop type = struct foo { int a; int b; } * (gdb) PASS: gdb.base/opaque.exp: ptype on opaque struct pointer (statically) whatis afoo type = struct foo (gdb) PASS: gdb.base/opaque.exp: whatis on opaque struct instance (statically) ptype afoo type = struct foo { int a; int b; } (gdb) PASS: gdb.base/opaque.exp: ptype on opaque struct instance (statically) ptype struct foo type = struct foo { int a; int b; } (gdb) PASS: gdb.base/opaque.exp: ptype on opaque struct tagname (statically) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/opaque Load new symbol table from "/cygnus/build/native/gdb/testsuite/gdb.base/opaque"? (y or n) y Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/opaque...done. (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x80483e6: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/opaque0.c, line 20. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/opaque Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/opaque0.c:20 20 foop = getfoo (); (gdb) whatis foop type = struct foo * (gdb) PASS: gdb.base/opaque.exp: whatis on opaque struct pointer (dynamically) ptype foop type = struct foo { int a; int b; } * (gdb) PASS: gdb.base/opaque.exp: ptype on opaque struct pointer (dynamically) 1 whatis afoo type = struct foo (gdb) PASS: gdb.base/opaque.exp: whatis on opaque struct instance (dynamically) 1 ptype afoo type = struct foo { int a; int b; } (gdb) PASS: gdb.base/opaque.exp: ptype on opaque struct instance (dynamically) xyz 1 ptype struct foo type = struct foo { int a; int b; } (gdb) PASS: gdb.base/opaque.exp: ptype on opaque struct tagname (dynamically) 1 dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/opaque Load new symbol table from "/cygnus/build/native/gdb/testsuite/gdb.base/opaque"? (y or n) y Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/opaque...done. (gdb) delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break getfoo Breakpoint 2 at 0x8048413: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/opaque1.c, line 8. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/opaque Breakpoint 2, getfoo () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/opaque1.c:8 8 return (&afoo); (gdb) whatis foop type = struct foo * (gdb) PASS: gdb.base/opaque.exp: whatis on opaque struct pointer (dynamically) 1 ptype foop type = struct foo { int a; int b; } * (gdb) PASS: gdb.base/opaque.exp: ptype on opaque struct pointer (dynamically) 2 whatis afoo type = struct foo (gdb) PASS: gdb.base/opaque.exp: whatis on opaque struct instance (dynamically) 1 ptype afoo type = struct foo { int a; int b; } (gdb) PASS: gdb.base/opaque.exp: ptype on opaque struct instance (dynamically) 1 ptype afoo type = struct foo { int a; int b; } (gdb) PASS: gdb.base/opaque.exp: ptype on opaque struct instance (dynamically) pqr 1 ptype foop type = struct foo { int a; int b; } * (gdb) PASS: gdb.base/opaque.exp: ptype on opaque struct pointer (dynamically) 2 whatis afoo type = struct foo (gdb) PASS: gdb.base/opaque.exp: whatis on opaque struct instance (dynamically) 2 ptype afoo type = struct foo { int a; int b; } (gdb) PASS: gdb.base/opaque.exp: ptype on opaque struct instance (dynamically) 2 ptype struct foo type = struct foo { int a; int b; } (gdb) PASS: gdb.base/opaque.exp: ptype on opaque struct tagname (dynamically) 2 testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/opaque.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/overlays.exp ... testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/overlays.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/page.exp ... spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) set pagination off (gdb) PASS: gdb.base/page.exp: set pagination off info set annotate: Annotation_level is 0. archdebug: Architecture debugging is 0. args: Argument list to give program being debugged when it is started is "". auto-solib-add: Autoloading of shared library symbols is 1. can-use-hw-watchpoints: Debugger's willingness to use watchpoint hardware is 1. case-sensitive: Case sensitivity in name search is "auto; currently on". check range: Range checking is "auto; currently off". check type: Type checking is "auto; currently off". complaints: Max number of complaints about incorrect symbols is 0. confirm: Whether to confirm potentially dangerous operations is on. debug arch: Architecture debugging is 0. debug event: Event debugging is 0. debug expression: Expression debugging is 0. debug overload: Debugging of C++ overloading is 0. debug remote: Debugging of remote protocol is 0. debug serial: Serial debugging is 0. debug target: Target debugging is 0. debugvarobj: Varobj debugging is 0. demangle-style: The current C++ demangling style is "auto". disassembly-flavor: The disassembly flavor is "att". download-write-size: The write size used when downloading a program is 512. editing: Editing of command lines as they are typed is on. eventdebug: Event debugging is 0. exec-done-display: Notification of completion for asynchronous execution commands is off. follow-fork-mode: Debugger response to a program call of fork or vfork is "parent". gnutarget: The current BFD target is "auto". height: Number of lines gdb thinks are in a page is unlimited. history expansion: History expansion on command input is off. history filename: The filename in which to record the command history is "/cygnus/build/native/gdb/testsuite/.gdb_history". history save: Saving of the history record on exit is off. history size: The size of the command history is 256. input-radix: Default input radix for entering numbers is 10. language: The current source language is "auto; currently c". listsize: Number of source lines gdb will list by default is 10. opaque-type-resolution: Resolution of opaque struct/class/union types (if set before loading symbols) is on. os: Operating system is "". output-radix: Default output radix for printing of values is 10. overload-resolution: Overload resolution in evaluating C++ functions is on. pagination: State of pagination is off. print address: Printing of addresses is on. print array: Prettyprinting of arrays is off. print asm-demangle: Demangling of C++ names in disassembly listings is off. print demangle: Demangling of encoded C++ names when displaying symbols is on. print elements: Limit on string chars or array elements to print is 200. print max-symbolic-offset: The largest offset that will be printed in form is unlimited. print null-stop: Printing of char arrays to stop at first null char is off. print object: Printing of object's derived type based on vtable info is off. print pascal_static-members: Printing of pascal static members is on. print pretty: Prettyprinting of structures is off. print repeats: Threshold for repeated print elements is 10. print sevenbit-strings: Printing of 8-bit characters in strings as \nnn is off. print static-members: Printing of C++ static members is on. print symbol-filename: Printing of source filename and line number with is off. print union: Printing of unions interior to structures is on. print vtbl: Printing of C++ virtual function tables is off. prompt: Gdb's prompt is "(gdb) ". prompt-escape-char: Escape character for formatting of gdb's prompt is 0. remoteaddresssize: The maximum size of the address (in bits) in a memory packet is 32. remotebaud: Baud rate for remote serial I/O is 4294967295. remotebreak: Whether to send break if interrupted is off. remotecache: Cache use for remote targets is off. remotedebug: Debugging of remote protocol is 0. remotedevice: Device for remote serial I/O is "". remotelogbase: Numerical base for remote session logging is "ascii". remotelogfile: Filename for remote session recording is "". remotetimeout: Timeout limit to wait for target to respond is 2. scheduler-locking: Mode for locking scheduler during execution is "off". solib-absolute-prefix: Prefix for loading absolute shared library symbol files is "". solib-search-path: The search path for loading non-absolute shared library symbol files is "". step-mode: Mode of the step operation is off. stop-on-solib-events: Stopping for shared library events is 0. symbol-reloading: Dynamic symbol table reloading multiple times in one run is off. unwindonsignal: Unwinding of stack if a signal is received while in a call dummy is off. verbose: Verbosity is off. watchdog: Watchdog timer is 0. width: Number of characters gdb thinks are in a line is unlimited. write: Writing into executable and core files is off. (gdb) PASS: gdb.base/page.exp: info set set pagination on (gdb) PASS: gdb.base/page.exp: set pagination on info set annotate: Annotation_level is 0. archdebug: Architecture debugging is 0. args: Argument list to give program being debugged when it is started is "". auto-solib-add: Autoloading of shared library symbols is 1. can-use-hw-watchpoints: Debugger's willingness to use watchpoint hardware is 1. case-sensitive: Case sensitivity in name search is "auto; currently on". check range: Range checking is "auto; currently off". check type: Type checking is "auto; currently off". complaints: Max number of complaints about incorrect symbols is 0. confirm: Whether to confirm potentially dangerous operations is on. debug arch: Architecture debugging is 0. debug event: Event debugging is 0. debug expression: Expression debugging is 0. debug overload: Debugging of C++ overloading is 0. debug remote: Debugging of remote protocol is 0. debug serial: Serial debugging is 0. debug target: Target debugging is 0. debugvarobj: Varobj debugging is 0. demangle-style: The current C++ demangling style is "auto". disassembly-flavor: The disassembly flavor is "att". download-write-size: The write size used when downloading a program is 512. editing: Editing of command lines as they are typed is on. eventdebug: Event debugging is 0. exec-done-display: Notification of completion for asynchronous execution commands is off. follow-fork-mode: Debugger response to a program call of fork or vfork is "parent". gnutarget: The current BFD target is "auto". height: Number of lines gdb thinks are in a page is unlimited. history expansion: History expansion on command input is off. history filename: The filename in which to record the command history is "/cygnus/build/native/gdb/testsuite/.gdb_history". history save: Saving of the history record on exit is off. history size: The size of the command history is 256. input-radix: Default input radix for entering numbers is 10. language: The current source language is "auto; currently c". listsize: Number of source lines gdb will list by default is 10. opaque-type-resolution: Resolution of opaque struct/class/union types (if set before loading symbols) is on. os: Operating system is "". output-radix: Default output radix for printing of values is 10. overload-resolution: Overload resolution in evaluating C++ functions is on. pagination: State of pagination is on. print address: Printing of addresses is on. print array: Prettyprinting of arrays is off. print asm-demangle: Demangling of C++ names in disassembly listings is off. print demangle: Demangling of encoded C++ names when displaying symbols is on. print elements: Limit on string chars or array elements to print is 200. print max-symbolic-offset: The largest offset that will be printed in form is unlimited. print null-stop: Printing of char arrays to stop at first null char is off. print object: Printing of object's derived type based on vtable info is off. print pascal_static-members: Printing of pascal static members is on. print pretty: Prettyprinting of structures is off. print repeats: Threshold for repeated print elements is 10. print sevenbit-strings: Printing of 8-bit characters in strings as \nnn is off. print static-members: Printing of C++ static members is on. print symbol-filename: Printing of source filename and line number with is off. print union: Printing of unions interior to structures is on. print vtbl: Printing of C++ virtual function tables is off. prompt: Gdb's prompt is "(gdb) ". prompt-escape-char: Escape character for formatting of gdb's prompt is 0. remoteaddresssize: The maximum size of the address (in bits) in a memory packet is 32. remotebaud: Baud rate for remote serial I/O is 4294967295. remotebreak: Whether to send break if interrupted is off. remotecache: Cache use for remote targets is off. remotedebug: Debugging of remote protocol is 0. remotedevice: Device for remote serial I/O is "". remotelogbase: Numerical base for remote session logging is "ascii". remotelogfile: Filename for remote session recording is "". remotetimeout: Timeout limit to wait for target to respond is 2. scheduler-locking: Mode for locking scheduler during execution is "off". solib-absolute-prefix: Prefix for loading absolute shared library symbol files is "". solib-search-path: The search path for loading non-absolute shared library symbol files is "". step-mode: Mode of the step operation is off. stop-on-solib-events: Stopping for shared library events is 0. symbol-reloading: Dynamic symbol table reloading multiple times in one run is off. unwindonsignal: Unwinding of stack if a signal is received while in a call dummy is off. verbose: Verbosity is off. watchdog: Watchdog timer is 0. width: Number of characters gdb thinks are in a line is unlimited. write: Writing into executable and core files is off. (gdb) PASS: gdb.base/page.exp: info set testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/page.exp completed in 17 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/pointers.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/pointers.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/pointers (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/pointers.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/pointers Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/pointers.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/pointers.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/pointers Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/pointers...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/pointers (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x80483ee: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/pointers.c, line 89. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/pointers Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/pointers.c:89 89 dummy(); (gdb) next 91 more_code (); (gdb) PASS: gdb.base/pointers.exp: continuing after dummy() set variable v_int_pointer=&v_int_array[0] (gdb) PASS: gdb.base/pointers.exp: set pointer to beginning of array set variable v_int_pointer2=&v_int_array[1] (gdb) PASS: gdb.base/pointers.exp: set pointer to end of array print *v_int_pointer $1 = 6 (gdb) PASS: gdb.base/pointers.exp: print object pointed to print *v_int_pointer2 $2 = 18 (gdb) PASS: gdb.base/pointers.exp: print object pointed to print v_int_pointer == v_int_pointer2 $3 = 0 (gdb) PASS: gdb.base/pointers.exp: pointer1==pointer2 print v_int_pointer != v_int_pointer2 $4 = 1 (gdb) PASS: gdb.base/pointers.exp: pointer1!=pointer2 print v_int_pointer <= v_int_pointer2 $5 = 1 (gdb) PASS: gdb.base/pointers.exp: pointer1<=pointer2 print v_int_pointer >= v_int_pointer2 $6 = 0 (gdb) PASS: gdb.base/pointers.exp: pointer1>=pointer2 print v_int_pointer < v_int_pointer2 $7 = 1 (gdb) PASS: gdb.base/pointers.exp: pointer1 v_int_pointer2 $8 = 0 (gdb) PASS: gdb.base/pointers.exp: pointer1>pointer2 set variable y = *v_int_pointer++ (gdb) PASS: gdb.base/pointers.exp: set y = *v_int_pointer++ print y $9 = 6 (gdb) print *v_int_pointer $10 = 18 (gdb) PASS: gdb.base/pointers.exp: pointer assignment and increment set variable y = *--v_int_pointer2 (gdb) PASS: gdb.base/pointers.exp: set y = *--v_int_pointer2 print y $11 = 6 (gdb) print *v_int_pointer2 $12 = 6 (gdb) PASS: gdb.base/pointers.exp: pointer decrement and assignment set variable y =v_int_pointer-v_int_pointer2 (gdb) PASS: gdb.base/pointers.exp: set y =v_int_pointer-v_int_pointer2 print y $13 = 1 (gdb) PASS: gdb.base/pointers.exp: pointer1-pointer2 set variable v_int_pointer=v_int_array (gdb) PASS: gdb.base/pointers.exp: set v_int_pointer=v_int_array print *v_int_pointer $14 = 6 (gdb) PASS: gdb.base/pointers.exp: print array element through pointer print *(v_int_pointer+1) $15 = 18 (gdb) PASS: gdb.base/pointers.exp: print array element through pointer print (*rptr)[0] $16 = 0 (gdb) PASS: gdb.base/pointers.exp: print array element through pointer print (*rptr)[1] $17 = 1 (gdb) PASS: gdb.base/pointers.exp: print array element through pointer print (*rptr)[2] $18 = 2 (gdb) PASS: gdb.base/pointers.exp: print array element through pointer set variable rptr = rptr+1 (gdb) PASS: gdb.base/pointers.exp: increment rptr print (*rptr)[0] $19 = 3 (gdb) PASS: gdb.base/pointers.exp: print array element through pointer print (*rptr)[1] $20 = 4 (gdb) PASS: gdb.base/pointers.exp: print array element through pointer print (*rptr)[2] $21 = 5 (gdb) PASS: gdb.base/pointers.exp: print array element through pointer print *( *(matrix+1) +2) $22 = 5 (gdb) PASS: gdb.base/pointers.exp: print array element w/ pointer arithmetic print **ptr_to_ptr_to_float $23 = 100 (gdb) PASS: gdb.base/pointers.exp: print through ptr to ptr break marker1 Breakpoint 2 at 0x8048603: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/pointers.c, line 173. (gdb) cont Continuing. Breakpoint 2, marker1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/pointers.c:173 173 } (gdb) up #1 0x80486af in more_code () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/pointers.c:214 214 marker1(); (gdb) print *pUC $24 = 21 '\025' (gdb) PASS: gdb.base/pointers.exp: print value of *pUC ptype pUC type = unsigned char * (gdb) PASS: gdb.base/pointers.exp: ptype pUC print *pS $25 = -14 (gdb) PASS: gdb.base/pointers.exp: print value of *pS ptype pS type = short int * (gdb) PASS: gdb.base/pointers.exp: ptype pS print *pUS $26 = 7 (gdb) PASS: gdb.base/pointers.exp: print value of *pUS ptype pUS type = short unsigned int * (gdb) PASS: gdb.base/pointers.exp: ptype pUS print *pI $27 = 102 (gdb) PASS: gdb.base/pointers.exp: print value of *pI ptype pI type = int * (gdb) PASS: gdb.base/pointers.exp: ptype pI print *pUI $28 = 1002 (gdb) PASS: gdb.base/pointers.exp: print value of *pUI ptype pUI type = unsigned int * (gdb) PASS: gdb.base/pointers.exp: ptype pUI print *pL $29 = -234 (gdb) PASS: gdb.base/pointers.exp: print value of *pL ptype pL type = long int * (gdb) PASS: gdb.base/pointers.exp: ptype pL print *pUL $30 = 234 (gdb) PASS: gdb.base/pointers.exp: print value of *pUL ptype pUL type = long unsigned int * (gdb) PASS: gdb.base/pointers.exp: ptype pUL print *pF $31 = 1.24999997e+10 (gdb) PASS: gdb.base/pointers.exp: print value of *pF ptype pF type = float * (gdb) PASS: gdb.base/pointers.exp: ptype pF print *pD $32 = -1.375e-123 (gdb) PASS: gdb.base/pointers.exp: print value of *pD ptype pD type = double * (gdb) PASS: gdb.base/pointers.exp: ptype pD print ******ppppppC $33 = 65 'A' (gdb) PASS: gdb.base/pointers.exp: print value of ******ppppppC ptype pC type = char * (gdb) PASS: gdb.base/pointers.exp: ptype pC ptype ppC type = char ** (gdb) PASS: gdb.base/pointers.exp: ptype ppC ptype pppC type = char *** (gdb) PASS: gdb.base/pointers.exp: ptype pppC ptype ppppC type = char **** (gdb) PASS: gdb.base/pointers.exp: ptype ppppC ptype pppppC type = char ***** (gdb) PASS: gdb.base/pointers.exp: ptype pppppC ptype ppppppC type = char ****** (gdb) PASS: gdb.base/pointers.exp: ptype ppppppC testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/pointers.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/printcmds.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/printcmds.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/printcmds (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/printcmds.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/printcmds spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) print $pc No registers. (gdb) PASS: gdb.base/printcmds.exp: print $pc symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/printcmds Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/printcmds...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/printcmds (gdb) set print sevenbit-strings (gdb) PASS: gdb.base/printcmds.exp: set print sevenbit-strings set print address off (gdb) PASS: gdb.base/printcmds.exp: set print address off set width 0 (gdb) PASS: gdb.base/printcmds.exp: set width 0 set language c (gdb) PASS: gdb.base/printcmds.exp: set language c show language The current source language is "c". (gdb) PASS: gdb.base/printcmds.exp: show language p ctable1[120] $1 = 120 'x' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[120] #1 delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/printcmds.c, line 101. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/printcmds Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/printcmds.c:101 101 malloc(1); (gdb) p 123 $2 = 123 (gdb) PASS: gdb.base/printcmds.exp: p 123 p -123 $3 = -123 (gdb) PASS: gdb.base/printcmds.exp: p -123 p/d 123 $4 = 123 (gdb) PASS: gdb.base/printcmds.exp: p/d 123 p 0123 $5 = 83 (gdb) PASS: gdb.base/printcmds.exp: p 0123 p 00123 $6 = 83 (gdb) PASS: gdb.base/printcmds.exp: p 00123 p -0123 $7 = -83 (gdb) PASS: gdb.base/printcmds.exp: p -0123 p/o 0123 $8 = 0123 (gdb) PASS: gdb.base/printcmds.exp: p/o 0123 p 0x123 $9 = 291 (gdb) PASS: gdb.base/printcmds.exp: p 0x123 p -0x123 $10 = -291 (gdb) PASS: gdb.base/printcmds.exp: p -0x123 p 0x0123 $11 = 291 (gdb) PASS: gdb.base/printcmds.exp: p 0x0123 p -0x0123 $12 = -291 (gdb) PASS: gdb.base/printcmds.exp: p -0x0123 p 0xABCDEF $13 = 11259375 (gdb) PASS: gdb.base/printcmds.exp: p 0xABCDEF p 0xabcdef $14 = 11259375 (gdb) PASS: gdb.base/printcmds.exp: p 0xabcdef p 0xAbCdEf $15 = 11259375 (gdb) PASS: gdb.base/printcmds.exp: p 0xAbCdEf p/x 0x123 $16 = 0x123 (gdb) PASS: gdb.base/printcmds.exp: p/x 0x123 p 0x Invalid number "0x". (gdb) PASS: gdb.base/printcmds.exp: reject p 0x p '' Empty character constant. (gdb) PASS: gdb.base/printcmds.exp: p '' p ''' Empty character constant. (gdb) PASS: gdb.base/printcmds.exp: p ''' p '\' No symbol "\" in current context. (gdb) PASS: gdb.base/printcmds.exp: reject p '\' p '\\\' No symbol "\\\" in current context. (gdb) PASS: gdb.base/printcmds.exp: reject p '\\\' p DEADBEEF No symbol "DEADBEEF" in current context. (gdb) PASS: gdb.base/printcmds.exp: reject p DEADBEEF p 123DEADBEEF Invalid number "123DEADBEEF". (gdb) PASS: gdb.base/printcmds.exp: reject p 123DEADBEEF p 123foobar.bazfoo3 Invalid number "123foobar.bazfoo3". (gdb) PASS: gdb.base/printcmds.exp: reject p 123foobar.bazfoo3 p 123EEEEEEEEEEEEEEEEE33333k333 Invalid number "123EEEEEEEEEEEEEEEEE33333k333". (gdb) PASS: gdb.base/printcmds.exp: reject p 123EEEEEEEEEEEEEEEEE33333k333 p 123.4+56.7 $17 = 180.10000000000002 (gdb) PASS: gdb.base/printcmds.exp: check for floating addition p 09 Invalid number "09". (gdb) PASS: gdb.base/printcmds.exp: reject p 09 p 079 Invalid number "079". (gdb) PASS: gdb.base/printcmds.exp: reject p 079 p 0xG Invalid number "0xG". (gdb) PASS: gdb.base/printcmds.exp: reject p 0xG p 0xAG Invalid number "0xAG". (gdb) PASS: gdb.base/printcmds.exp: reject p 0xAG p 'a' $18 = 97 'a' (gdb) PASS: gdb.base/printcmds.exp: p 'a' p/c 'a' $19 = 97 'a' (gdb) PASS: gdb.base/printcmds.exp: p/c 'a' p/x 'a' $20 = 0x61 (gdb) PASS: gdb.base/printcmds.exp: p/x 'a' p/d 'a' $21 = 97 (gdb) PASS: gdb.base/printcmds.exp: p/d 'a' p/t 'a' $22 = 1100001 (gdb) PASS: gdb.base/printcmds.exp: p/t 'a' p '\141' $23 = 97 'a' (gdb) PASS: gdb.base/printcmds.exp: p '\141' p/x '\377' $24 = 0xff (gdb) PASS: gdb.base/printcmds.exp: p/x '\377' p '\'' $25 = 39 '\'' (gdb) PASS: gdb.base/printcmds.exp: p '\'' p '\\' $26 = 92 '\\' (gdb) PASS: gdb.base/printcmds.exp: p '\\' p ctable1[0] $27 = 0 '\000' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[0] p ctable1[1] $28 = 1 '\001' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[1] p ctable1[2] $29 = 2 '\002' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[2] p ctable1[3] $30 = 3 '\003' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[3] p ctable1[4] $31 = 4 '\004' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[4] p ctable1[5] $32 = 5 '\005' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[5] p ctable1[6] $33 = 6 '\006' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[6] p ctable1[7] $34 = 7 '\a' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[7] p ctable1[8] $35 = 8 '\b' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[8] p ctable1[9] $36 = 9 '\t' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[9] p ctable1[10] $37 = 10 '\n' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[10] p ctable1[11] $38 = 11 '\013' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[11] p ctable1[12] $39 = 12 '\f' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[12] p ctable1[13] $40 = 13 '\r' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[13] p ctable1[14] $41 = 14 '\016' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[14] p ctable1[15] $42 = 15 '\017' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[15] p ctable1[16] $43 = 16 '\020' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[16] p ctable1[17] $44 = 17 '\021' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[17] p ctable1[18] $45 = 18 '\022' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[18] p ctable1[19] $46 = 19 '\023' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[19] p ctable1[20] $47 = 20 '\024' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[20] p ctable1[21] $48 = 21 '\025' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[21] p ctable1[22] $49 = 22 '\026' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[22] p ctable1[23] $50 = 23 '\027' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[23] p ctable1[24] $51 = 24 '\030' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[24] p ctable1[25] $52 = 25 '\031' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[25] p ctable1[26] $53 = 26 '\032' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[26] p ctable1[27] $54 = 27 '\e' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[27] p ctable1[28] $55 = 28 '\034' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[28] p ctable1[29] $56 = 29 '\035' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[29] p ctable1[30] $57 = 30 '\036' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[30] p ctable1[31] $58 = 31 '\037' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[31] p ctable1[32] $59 = 32 ' ' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[32] p ctable1[33] $60 = 33 '!' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[33] p ctable1[34] $61 = 34 '"' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[34] p ctable1[35] $62 = 35 '#' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[35] p ctable1[36] $63 = 36 '$' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[36] p ctable1[37] $64 = 37 '%' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[37] p ctable1[38] $65 = 38 '&' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[38] p ctable1[39] $66 = 39 '\'' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[39] p ctable1[40] $67 = 40 '(' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[40] p ctable1[41] $68 = 41 ')' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[41] p ctable1[42] $69 = 42 '*' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[42] p ctable1[43] $70 = 43 '+' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[43] p ctable1[44] $71 = 44 ',' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[44] p ctable1[45] $72 = 45 '-' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[45] p ctable1[46] $73 = 46 '.' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[46] p ctable1[47] $74 = 47 '/' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[47] p ctable1[48] $75 = 48 '0' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[48] p ctable1[49] $76 = 49 '1' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[49] p ctable1[50] $77 = 50 '2' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[50] p ctable1[51] $78 = 51 '3' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[51] p ctable1[52] $79 = 52 '4' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[52] p ctable1[53] $80 = 53 '5' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[53] p ctable1[54] $81 = 54 '6' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[54] p ctable1[55] $82 = 55 '7' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[55] p ctable1[56] $83 = 56 '8' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[56] p ctable1[57] $84 = 57 '9' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[57] p ctable1[58] $85 = 58 ':' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[58] p ctable1[59] $86 = 59 ';' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[59] p ctable1[60] $87 = 60 '<' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[60] p ctable1[61] $88 = 61 '=' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[61] p ctable1[62] $89 = 62 '>' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[62] p ctable1[63] $90 = 63 '?' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[63] p ctable1[64] $91 = 64 '@' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[64] p ctable1[65] $92 = 65 'A' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[65] p ctable1[66] $93 = 66 'B' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[66] p ctable1[67] $94 = 67 'C' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[67] p ctable1[68] $95 = 68 'D' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[68] p ctable1[69] $96 = 69 'E' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[69] p ctable1[70] $97 = 70 'F' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[70] p ctable1[71] $98 = 71 'G' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[71] p ctable1[72] $99 = 72 'H' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[72] p ctable1[73] $100 = 73 'I' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[73] p ctable1[74] $101 = 74 'J' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[74] p ctable1[75] $102 = 75 'K' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[75] p ctable1[76] $103 = 76 'L' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[76] p ctable1[77] $104 = 77 'M' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[77] p ctable1[78] $105 = 78 'N' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[78] p ctable1[79] $106 = 79 'O' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[79] p ctable1[80] $107 = 80 'P' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[80] p ctable1[81] $108 = 81 'Q' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[81] p ctable1[82] $109 = 82 'R' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[82] p ctable1[83] $110 = 83 'S' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[83] p ctable1[84] $111 = 84 'T' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[84] p ctable1[85] $112 = 85 'U' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[85] p ctable1[86] $113 = 86 'V' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[86] p ctable1[87] $114 = 87 'W' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[87] p ctable1[88] $115 = 88 'X' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[88] p ctable1[89] $116 = 89 'Y' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[89] p ctable1[90] $117 = 90 'Z' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[90] p ctable1[91] $118 = 91 '[' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[91] p ctable1[92] $119 = 92 '\\' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[92] p ctable1[93] $120 = 93 ']' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[93] p ctable1[94] $121 = 94 '^' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[94] p ctable1[95] $122 = 95 '_' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[95] p ctable1[96] $123 = 96 '`' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[96] p ctable1[97] $124 = 97 'a' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[97] p ctable1[98] $125 = 98 'b' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[98] p ctable1[99] $126 = 99 'c' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[99] p ctable1[100] $127 = 100 'd' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[100] p ctable1[101] $128 = 101 'e' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[101] p ctable1[102] $129 = 102 'f' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[102] p ctable1[103] $130 = 103 'g' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[103] p ctable1[104] $131 = 104 'h' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[104] p ctable1[105] $132 = 105 'i' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[105] p ctable1[106] $133 = 106 'j' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[106] p ctable1[107] $134 = 107 'k' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[107] p ctable1[108] $135 = 108 'l' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[108] p ctable1[109] $136 = 109 'm' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[109] p ctable1[110] $137 = 110 'n' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[110] p ctable1[111] $138 = 111 'o' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[111] p ctable1[112] $139 = 112 'p' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[112] p ctable1[113] $140 = 113 'q' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[113] p ctable1[114] $141 = 114 'r' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[114] p ctable1[115] $142 = 115 's' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[115] p ctable1[116] $143 = 116 't' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[116] p ctable1[117] $144 = 117 'u' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[117] p ctable1[118] $145 = 118 'v' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[118] p ctable1[119] $146 = 119 'w' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[119] p ctable1[120] $147 = 120 'x' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[120] p ctable1[121] $148 = 121 'y' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[121] p ctable1[122] $149 = 122 'z' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[122] p ctable1[123] $150 = 123 '{' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[123] p ctable1[124] $151 = 124 '|' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[124] p ctable1[125] $152 = 125 '}' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[125] p ctable1[126] $153 = 126 '~' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[126] p ctable1[127] $154 = 127 '\177' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[127] p ctable1[128] $155 = 128 '\200' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[128] p ctable1[129] $156 = 129 '\201' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[129] p ctable1[130] $157 = 130 '\202' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[130] p ctable1[131] $158 = 131 '\203' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[131] p ctable1[132] $159 = 132 '\204' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[132] p ctable1[133] $160 = 133 '\205' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[133] p ctable1[134] $161 = 134 '\206' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[134] p ctable1[135] $162 = 135 '\207' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[135] p ctable1[136] $163 = 136 '\210' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[136] p ctable1[137] $164 = 137 '\211' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[137] p ctable1[138] $165 = 138 '\212' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[138] p ctable1[139] $166 = 139 '\213' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[139] p ctable1[140] $167 = 140 '\214' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[140] p ctable1[141] $168 = 141 '\215' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[141] p ctable1[142] $169 = 142 '\216' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[142] p ctable1[143] $170 = 143 '\217' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[143] p ctable1[144] $171 = 144 '\220' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[144] p ctable1[145] $172 = 145 '\221' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[145] p ctable1[146] $173 = 146 '\222' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[146] p ctable1[147] $174 = 147 '\223' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[147] p ctable1[148] $175 = 148 '\224' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[148] p ctable1[149] $176 = 149 '\225' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[149] p ctable1[150] $177 = 150 '\226' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[150] p ctable1[151] $178 = 151 '\227' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[151] p ctable1[152] $179 = 152 '\230' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[152] p ctable1[153] $180 = 153 '\231' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[153] p ctable1[154] $181 = 154 '\232' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[154] p ctable1[155] $182 = 155 '\233' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[155] p ctable1[156] $183 = 156 '\234' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[156] p ctable1[157] $184 = 157 '\235' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[157] p ctable1[158] $185 = 158 '\236' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[158] p ctable1[159] $186 = 159 '\237' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[159] p ctable1[160] $187 = 160 '\240' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[160] p ctable1[161] $188 = 161 '\241' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[161] p ctable1[162] $189 = 162 '\242' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[162] p ctable1[163] $190 = 163 '\243' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[163] p ctable1[164] $191 = 164 '\244' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[164] p ctable1[165] $192 = 165 '\245' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[165] p ctable1[166] $193 = 166 '\246' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[166] p ctable1[167] $194 = 167 '\247' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[167] p ctable1[168] $195 = 168 '\250' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[168] p ctable1[169] $196 = 169 '\251' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[169] p ctable1[170] $197 = 170 '\252' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[170] p ctable1[171] $198 = 171 '\253' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[171] p ctable1[172] $199 = 172 '\254' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[172] p ctable1[173] $200 = 173 '\255' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[173] p ctable1[174] $201 = 174 '\256' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[174] p ctable1[175] $202 = 175 '\257' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[175] p ctable1[176] $203 = 176 '\260' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[176] p ctable1[177] $204 = 177 '\261' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[177] p ctable1[178] $205 = 178 '\262' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[178] p ctable1[179] $206 = 179 '\263' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[179] p ctable1[180] $207 = 180 '\264' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[180] p ctable1[181] $208 = 181 '\265' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[181] p ctable1[182] $209 = 182 '\266' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[182] p ctable1[183] $210 = 183 '\267' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[183] p ctable1[184] $211 = 184 '\270' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[184] p ctable1[185] $212 = 185 '\271' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[185] p ctable1[186] $213 = 186 '\272' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[186] p ctable1[187] $214 = 187 '\273' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[187] p ctable1[188] $215 = 188 '\274' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[188] p ctable1[189] $216 = 189 '\275' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[189] p ctable1[190] $217 = 190 '\276' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[190] p ctable1[191] $218 = 191 '\277' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[191] p ctable1[192] $219 = 192 '\300' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[192] p ctable1[193] $220 = 193 '\301' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[193] p ctable1[194] $221 = 194 '\302' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[194] p ctable1[195] $222 = 195 '\303' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[195] p ctable1[196] $223 = 196 '\304' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[196] p ctable1[197] $224 = 197 '\305' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[197] p ctable1[198] $225 = 198 '\306' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[198] p ctable1[199] $226 = 199 '\307' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[199] p ctable1[200] $227 = 200 '\310' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[200] p ctable1[201] $228 = 201 '\311' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[201] p ctable1[202] $229 = 202 '\312' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[202] p ctable1[203] $230 = 203 '\313' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[203] p ctable1[204] $231 = 204 '\314' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[204] p ctable1[205] $232 = 205 '\315' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[205] p ctable1[206] $233 = 206 '\316' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[206] p ctable1[207] $234 = 207 '\317' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[207] p ctable1[208] $235 = 208 '\320' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[208] p ctable1[209] $236 = 209 '\321' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[209] p ctable1[210] $237 = 210 '\322' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[210] p ctable1[211] $238 = 211 '\323' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[211] p ctable1[212] $239 = 212 '\324' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[212] p ctable1[213] $240 = 213 '\325' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[213] p ctable1[214] $241 = 214 '\326' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[214] p ctable1[215] $242 = 215 '\327' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[215] p ctable1[216] $243 = 216 '\330' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[216] p ctable1[217] $244 = 217 '\331' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[217] p ctable1[218] $245 = 218 '\332' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[218] p ctable1[219] $246 = 219 '\333' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[219] p ctable1[220] $247 = 220 '\334' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[220] p ctable1[221] $248 = 221 '\335' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[221] p ctable1[222] $249 = 222 '\336' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[222] p ctable1[223] $250 = 223 '\337' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[223] p ctable1[224] $251 = 224 '\340' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[224] p ctable1[225] $252 = 225 '\341' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[225] p ctable1[226] $253 = 226 '\342' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[226] p ctable1[227] $254 = 227 '\343' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[227] p ctable1[228] $255 = 228 '\344' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[228] p ctable1[229] $256 = 229 '\345' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[229] p ctable1[230] $257 = 230 '\346' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[230] p ctable1[231] $258 = 231 '\347' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[231] p ctable1[232] $259 = 232 '\350' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[232] p ctable1[233] $260 = 233 '\351' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[233] p ctable1[234] $261 = 234 '\352' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[234] p ctable1[235] $262 = 235 '\353' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[235] p ctable1[236] $263 = 236 '\354' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[236] p ctable1[237] $264 = 237 '\355' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[237] p ctable1[238] $265 = 238 '\356' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[238] p ctable1[239] $266 = 239 '\357' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[239] p ctable1[240] $267 = 240 '\360' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[240] p ctable1[241] $268 = 241 '\361' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[241] p ctable1[242] $269 = 242 '\362' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[242] p ctable1[243] $270 = 243 '\363' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[243] p ctable1[244] $271 = 244 '\364' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[244] p ctable1[245] $272 = 245 '\365' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[245] p ctable1[246] $273 = 246 '\366' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[246] p ctable1[247] $274 = 247 '\367' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[247] p ctable1[248] $275 = 248 '\370' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[248] p ctable1[249] $276 = 249 '\371' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[249] p ctable1[250] $277 = 250 '\372' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[250] p ctable1[251] $278 = 251 '\373' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[251] p ctable1[252] $279 = 252 '\374' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[252] p ctable1[253] $280 = 253 '\375' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[253] p ctable1[254] $281 = 254 '\376' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[254] p ctable1[255] $282 = 255 '\377' (gdb) PASS: gdb.base/printcmds.exp: p ctable1[255] set print elements 1 (gdb) PASS: gdb.base/printcmds.exp: set print elements 1 p &ctable2[0*16] $283 = (unsigned char *) "a"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[0*16] with print elements set to 1 p &ctable2[1*16] $284 = (unsigned char *) "a"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[1*16] with print elements set to 1 p &ctable2[2*16] $285 = (unsigned char *) "a"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[2*16] with print elements set to 1 p &ctable2[3*16] $286 = (unsigned char *) "a"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[3*16] with print elements set to 1 p &ctable2[4*16] $287 = (unsigned char *) "a"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[4*16] with print elements set to 1 p &ctable2[5*16] $288 = (unsigned char *) "a"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[5*16] with print elements set to 1 p &ctable2[6*16] $289 = (unsigned char *) "a"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[6*16] with print elements set to 1 p &ctable2[7*16] $290 = (unsigned char *) "a"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[7*16] with print elements set to 1 p &ctable2[8*16] $291 = (unsigned char *) "a"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[8*16] with print elements set to 1 p &ctable2[9*16] $292 = (unsigned char *) "a"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[9*16] with print elements set to 1 p &ctable2[10*16] $293 = (unsigned char *) "a"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[10*16] with print elements set to 1 p &ctable2[11*16] $294 = (unsigned char *) "a"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[11*16] with print elements set to 1 p &ctable2[12*16] $295 = (unsigned char *) "a"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[12*16] with print elements set to 1 p &ctable2[13*16] $296 = (unsigned char *) "a"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[13*16] with print elements set to 1 p &ctable2[14*16] $297 = (unsigned char *) "a"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[14*16] with print elements set to 1 p &ctable2[15*16] $298 = (unsigned char *) "a"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[15*16] with print elements set to 1 set print elements 2 (gdb) PASS: gdb.base/printcmds.exp: set print elements 2 p &ctable2[0*16] $299 = (unsigned char *) "aX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[0*16] with print elements set to 2 p &ctable2[1*16] $300 = (unsigned char *) "aa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[1*16] with print elements set to 2 p &ctable2[2*16] $301 = (unsigned char *) "aa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[2*16] with print elements set to 2 p &ctable2[3*16] $302 = (unsigned char *) "aa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[3*16] with print elements set to 2 p &ctable2[4*16] $303 = (unsigned char *) "aa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[4*16] with print elements set to 2 p &ctable2[5*16] $304 = (unsigned char *) "aa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[5*16] with print elements set to 2 p &ctable2[6*16] $305 = (unsigned char *) "aa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[6*16] with print elements set to 2 p &ctable2[7*16] $306 = (unsigned char *) "aa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[7*16] with print elements set to 2 p &ctable2[8*16] $307 = (unsigned char *) "aa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[8*16] with print elements set to 2 p &ctable2[9*16] $308 = (unsigned char *) "aa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[9*16] with print elements set to 2 p &ctable2[10*16] $309 = (unsigned char *) "aa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[10*16] with print elements set to 2 p &ctable2[11*16] $310 = (unsigned char *) "aa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[11*16] with print elements set to 2 p &ctable2[12*16] $311 = (unsigned char *) "aa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[12*16] with print elements set to 2 p &ctable2[13*16] $312 = (unsigned char *) "aa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[13*16] with print elements set to 2 p &ctable2[14*16] $313 = (unsigned char *) "aa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[14*16] with print elements set to 2 p &ctable2[15*16] $314 = (unsigned char *) "aa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[15*16] with print elements set to 2 set print elements 3 (gdb) PASS: gdb.base/printcmds.exp: set print elements 3 p &ctable2[0*16] $315 = (unsigned char *) "aXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[0*16] with print elements set to 3 p &ctable2[1*16] $316 = (unsigned char *) "aaX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[1*16] with print elements set to 3 p &ctable2[2*16] $317 = (unsigned char *) "aaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[2*16] with print elements set to 3 p &ctable2[3*16] $318 = (unsigned char *) "aaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[3*16] with print elements set to 3 p &ctable2[4*16] $319 = (unsigned char *) "aaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[4*16] with print elements set to 3 p &ctable2[5*16] $320 = (unsigned char *) "aaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[5*16] with print elements set to 3 p &ctable2[6*16] $321 = (unsigned char *) "aaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[6*16] with print elements set to 3 p &ctable2[7*16] $322 = (unsigned char *) "aaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[7*16] with print elements set to 3 p &ctable2[8*16] $323 = (unsigned char *) "aaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[8*16] with print elements set to 3 p &ctable2[9*16] $324 = (unsigned char *) "aaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[9*16] with print elements set to 3 p &ctable2[10*16] $325 = (unsigned char *) "aaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[10*16] with print elements set to 3 p &ctable2[11*16] $326 = (unsigned char *) "aaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[11*16] with print elements set to 3 p &ctable2[12*16] $327 = (unsigned char *) "aaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[12*16] with print elements set to 3 p &ctable2[13*16] $328 = (unsigned char *) "aaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[13*16] with print elements set to 3 p &ctable2[14*16] $329 = (unsigned char *) "aaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[14*16] with print elements set to 3 p &ctable2[15*16] $330 = (unsigned char *) "aaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[15*16] with print elements set to 3 set print elements 4 (gdb) PASS: gdb.base/printcmds.exp: set print elements 4 p &ctable2[0*16] $331 = (unsigned char *) "aXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[0*16] with print elements set to 4 p &ctable2[1*16] $332 = (unsigned char *) "aaXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[1*16] with print elements set to 4 p &ctable2[2*16] $333 = (unsigned char *) "aaaX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[2*16] with print elements set to 4 p &ctable2[3*16] $334 = (unsigned char *) "aaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[3*16] with print elements set to 4 p &ctable2[4*16] $335 = (unsigned char *) "aaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[4*16] with print elements set to 4 p &ctable2[5*16] $336 = (unsigned char *) "aaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[5*16] with print elements set to 4 p &ctable2[6*16] $337 = (unsigned char *) "aaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[6*16] with print elements set to 4 p &ctable2[7*16] $338 = (unsigned char *) "aaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[7*16] with print elements set to 4 p &ctable2[8*16] $339 = (unsigned char *) "aaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[8*16] with print elements set to 4 p &ctable2[9*16] $340 = (unsigned char *) "aaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[9*16] with print elements set to 4 p &ctable2[10*16] $341 = (unsigned char *) "aaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[10*16] with print elements set to 4 p &ctable2[11*16] $342 = (unsigned char *) "aaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[11*16] with print elements set to 4 p &ctable2[12*16] $343 = (unsigned char *) "aaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[12*16] with print elements set to 4 p &ctable2[13*16] $344 = (unsigned char *) "aaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[13*16] with print elements set to 4 p &ctable2[14*16] $345 = (unsigned char *) "aaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[14*16] with print elements set to 4 p &ctable2[15*16] $346 = (unsigned char *) "aaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[15*16] with print elements set to 4 set print elements 5 (gdb) PASS: gdb.base/printcmds.exp: set print elements 5 p &ctable2[0*16] $347 = (unsigned char *) "aXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[0*16] with print elements set to 5 p &ctable2[1*16] $348 = (unsigned char *) "aaXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[1*16] with print elements set to 5 p &ctable2[2*16] $349 = (unsigned char *) "aaaXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[2*16] with print elements set to 5 p &ctable2[3*16] $350 = (unsigned char *) "aaaaX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[3*16] with print elements set to 5 p &ctable2[4*16] $351 = (unsigned char *) "aaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[4*16] with print elements set to 5 p &ctable2[5*16] $352 = (unsigned char *) "aaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[5*16] with print elements set to 5 p &ctable2[6*16] $353 = (unsigned char *) "aaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[6*16] with print elements set to 5 p &ctable2[7*16] $354 = (unsigned char *) "aaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[7*16] with print elements set to 5 p &ctable2[8*16] $355 = (unsigned char *) "aaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[8*16] with print elements set to 5 p &ctable2[9*16] $356 = (unsigned char *) "aaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[9*16] with print elements set to 5 p &ctable2[10*16] $357 = (unsigned char *) "aaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[10*16] with print elements set to 5 p &ctable2[11*16] $358 = (unsigned char *) "aaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[11*16] with print elements set to 5 p &ctable2[12*16] $359 = (unsigned char *) "aaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[12*16] with print elements set to 5 p &ctable2[13*16] $360 = (unsigned char *) "aaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[13*16] with print elements set to 5 p &ctable2[14*16] $361 = (unsigned char *) "aaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[14*16] with print elements set to 5 p &ctable2[15*16] $362 = (unsigned char *) "aaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[15*16] with print elements set to 5 set print elements 6 (gdb) PASS: gdb.base/printcmds.exp: set print elements 6 p &ctable2[0*16] $363 = (unsigned char *) "aXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[0*16] with print elements set to 6 p &ctable2[1*16] $364 = (unsigned char *) "aaXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[1*16] with print elements set to 6 p &ctable2[2*16] $365 = (unsigned char *) "aaaXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[2*16] with print elements set to 6 p &ctable2[3*16] $366 = (unsigned char *) "aaaaXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[3*16] with print elements set to 6 p &ctable2[4*16] $367 = (unsigned char *) "aaaaaX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[4*16] with print elements set to 6 p &ctable2[5*16] $368 = (unsigned char *) "aaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[5*16] with print elements set to 6 p &ctable2[6*16] $369 = (unsigned char *) "aaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[6*16] with print elements set to 6 p &ctable2[7*16] $370 = (unsigned char *) "aaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[7*16] with print elements set to 6 p &ctable2[8*16] $371 = (unsigned char *) "aaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[8*16] with print elements set to 6 p &ctable2[9*16] $372 = (unsigned char *) "aaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[9*16] with print elements set to 6 p &ctable2[10*16] $373 = (unsigned char *) "aaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[10*16] with print elements set to 6 p &ctable2[11*16] $374 = (unsigned char *) "aaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[11*16] with print elements set to 6 p &ctable2[12*16] $375 = (unsigned char *) "aaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[12*16] with print elements set to 6 p &ctable2[13*16] $376 = (unsigned char *) "aaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[13*16] with print elements set to 6 p &ctable2[14*16] $377 = (unsigned char *) "aaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[14*16] with print elements set to 6 p &ctable2[15*16] $378 = (unsigned char *) "aaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[15*16] with print elements set to 6 set print elements 7 (gdb) PASS: gdb.base/printcmds.exp: set print elements 7 p &ctable2[0*16] $379 = (unsigned char *) "aXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[0*16] with print elements set to 7 p &ctable2[1*16] $380 = (unsigned char *) "aaXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[1*16] with print elements set to 7 p &ctable2[2*16] $381 = (unsigned char *) "aaaXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[2*16] with print elements set to 7 p &ctable2[3*16] $382 = (unsigned char *) "aaaaXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[3*16] with print elements set to 7 p &ctable2[4*16] $383 = (unsigned char *) "aaaaaXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[4*16] with print elements set to 7 p &ctable2[5*16] $384 = (unsigned char *) "aaaaaaX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[5*16] with print elements set to 7 p &ctable2[6*16] $385 = (unsigned char *) "aaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[6*16] with print elements set to 7 p &ctable2[7*16] $386 = (unsigned char *) "aaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[7*16] with print elements set to 7 p &ctable2[8*16] $387 = (unsigned char *) "aaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[8*16] with print elements set to 7 p &ctable2[9*16] $388 = (unsigned char *) "aaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[9*16] with print elements set to 7 p &ctable2[10*16] $389 = (unsigned char *) "aaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[10*16] with print elements set to 7 p &ctable2[11*16] $390 = (unsigned char *) "aaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[11*16] with print elements set to 7 p &ctable2[12*16] $391 = (unsigned char *) "aaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[12*16] with print elements set to 7 p &ctable2[13*16] $392 = (unsigned char *) "aaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[13*16] with print elements set to 7 p &ctable2[14*16] $393 = (unsigned char *) "aaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[14*16] with print elements set to 7 p &ctable2[15*16] $394 = (unsigned char *) "aaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[15*16] with print elements set to 7 set print elements 8 (gdb) PASS: gdb.base/printcmds.exp: set print elements 8 p &ctable2[0*16] $395 = (unsigned char *) "aXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[0*16] with print elements set to 8 p &ctable2[1*16] $396 = (unsigned char *) "aaXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[1*16] with print elements set to 8 p &ctable2[2*16] $397 = (unsigned char *) "aaaXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[2*16] with print elements set to 8 p &ctable2[3*16] $398 = (unsigned char *) "aaaaXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[3*16] with print elements set to 8 p &ctable2[4*16] $399 = (unsigned char *) "aaaaaXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[4*16] with print elements set to 8 p &ctable2[5*16] $400 = (unsigned char *) "aaaaaaXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[5*16] with print elements set to 8 p &ctable2[6*16] $401 = (unsigned char *) "aaaaaaaX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[6*16] with print elements set to 8 p &ctable2[7*16] $402 = (unsigned char *) "aaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[7*16] with print elements set to 8 p &ctable2[8*16] $403 = (unsigned char *) "aaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[8*16] with print elements set to 8 p &ctable2[9*16] $404 = (unsigned char *) "aaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[9*16] with print elements set to 8 p &ctable2[10*16] $405 = (unsigned char *) "aaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[10*16] with print elements set to 8 p &ctable2[11*16] $406 = (unsigned char *) "aaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[11*16] with print elements set to 8 p &ctable2[12*16] $407 = (unsigned char *) "aaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[12*16] with print elements set to 8 p &ctable2[13*16] $408 = (unsigned char *) "aaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[13*16] with print elements set to 8 p &ctable2[14*16] $409 = (unsigned char *) "aaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[14*16] with print elements set to 8 p &ctable2[15*16] $410 = (unsigned char *) "aaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[15*16] with print elements set to 8 set print elements 9 (gdb) PASS: gdb.base/printcmds.exp: set print elements 9 p &ctable2[0*16] $411 = (unsigned char *) "aXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[0*16] with print elements set to 9 p &ctable2[1*16] $412 = (unsigned char *) "aaXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[1*16] with print elements set to 9 p &ctable2[2*16] $413 = (unsigned char *) "aaaXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[2*16] with print elements set to 9 p &ctable2[3*16] $414 = (unsigned char *) "aaaaXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[3*16] with print elements set to 9 p &ctable2[4*16] $415 = (unsigned char *) "aaaaaXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[4*16] with print elements set to 9 p &ctable2[5*16] $416 = (unsigned char *) "aaaaaaXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[5*16] with print elements set to 9 p &ctable2[6*16] $417 = (unsigned char *) "aaaaaaaXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[6*16] with print elements set to 9 p &ctable2[7*16] $418 = (unsigned char *) "aaaaaaaaX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[7*16] with print elements set to 9 p &ctable2[8*16] $419 = (unsigned char *) "aaaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[8*16] with print elements set to 9 p &ctable2[9*16] $420 = (unsigned char *) "aaaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[9*16] with print elements set to 9 p &ctable2[10*16] $421 = (unsigned char *) "aaaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[10*16] with print elements set to 9 p &ctable2[11*16] $422 = (unsigned char *) "aaaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[11*16] with print elements set to 9 p &ctable2[12*16] $423 = (unsigned char *) "aaaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[12*16] with print elements set to 9 p &ctable2[13*16] $424 = (unsigned char *) "aaaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[13*16] with print elements set to 9 p &ctable2[14*16] $425 = (unsigned char *) "aaaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[14*16] with print elements set to 9 p &ctable2[15*16] $426 = (unsigned char *) "aaaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[15*16] with print elements set to 9 set print elements 10 (gdb) PASS: gdb.base/printcmds.exp: set print elements 10 p &ctable2[0*16] $427 = (unsigned char *) "aXXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[0*16] with print elements set to 10 p &ctable2[1*16] $428 = (unsigned char *) "aaXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[1*16] with print elements set to 10 p &ctable2[2*16] $429 = (unsigned char *) "aaaXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[2*16] with print elements set to 10 p &ctable2[3*16] $430 = (unsigned char *) "aaaaXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[3*16] with print elements set to 10 p &ctable2[4*16] $431 = (unsigned char *) "aaaaaXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[4*16] with print elements set to 10 p &ctable2[5*16] $432 = (unsigned char *) "aaaaaaXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[5*16] with print elements set to 10 p &ctable2[6*16] $433 = (unsigned char *) "aaaaaaaXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[6*16] with print elements set to 10 p &ctable2[7*16] $434 = (unsigned char *) "aaaaaaaaXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[7*16] with print elements set to 10 p &ctable2[8*16] $435 = (unsigned char *) "aaaaaaaaaX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[8*16] with print elements set to 10 p &ctable2[9*16] $436 = (unsigned char *) "aaaaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[9*16] with print elements set to 10 p &ctable2[10*16] $437 = (unsigned char *) "aaaaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[10*16] with print elements set to 10 p &ctable2[11*16] $438 = (unsigned char *) "aaaaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[11*16] with print elements set to 10 p &ctable2[12*16] $439 = (unsigned char *) "aaaaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[12*16] with print elements set to 10 p &ctable2[13*16] $440 = (unsigned char *) "aaaaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[13*16] with print elements set to 10 p &ctable2[14*16] $441 = (unsigned char *) "aaaaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[14*16] with print elements set to 10 p &ctable2[15*16] $442 = (unsigned char *) "aaaaaaaaaa"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[15*16] with print elements set to 10 set print elements 11 (gdb) PASS: gdb.base/printcmds.exp: set print elements 11 p &ctable2[0*16] $443 = (unsigned char *) "aXXXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[0*16] with print elements set to 11 p &ctable2[1*16] $444 = (unsigned char *) "aaXXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[1*16] with print elements set to 11 p &ctable2[2*16] $445 = (unsigned char *) "aaaXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[2*16] with print elements set to 11 p &ctable2[3*16] $446 = (unsigned char *) "aaaaXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[3*16] with print elements set to 11 p &ctable2[4*16] $447 = (unsigned char *) "aaaaaXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[4*16] with print elements set to 11 p &ctable2[5*16] $448 = (unsigned char *) "aaaaaaXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[5*16] with print elements set to 11 p &ctable2[6*16] $449 = (unsigned char *) "aaaaaaaXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[6*16] with print elements set to 11 p &ctable2[7*16] $450 = (unsigned char *) "aaaaaaaaXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[7*16] with print elements set to 11 p &ctable2[8*16] $451 = (unsigned char *) "aaaaaaaaaXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[8*16] with print elements set to 11 p &ctable2[9*16] $452 = (unsigned char *) "aaaaaaaaaaX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[9*16] with print elements set to 11 p &ctable2[10*16] $453 = (unsigned char *) 'a' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[10*16] with print elements set to 11 p &ctable2[11*16] $454 = (unsigned char *) 'a' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[11*16] with print elements set to 11 p &ctable2[12*16] $455 = (unsigned char *) 'a' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[12*16] with print elements set to 11 p &ctable2[13*16] $456 = (unsigned char *) 'a' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[13*16] with print elements set to 11 p &ctable2[14*16] $457 = (unsigned char *) 'a' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[14*16] with print elements set to 11 p &ctable2[15*16] $458 = (unsigned char *) 'a' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[15*16] with print elements set to 11 set print elements 12 (gdb) PASS: gdb.base/printcmds.exp: set print elements 12 p &ctable2[0*16] $459 = (unsigned char *) "a", 'X' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[0*16] with print elements set to 12 p &ctable2[1*16] $460 = (unsigned char *) "aaXXXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[1*16] with print elements set to 12 p &ctable2[2*16] $461 = (unsigned char *) "aaaXXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[2*16] with print elements set to 12 p &ctable2[3*16] $462 = (unsigned char *) "aaaaXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[3*16] with print elements set to 12 p &ctable2[4*16] $463 = (unsigned char *) "aaaaaXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[4*16] with print elements set to 12 p &ctable2[5*16] $464 = (unsigned char *) "aaaaaaXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[5*16] with print elements set to 12 p &ctable2[6*16] $465 = (unsigned char *) "aaaaaaaXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[6*16] with print elements set to 12 p &ctable2[7*16] $466 = (unsigned char *) "aaaaaaaaXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[7*16] with print elements set to 12 p &ctable2[8*16] $467 = (unsigned char *) "aaaaaaaaaXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[8*16] with print elements set to 12 p &ctable2[9*16] $468 = (unsigned char *) "aaaaaaaaaaXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[9*16] with print elements set to 12 p &ctable2[10*16] $469 = (unsigned char *) 'a' , "X"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[10*16] with print elements set to 12 p &ctable2[11*16] $470 = (unsigned char *) 'a' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[11*16] with print elements set to 12 p &ctable2[12*16] $471 = (unsigned char *) 'a' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[12*16] with print elements set to 12 p &ctable2[13*16] $472 = (unsigned char *) 'a' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[13*16] with print elements set to 12 p &ctable2[14*16] $473 = (unsigned char *) 'a' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[14*16] with print elements set to 12 p &ctable2[15*16] $474 = (unsigned char *) 'a' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[15*16] with print elements set to 12 set print elements 13 (gdb) PASS: gdb.base/printcmds.exp: set print elements 13 p &ctable2[0*16] $475 = (unsigned char *) "a", 'X' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[0*16] with print elements set to 13 p &ctable2[1*16] $476 = (unsigned char *) "aa", 'X' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[1*16] with print elements set to 13 p &ctable2[2*16] $477 = (unsigned char *) "aaaXXXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[2*16] with print elements set to 13 p &ctable2[3*16] $478 = (unsigned char *) "aaaaXXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[3*16] with print elements set to 13 p &ctable2[4*16] $479 = (unsigned char *) "aaaaaXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[4*16] with print elements set to 13 p &ctable2[5*16] $480 = (unsigned char *) "aaaaaaXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[5*16] with print elements set to 13 p &ctable2[6*16] $481 = (unsigned char *) "aaaaaaaXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[6*16] with print elements set to 13 p &ctable2[7*16] $482 = (unsigned char *) "aaaaaaaaXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[7*16] with print elements set to 13 p &ctable2[8*16] $483 = (unsigned char *) "aaaaaaaaaXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[8*16] with print elements set to 13 p &ctable2[9*16] $484 = (unsigned char *) "aaaaaaaaaaXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[9*16] with print elements set to 13 p &ctable2[10*16] $485 = (unsigned char *) 'a' , "XX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[10*16] with print elements set to 13 p &ctable2[11*16] $486 = (unsigned char *) 'a' , "X"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[11*16] with print elements set to 13 p &ctable2[12*16] $487 = (unsigned char *) 'a' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[12*16] with print elements set to 13 p &ctable2[13*16] $488 = (unsigned char *) 'a' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[13*16] with print elements set to 13 p &ctable2[14*16] $489 = (unsigned char *) 'a' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[14*16] with print elements set to 13 p &ctable2[15*16] $490 = (unsigned char *) 'a' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[15*16] with print elements set to 13 set print elements 14 (gdb) PASS: gdb.base/printcmds.exp: set print elements 14 p &ctable2[0*16] $491 = (unsigned char *) "a", 'X' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[0*16] with print elements set to 14 p &ctable2[1*16] $492 = (unsigned char *) "aa", 'X' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[1*16] with print elements set to 14 p &ctable2[2*16] $493 = (unsigned char *) "aaa", 'X' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[2*16] with print elements set to 14 p &ctable2[3*16] $494 = (unsigned char *) "aaaaXXXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[3*16] with print elements set to 14 p &ctable2[4*16] $495 = (unsigned char *) "aaaaaXXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[4*16] with print elements set to 14 p &ctable2[5*16] $496 = (unsigned char *) "aaaaaaXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[5*16] with print elements set to 14 p &ctable2[6*16] $497 = (unsigned char *) "aaaaaaaXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[6*16] with print elements set to 14 p &ctable2[7*16] $498 = (unsigned char *) "aaaaaaaaXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[7*16] with print elements set to 14 p &ctable2[8*16] $499 = (unsigned char *) "aaaaaaaaaXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[8*16] with print elements set to 14 p &ctable2[9*16] $500 = (unsigned char *) "aaaaaaaaaaXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[9*16] with print elements set to 14 p &ctable2[10*16] $501 = (unsigned char *) 'a' , "XXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[10*16] with print elements set to 14 p &ctable2[11*16] $502 = (unsigned char *) 'a' , "XX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[11*16] with print elements set to 14 p &ctable2[12*16] $503 = (unsigned char *) 'a' , "X"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[12*16] with print elements set to 14 p &ctable2[13*16] $504 = (unsigned char *) 'a' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[13*16] with print elements set to 14 p &ctable2[14*16] $505 = (unsigned char *) 'a' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[14*16] with print elements set to 14 p &ctable2[15*16] $506 = (unsigned char *) 'a' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[15*16] with print elements set to 14 set print elements 15 (gdb) PASS: gdb.base/printcmds.exp: set print elements 15 p &ctable2[0*16] $507 = (unsigned char *) "a", 'X' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[0*16] with print elements set to 15 p &ctable2[1*16] $508 = (unsigned char *) "aa", 'X' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[1*16] with print elements set to 15 p &ctable2[2*16] $509 = (unsigned char *) "aaa", 'X' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[2*16] with print elements set to 15 p &ctable2[3*16] $510 = (unsigned char *) "aaaa", 'X' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[3*16] with print elements set to 15 p &ctable2[4*16] $511 = (unsigned char *) "aaaaaXXXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[4*16] with print elements set to 15 p &ctable2[5*16] $512 = (unsigned char *) "aaaaaaXXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[5*16] with print elements set to 15 p &ctable2[6*16] $513 = (unsigned char *) "aaaaaaaXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[6*16] with print elements set to 15 p &ctable2[7*16] $514 = (unsigned char *) "aaaaaaaaXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[7*16] with print elements set to 15 p &ctable2[8*16] $515 = (unsigned char *) "aaaaaaaaaXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[8*16] with print elements set to 15 p &ctable2[9*16] $516 = (unsigned char *) "aaaaaaaaaaXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[9*16] with print elements set to 15 p &ctable2[10*16] $517 = (unsigned char *) 'a' , "XXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[10*16] with print elements set to 15 p &ctable2[11*16] $518 = (unsigned char *) 'a' , "XXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[11*16] with print elements set to 15 p &ctable2[12*16] $519 = (unsigned char *) 'a' , "XX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[12*16] with print elements set to 15 p &ctable2[13*16] $520 = (unsigned char *) 'a' , "X"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[13*16] with print elements set to 15 p &ctable2[14*16] $521 = (unsigned char *) 'a' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[14*16] with print elements set to 15 p &ctable2[15*16] $522 = (unsigned char *) 'a' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[15*16] with print elements set to 15 set print elements 16 (gdb) PASS: gdb.base/printcmds.exp: set print elements 16 p &ctable2[0*16] $523 = (unsigned char *) "a", 'X' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[0*16] with print elements set to 16 p &ctable2[1*16] $524 = (unsigned char *) "aa", 'X' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[1*16] with print elements set to 16 p &ctable2[2*16] $525 = (unsigned char *) "aaa", 'X' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[2*16] with print elements set to 16 p &ctable2[3*16] $526 = (unsigned char *) "aaaa", 'X' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[3*16] with print elements set to 16 p &ctable2[4*16] $527 = (unsigned char *) "aaaaa", 'X' ... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[4*16] with print elements set to 16 p &ctable2[5*16] $528 = (unsigned char *) "aaaaaaXXXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[5*16] with print elements set to 16 p &ctable2[6*16] $529 = (unsigned char *) "aaaaaaaXXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[6*16] with print elements set to 16 p &ctable2[7*16] $530 = (unsigned char *) "aaaaaaaaXXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[7*16] with print elements set to 16 p &ctable2[8*16] $531 = (unsigned char *) "aaaaaaaaaXXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[8*16] with print elements set to 16 p &ctable2[9*16] $532 = (unsigned char *) "aaaaaaaaaaXXXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[9*16] with print elements set to 16 p &ctable2[10*16] $533 = (unsigned char *) 'a' , "XXXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[10*16] with print elements set to 16 p &ctable2[11*16] $534 = (unsigned char *) 'a' , "XXXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[11*16] with print elements set to 16 p &ctable2[12*16] $535 = (unsigned char *) 'a' , "XXX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[12*16] with print elements set to 16 p &ctable2[13*16] $536 = (unsigned char *) 'a' , "XX"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[13*16] with print elements set to 16 p &ctable2[14*16] $537 = (unsigned char *) 'a' , "X"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[14*16] with print elements set to 16 p &ctable2[15*16] $538 = (unsigned char *) 'a' (gdb) PASS: gdb.base/printcmds.exp: p &ctable2[15*16] with print elements set to 16 set print elements 0 (gdb) PASS: gdb.base/printcmds.exp: set print elements 0 p teststring $539 = "teststring contents" (gdb) PASS: gdb.base/printcmds.exp: p teststring with elements set to 0 set print elements 1 (gdb) PASS: gdb.base/printcmds.exp: set print elements 1 p teststring $540 = "t"... (gdb) PASS: gdb.base/printcmds.exp: p teststring with elements set to 1 set print elements 5 (gdb) PASS: gdb.base/printcmds.exp: set print elements 5 p teststring $541 = "tests"... (gdb) PASS: gdb.base/printcmds.exp: p teststring with elements set to 5 set print elements 19 (gdb) PASS: gdb.base/printcmds.exp: set print elements 19 p teststring $542 = "teststring contents" (gdb) PASS: gdb.base/printcmds.exp: p teststring with elements set to 19 set print elements 20 (gdb) PASS: gdb.base/printcmds.exp: set print elements 20 p teststring $543 = "teststring contents" (gdb) PASS: gdb.base/printcmds.exp: p teststring with elements set to 20 set print elements 8 (gdb) PASS: gdb.base/printcmds.exp: set print elements 8 p &ctable1[0] $544 = (unsigned char *) "" (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[0] p &ctable1[1] $545 = (unsigned char *) "\001\002\003\004\005\006\a\b"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[1] p &ctable1[1*8] $546 = (unsigned char *) "\b\t\n\013\f\r\016\017"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[1*8] p &ctable1[2*8] $547 = (unsigned char *) "\020\021\022\023\024\025\026\027"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[2*8] p &ctable1[3*8] $548 = (unsigned char *) "\030\031\032\e\034\035\036\037"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[3*8] p &ctable1[4*8] $549 = (unsigned char *) " !\"#$%&'"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[4*8] p &ctable1[5*8] $550 = (unsigned char *) "()*+,-./"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[5*8] p &ctable1[6*8] $551 = (unsigned char *) "01234567"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[6*8] p &ctable1[7*8] $552 = (unsigned char *) "89:;<=>?"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[7*8] p &ctable1[8*8] $553 = (unsigned char *) "@ABCDEFG"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[8*8] p &ctable1[9*8] $554 = (unsigned char *) "HIJKLMNO"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[9*8] p &ctable1[10*8] $555 = (unsigned char *) "PQRSTUVW"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[10*8] p &ctable1[11*8] $556 = (unsigned char *) "XYZ[\\]^_"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[11*8] p &ctable1[12*8] $557 = (unsigned char *) "`abcdefg"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[12*8] p &ctable1[13*8] $558 = (unsigned char *) "hijklmno"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[13*8] p &ctable1[14*8] $559 = (unsigned char *) "pqrstuvw"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[14*8] p &ctable1[15*8] $560 = (unsigned char *) "xyz{|}~\177"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[15*8] p &ctable1[16*8] $561 = (unsigned char *) "\200\201\202\203\204\205\206\207"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[16*8] p &ctable1[17*8] $562 = (unsigned char *) "\210\211\212\213\214\215\216\217"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[17*8] p &ctable1[18*8] $563 = (unsigned char *) "\220\221\222\223\224\225\226\227"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[18*8] p &ctable1[19*8] $564 = (unsigned char *) "\230\231\232\233\234\235\236\237"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[19*8] p &ctable1[20*8] $565 = (unsigned char *) "\240\241\242\243\244\245\246\247"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[20*8] p &ctable1[21*8] $566 = (unsigned char *) "\250\251\252\253\254\255\256\257"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[21*8] p &ctable1[22*8] $567 = (unsigned char *) "\260\261\262\263\264\265\266\267"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[22*8] p &ctable1[23*8] $568 = (unsigned char *) "\270\271\272\273\274\275\276\277"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[23*8] p &ctable1[24*8] $569 = (unsigned char *) "\300\301\302\303\304\305\306\307"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[24*8] p &ctable1[25*8] $570 = (unsigned char *) "\310\311\312\313\314\315\316\317"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[25*8] p &ctable1[26*8] $571 = (unsigned char *) "\320\321\322\323\324\325\326\327"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[26*8] p &ctable1[27*8] $572 = (unsigned char *) "\330\331\332\333\334\335\336\337"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[27*8] p &ctable1[28*8] $573 = (unsigned char *) "\340\341\342\343\344\345\346\347"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[28*8] p &ctable1[29*8] $574 = (unsigned char *) "\350\351\352\353\354\355\356\357"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[29*8] p &ctable1[30*8] $575 = (unsigned char *) "\360\361\362\363\364\365\366\367"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[30*8] p &ctable1[31*8] $576 = (unsigned char *) "\370\371\372\373\374\375\376\377"... (gdb) PASS: gdb.base/printcmds.exp: p &ctable1[31*8] set print elements 24 (gdb) PASS: gdb.base/printcmds.exp: set print elements 24 p int1dim $577 = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11} (gdb) p int2dim $578 = {{0, 1, 2, 3}, {4, 5, 6, 7}, {8, 9, 10, 11}} (gdb) p int3dim $579 = {{{0, 1}, {2, 3}, {4, 5}}, {{6, 7}, {8, 9}, {10, 11}}} (gdb) p int4dim $580 = {{{{0, 1}, {2, 3}, {4, 5}}, {{6, 7}, {8, 9}, {10, 11}}}} (gdb) set print elements 24 (gdb) PASS: gdb.base/printcmds.exp: set print elements 24 p a1 $581 = {2, 4, 6, 8, 10, 12, 14, 16, 18, 20} (gdb) p a1[0] $582 = 2 (gdb) PASS: gdb.base/printcmds.exp: p a1[0] p a1[9] $583 = 20 (gdb) PASS: gdb.base/printcmds.exp: p a1[9] p a2 $584 = "abcd" (gdb) PASS: gdb.base/printcmds.exp: p a2 p a2[0] $585 = 97 'a' (gdb) PASS: gdb.base/printcmds.exp: p a2[0] p a2[3] $586 = 100 'd' (gdb) PASS: gdb.base/printcmds.exp: p a2[3] p int1dim[0]@2 $587 = {0, 1} (gdb) PASS: gdb.base/printcmds.exp: p int1dim[0]@2 p int1dim[0]@2@3 $588 = {{0, 1}, {2, 3}, {4, 5}} (gdb) PASS: gdb.base/printcmds.exp: p int1dim[0]@2@3 p/x (short [])0x12345678 $589 = {0x5678, 0x1234} (gdb) set print elements 24 (gdb) PASS: gdb.base/printcmds.exp: set print elements 24 set print address on (gdb) PASS: gdb.base/printcmds.exp: set print address on p arrays $590 = {array1 = "abc", array2 = "d", array3 = "e", array4 = "fg", array5 = "hij"} (gdb) PASS: gdb.base/printcmds.exp: p arrays p parrays $591 = (struct some_arrays *) 0x8049874 (gdb) PASS: gdb.base/printcmds.exp: p parrays p parrays->array1 $592 = "abc" (gdb) PASS: gdb.base/printcmds.exp: p parrays->array1 p &parrays->array1 $593 = (unsigned char (*)[4]) 0x8049874 (gdb) PASS: gdb.base/printcmds.exp: p &parrays->array1 p parrays->array2 $594 = "d" (gdb) PASS: gdb.base/printcmds.exp: p parrays->array2 p &parrays->array2 $595 = (unsigned char (*)[1]) 0x8049878 (gdb) PASS: gdb.base/printcmds.exp: p &parrays->array2 p parrays->array3 $596 = "e" (gdb) PASS: gdb.base/printcmds.exp: p parrays->array3 p &parrays->array3 $597 = (unsigned char (*)[1]) 0x8049879 (gdb) PASS: gdb.base/printcmds.exp: p &parrays->array3 p parrays->array4 $598 = "fg" (gdb) PASS: gdb.base/printcmds.exp: p parrays->array4 p &parrays->array4 $599 = (unsigned char (*)[2]) 0x804987a (gdb) PASS: gdb.base/printcmds.exp: p &parrays->array4 p parrays->array5 $600 = "hij" (gdb) PASS: gdb.base/printcmds.exp: p parrays->array5 p &parrays->array5 $601 = (unsigned char (*)[4]) 0x804987c (gdb) PASS: gdb.base/printcmds.exp: p &parrays->array5 set print address off (gdb) PASS: gdb.base/printcmds.exp: set print address off set print elements 50 (gdb) PASS: gdb.base/printcmds.exp: set print elements 50 p "a string" $602 = "a string" (gdb) PASS: gdb.base/printcmds.exp: p "a string" p "embedded \000 null" $603 = "embedded \000 null" (gdb) PASS: gdb.base/printcmds.exp: p "embedded \000 null" p "abcd"[2] $604 = 99 'c' (gdb) PASS: gdb.base/printcmds.exp: p "abcd"[2] p sizeof ("abcdef") $605 = 7 (gdb) PASS: gdb.base/printcmds.exp: p sizeof ("abcdef") ptype "foo" type = char [4] (gdb) PASS: gdb.base/printcmds.exp: ptype "foo" p *"foo" $606 = 102 'f' (gdb) PASS: gdb.base/printcmds.exp: p *"foo" ptype *"foo" type = char (gdb) PASS: gdb.base/printcmds.exp: ptype *"foo" p &*"foo" $607 = "foo" (gdb) PASS: gdb.base/printcmds.exp: p &*"foo" ptype &*"foo" type = char [4] (gdb) XFAIL: gdb.base/printcmds.exp: ptype &*"foo" p (char *)"foo" $608 = "foo" (gdb) PASS: gdb.base/printcmds.exp: p (char *)"foo" print {'a','b','c'} $609 = "abc" (gdb) PASS: gdb.base/printcmds.exp: print {'a','b','c'} print {0,1,2} $610 = {0, 1, 2} (gdb) print {(long)0,(long)1,(long)2} $611 = {0, 1, 2} (gdb) print {{0,1,2},{3,4,5}} $612 = {{0, 1, 2}, {3, 4, 5}} (gdb) print {4,5,6}[2] $613 = 6 (gdb) PASS: gdb.base/printcmds.exp: print {4,5,6}[2] print *&{4,5,6}[1] $614 = 5 (gdb) PASS: gdb.base/printcmds.exp: print *&{4,5,6}[1] printf "x=%d,y=%d,z=%d\n", 5, 6, 7 x=5,y=6,z=7 (gdb) PASS: gdb.base/printcmds.exp: printf "x=%d,y=%d,z=%d\n", 5, 6, 7 printf "string=%.4sxx\n", teststring string=testxx (gdb) PASS: gdb.base/printcmds.exp: printf "string=%.4sxx\n", teststring printf "string=%sxx\n", teststring string=teststring contentsxx (gdb) PASS: gdb.base/printcmds.exp: printf "string=%sxx\n", teststring printf "%f is fun\n", 1.0 1.000000 is fun (gdb) PASS: gdb.base/printcmds.exp: printf "%f is fun\n", 1.0 printf "x=%d,y=%f,z=%d\n", 5, 6.0, 7 x=5,y=6.000000,z=7 (gdb) PASS: gdb.base/printcmds.exp: printf "x=%d,y=%f,z=%d\n", 5, 6.0, 7 printf "%x %f, %c %x, %x, %f\n", 0xbad, -99.541, 'z', 0xfeedface, 0xdeadbeef, 5.0 bad -99.541000, z feedface, deadbeef, 5.000000 (gdb) PASS: gdb.base/printcmds.exp: printf "%x %f, %c %x, %x, %f\n", 0xbad, -99.541, 'z', 0xfeedface, 0xdeadbeef, 5.0 testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/printcmds.exp completed in 7 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ptype.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ptype.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/ptype (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ptype.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/ptype Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/ptype.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/ptype.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/ptype Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/ptype...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/ptype (gdb) ptype red1 type = enum {red1, green1, blue1} (gdb) PASS: gdb.base/ptype.exp: ptype unnamed enumeration member ptype struct t_struct type = struct t_struct { char v_char_member; short int v_short_member; int v_int_member; long int v_long_member; float v_float_member; double v_double_member; } (gdb) PASS: gdb.base/ptype.exp: ptype structure ptype v_struct1.v_float_member type = float (gdb) PASS: gdb.base/ptype.exp: ptype v_struct1.v_float_member ptype v_struct1->v_float_member type = float (gdb) PASS: gdb.base/ptype.exp: ptype v_struct1->v_float_member ptype v_t_struct_p.v_float_member type = float (gdb) PASS: gdb.base/ptype.exp: ptype v_t_struct_p.v_float_member ptype v_t_struct_p->v_float_member type = float (gdb) PASS: gdb.base/ptype.exp: ptype v_t_struct_p->v_float_member ptype struct link type = struct link { struct link *next; struct link *(*linkfunc)(); struct t_struct stuff[1][2][3]; } (gdb) PASS: gdb.base/ptype.exp: ptype linked list structure ptype union t_union type = union t_union { char v_char_member; short int v_short_member; int v_int_member; long int v_long_member; float v_float_member; double v_double_member; } (gdb) PASS: gdb.base/ptype.exp: ptype union ptype union tu_link type = union tu_link { struct link *next; struct link *(*linkfunc)(); struct t_struct stuff[1][2][3]; } (gdb) PASS: gdb.base/ptype.exp: ptype linked list union ptype primary type = enum {red, green, blue} (gdb) PASS: gdb.base/ptype.exp: ptype unnamed enumeration ptype enum colors type = enum colors {yellow, purple, pink} (gdb) PASS: gdb.base/ptype.exp: ptype named enumeration ptype boolean type = enum {FALSE, TRUE} (gdb) PASS: gdb.base/ptype.exp: ptype unnamed typedef'd enumeration list main 227 enum misordered v_misordered = three; 228 229 /***********/ 230 231 int main () 232 { 233 /* Ensure that malloc is a pointer type; avoid use of "void" and any include files. */ 234 /* extern char *malloc();*/ 235 236 /* Some of the tests in ptype.exp require invoking malloc, so make (gdb) PASS: gdb.base/ptype.exp: list main info source Current source file is /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ptype.c Compilation directory is /build/native/gdb/testsuite/ Located in /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ptype.c Contains 318 lines. Source language is c. Compiled with stabs debugging format. (gdb) whatis v_boolean type = boolean (gdb) PASS: gdb.base/ptype.exp: whatis unnamed typedef'd enum (compiler bug in IBM's xlc) ptype t_struct3 type = struct { double v_double_member; int v_int_member; } (gdb) PASS: gdb.base/ptype.exp: printing typedef'd struct ptype t_union3 type = union { double v_double_member; int v_int_member; } (gdb) PASS: gdb.base/ptype.exp: printing typedef'd union ptype enum bvals type = enum bvals {my_false, my_true} (gdb) PASS: gdb.base/ptype.exp: ptype named typedef'd enumf'd enum ptype enum misordered type = enum misordered {two = 2, one = 1, zero = 0, three = 3} (gdb) PASS: gdb.base/ptype.exp: ptype misordered enumeration ptype three type = enum misordered {two = 2, one = 1, zero = 0, three = 3} (gdb) PASS: gdb.base/ptype.exp: ptype named enumeration member ptype red type = enum {red, green, blue} (gdb) PASS: gdb.base/ptype.exp: ptype unnamed enumeration member #2 ptype v_short type = short int (gdb) PASS: gdb.base/ptype.exp: ptype short ptype v_int type = int (gdb) PASS: gdb.base/ptype.exp: ptype int ptype t_char_array type = char [0] (gdb) PASS: gdb.base/ptype.exp: ptype t_char_array ptype struct outer_struct type = struct outer_struct { int outer_int; struct inner_struct inner_struct_instance; union inner_union inner_union_instance; long int outer_long; } (gdb) PASS: gdb.base/ptype.exp: ptype outer structure ptype struct inner_struct type = struct inner_struct { int inner_int; long int inner_long; } (gdb) PASS: gdb.base/ptype.exp: ptype inner structure ptype union inner_union type = union inner_union { int inner_union_int; long int inner_union_long; } (gdb) PASS: gdb.base/ptype.exp: ptype inner union ptype nested_su type = struct outer_struct { int outer_int; struct inner_struct inner_struct_instance; union inner_union inner_union_instance; long int outer_long; } (gdb) PASS: gdb.base/ptype.exp: ptype nested structure ptype nested_su.outer_int type = int (gdb) PASS: gdb.base/ptype.exp: ptype outer int ptype nested_su.inner_struct_instance type = struct inner_struct { int inner_int; long int inner_long; } (gdb) PASS: gdb.base/ptype.exp: ptype nested structure #2 ptype nested_su.inner_struct_instance.inner_int type = int (gdb) PASS: gdb.base/ptype.exp: ptype inner int ptype nested_su.inner_union_instance type = union inner_union { int inner_union_int; long int inner_union_long; } (gdb) PASS: gdb.base/ptype.exp: ptype nested union delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x80484ea: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ptype.c, line 238. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/ptype Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ptype.c:238 238 v_char_pointer = (char *) malloc (1); (gdb) ptype "abc" type = char [4] (gdb) PASS: gdb.base/ptype.exp: ptype "abc" ptype {'a','b','c'} type = char [3] (gdb) PASS: gdb.base/ptype.exp: ptype {'a','b','c'} ptype {0,1,2} type = int [3] (gdb) PASS: gdb.base/ptype.exp: ptype {0,1,2} ptype {(long)0,(long)1,(long)2} type = long [3] (gdb) PASS: gdb.base/ptype.exp: ptype {(long)0,(long)1,(long)2} ptype {(float)0,(float)1,(float)2} type = float [3] (gdb) PASS: gdb.base/ptype.exp: ptype {(float)0,(float)1,(float)2} ptype {{0,1,2},{3,4,5}} type = int [2][3] (gdb) PASS: gdb.base/ptype.exp: ptype {{0,1,2},{3,4,5}} ptype {4,5,6}[2] type = int (gdb) PASS: gdb.base/ptype.exp: ptype {4,5,6}[2] ptype *&{4,5,6}[1] type = int (gdb) PASS: gdb.base/ptype.exp: ptype *&{4,5,6}[1] testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/ptype.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/radix.exp ... spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) set radix Input and output radices now set to decimal 10, hex a, octal 12. (gdb) PASS: gdb.base/radix.exp: set radix #1 set input-radix 2 Input radix now set to decimal 2, hex 2, octal 2. (gdb) PASS: gdb.base/radix.exp: set input-radix 2 show radix Input radix set to decimal 2, hex 2, octal 2. Output radix set to decimal 10, hex a, octal 12. (gdb) PASS: gdb.base/radix.exp: show radix #1 p 010 $1 = 8 (gdb) PASS: gdb.base/radix.exp: p 010 p 20. $2 = 20 (gdb) PASS: gdb.base/radix.exp: p 20. p (int) 20. $3 = 20 (gdb) PASS: gdb.base/radix.exp: p (int) 20. p 0xf $4 = 15 (gdb) PASS: gdb.base/radix.exp: p 0xf p 10 $5 = 2 (gdb) PASS: gdb.base/radix.exp: p 10 p -101 $6 = -5 (gdb) PASS: gdb.base/radix.exp: p -101 p 101 $7 = 5 (gdb) PASS: gdb.base/radix.exp: p 101 p 10101 $8 = 21 (gdb) PASS: gdb.base/radix.exp: p 10101 p 4 Invalid number "4". (gdb) PASS: gdb.base/radix.exp: p 4 p -2 Invalid number "2". (gdb) PASS: gdb.base/radix.exp: p -2 set radix Input and output radices now set to decimal 10, hex a, octal 12. (gdb) PASS: gdb.base/radix.exp: set radix #2 set input-radix 3 Input radix now set to decimal 3, hex 3, octal 3. (gdb) PASS: gdb.base/radix.exp: set input-radix 3 show radix Input radix set to decimal 3, hex 3, octal 3. Output radix set to decimal 10, hex a, octal 12. (gdb) PASS: gdb.base/radix.exp: show radix #2 p 010 $9 = 8 (gdb) PASS: gdb.base/radix.exp: p 010 p 20. $10 = 20 (gdb) PASS: gdb.base/radix.exp: p 20. p (int) 20. $11 = 20 (gdb) PASS: gdb.base/radix.exp: p (int) 20. p 0xf $12 = 15 (gdb) PASS: gdb.base/radix.exp: p 0xf p 10 $13 = 3 (gdb) PASS: gdb.base/radix.exp: p 10 p 0 $14 = 0 (gdb) PASS: gdb.base/radix.exp: p 0 p 1 $15 = 1 (gdb) PASS: gdb.base/radix.exp: p 1 p 2 $16 = 2 (gdb) PASS: gdb.base/radix.exp: p 2 p 10 $17 = 3 (gdb) PASS: gdb.base/radix.exp: p 10 p 20 $18 = 6 (gdb) PASS: gdb.base/radix.exp: p 20 p 100 $19 = 9 (gdb) PASS: gdb.base/radix.exp: p 100 p -100 $20 = -9 (gdb) PASS: gdb.base/radix.exp: p -100 p 3 Invalid number "3". (gdb) PASS: gdb.base/radix.exp: p 3 p 30 Invalid number "30". (gdb) PASS: gdb.base/radix.exp: p 30 set radix Input and output radices now set to decimal 10, hex a, octal 12. (gdb) PASS: gdb.base/radix.exp: set radix #3 set input-radix 8 Input radix now set to decimal 8, hex 8, octal 10. (gdb) PASS: gdb.base/radix.exp: set input-radix 8 show radix Input radix set to decimal 8, hex 8, octal 10. Output radix set to decimal 10, hex a, octal 12. (gdb) PASS: gdb.base/radix.exp: set radix #3 p 010 $21 = 8 (gdb) PASS: gdb.base/radix.exp: p 010 p 20. $22 = 20 (gdb) PASS: gdb.base/radix.exp: p 20. p (int) 20. $23 = 20 (gdb) PASS: gdb.base/radix.exp: p (int) 20. p 0xf $24 = 15 (gdb) PASS: gdb.base/radix.exp: p 0xf p 10 $25 = 8 (gdb) PASS: gdb.base/radix.exp: p 10 p 20 $26 = 16 (gdb) PASS: gdb.base/radix.exp: p 20 p -20 $27 = -16 (gdb) PASS: gdb.base/radix.exp: p -20 p 100 $28 = 64 (gdb) PASS: gdb.base/radix.exp: p 100 p 8 Invalid number "8". (gdb) PASS: gdb.base/radix.exp: p 8 p -9 Invalid number "9". (gdb) PASS: gdb.base/radix.exp: p -9 set radix Input and output radices now set to decimal 10, hex a, octal 12. (gdb) PASS: gdb.base/radix.exp: set radix #4 set input-radix 10 Input radix now set to decimal 10, hex a, octal 12. (gdb) PASS: gdb.base/radix.exp: set input-radix 10 show radix Input and output radices set to decimal 10, hex a, octal 12. (gdb) PASS: gdb.base/radix.exp: show radix #4 p 010 $29 = 8 (gdb) PASS: gdb.base/radix.exp: p 010 p 20. $30 = 20 (gdb) PASS: gdb.base/radix.exp: p 20. p (int) 20. $31 = 20 (gdb) PASS: gdb.base/radix.exp: p (int) 20. p 0xf $32 = 15 (gdb) PASS: gdb.base/radix.exp: p 0xf p 10 $33 = 10 (gdb) PASS: gdb.base/radix.exp: p 10 p -12 $34 = -12 (gdb) PASS: gdb.base/radix.exp: p -12 set radix Input and output radices now set to decimal 10, hex a, octal 12. (gdb) PASS: gdb.base/radix.exp: set radix #5 set input-radix 16 Input radix now set to decimal 16, hex 10, octal 20. (gdb) PASS: gdb.base/radix.exp: set input-radix 16 show radix Input radix set to decimal 16, hex 10, octal 20. Output radix set to decimal 10, hex a, octal 12. (gdb) PASS: gdb.base/radix.exp: show radix #5 p 010 $35 = 8 (gdb) PASS: gdb.base/radix.exp: p 010 p 20. $36 = 20 (gdb) PASS: gdb.base/radix.exp: p 20. p (int) 20. $37 = 20 (gdb) PASS: gdb.base/radix.exp: p (int) 20. p 0xf $38 = 15 (gdb) PASS: gdb.base/radix.exp: p 0xf p 10 $39 = 16 (gdb) PASS: gdb.base/radix.exp: p 10 p 100 $40 = 256 (gdb) PASS: gdb.base/radix.exp: p 100 set radix Input and output radices now set to decimal 10, hex a, octal 12. (gdb) PASS: gdb.base/radix.exp: set radix #6 set output-radix 8 Output radix now set to decimal 8, hex 8, octal 10. (gdb) PASS: gdb.base/radix.exp: set output-radix 8 show radix Input radix set to decimal 10, hex a, octal 12. Output radix set to decimal 8, hex 8, octal 10. (gdb) PASS: gdb.base/radix.exp: show radix #6 p 010 $41 = 010 (gdb) PASS: gdb.base/radix.exp: p 010 p 20. $42 = 20 (gdb) XFAIL: gdb.base/radix.exp: Float printing when output radix is 8 p (int) 20. $43 = 024 (gdb) PASS: gdb.base/radix.exp: p (int) 20. p 0xf $44 = 017 (gdb) PASS: gdb.base/radix.exp: p 0xf p 10 $45 = 012 (gdb) PASS: gdb.base/radix.exp: p 10 p 100 $46 = 0144 (gdb) PASS: gdb.base/radix.exp: p 100 set radix Input and output radices now set to decimal 10, hex a, octal 12. (gdb) PASS: gdb.base/radix.exp: set radix #7 set output-radix 10 Output radix now set to decimal 10, hex a, octal 12. (gdb) PASS: gdb.base/radix.exp: set output-radix 10 show radix Input and output radices set to decimal 10, hex a, octal 12. (gdb) PASS: gdb.base/radix.exp: show radix #7 p 010 $47 = 8 (gdb) PASS: gdb.base/radix.exp: p 010 p 20. $48 = 20 (gdb) PASS: gdb.base/radix.exp: p 20. p (int) 20. $49 = 20 (gdb) PASS: gdb.base/radix.exp: p (int) 20. p 0xf $50 = 15 (gdb) PASS: gdb.base/radix.exp: p 0xf p 10 $51 = 10 (gdb) PASS: gdb.base/radix.exp: p 10 p 100 $52 = 100 (gdb) PASS: gdb.base/radix.exp: p 100 set radix Input and output radices now set to decimal 10, hex a, octal 12. (gdb) PASS: gdb.base/radix.exp: set radix #8 set output-radix 16 Output radix now set to decimal 16, hex 10, octal 20. (gdb) PASS: gdb.base/radix.exp: set output-radix 16 show radix Input radix set to decimal 10, hex a, octal 12. Output radix set to decimal 16, hex 10, octal 20. (gdb) PASS: gdb.base/radix.exp: show radix #8 p 010 $53 = 0x8 (gdb) PASS: gdb.base/radix.exp: p 010 p 20. $54 = 20 (gdb) XFAIL: gdb.base/radix.exp: Float printing when output radix is 16 p (int) 20. $55 = 0x14 (gdb) PASS: gdb.base/radix.exp: p (int) 20. p 0xf $56 = 0xf (gdb) PASS: gdb.base/radix.exp: p 0xf p 10 $57 = 0xa (gdb) PASS: gdb.base/radix.exp: p 10 p 100 $58 = 0x64 (gdb) PASS: gdb.base/radix.exp: p 100 testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/radix.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/recurse (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/recurse spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/recurse Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/recurse...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/recurse (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break recurse Breakpoint 1 at 0x80483e6: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.c, line 13. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/recurse Breakpoint 1, recurse (a=10) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.c:13 13 int b = 0; (gdb) next 15 if (a == 1) (gdb) PASS: gdb.base/recurse.exp: next over b = 0 in first instance watch b Hardware watchpoint 2: b (gdb) PASS: gdb.base/recurse.exp: set first instance watchpoint continue Continuing. Hardware watchpoint 2: b Old value = 0 New value = 10 recurse (a=10) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.c:19 19 b *= recurse (a - 1); (gdb) PASS: gdb.base/recurse.exp: continue to first instance watchpoint, first time continue Continuing. Breakpoint 1, recurse (a=9) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.c:13 13 int b = 0; (gdb) PASS: gdb.base/recurse.exp: continue to recurse (a = 9) continue Continuing. Breakpoint 1, recurse (a=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.c:13 13 int b = 0; (gdb) PASS: gdb.base/recurse.exp: continue to recurse (a = 8) continue Continuing. Breakpoint 1, recurse (a=7) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.c:13 13 int b = 0; (gdb) PASS: gdb.base/recurse.exp: continue to recurse (a = 7) continue Continuing. Breakpoint 1, recurse (a=6) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.c:13 13 int b = 0; (gdb) PASS: gdb.base/recurse.exp: continue to recurse (a = 6) continue Continuing. Breakpoint 1, recurse (a=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.c:13 13 int b = 0; (gdb) PASS: gdb.base/recurse.exp: continue to recurse (a = 5) next 15 if (a == 1) (gdb) PASS: gdb.base/recurse.exp: next over b = 0 in second instance watch b Hardware watchpoint 4: b (gdb) PASS: gdb.base/recurse.exp: set second instance watchpoint continue Continuing. Hardware watchpoint 4: b Old value = 0 New value = 5 recurse (a=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.c:19 19 b *= recurse (a - 1); (gdb) PASS: gdb.base/recurse.exp: continue to second instance watchpoint, first time continue Continuing. Breakpoint 1, recurse (a=4) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.c:13 13 int b = 0; (gdb) PASS: gdb.base/recurse.exp: continue to recurse (a = 4) continue Continuing. Breakpoint 1, recurse (a=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.c:13 13 int b = 0; (gdb) PASS: gdb.base/recurse.exp: continue to recurse (a = 3) continue Continuing. Breakpoint 1, recurse (a=2) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.c:13 13 int b = 0; (gdb) PASS: gdb.base/recurse.exp: continue to recurse (a = 2) continue Continuing. Breakpoint 1, recurse (a=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.c:13 13 int b = 0; (gdb) PASS: gdb.base/recurse.exp: continue to recurse (a = 1) continue Continuing. Hardware watchpoint 4: b Old value = 5 New value = 120 recurse (a=5) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.c:20 20 return b; (gdb) PASS: gdb.base/recurse.exp: continue to second instance watchpoint, second time continue Continuing. Watchpoint 4 deleted because the program has left the block in which its expression is valid. 0x8048413 in recurse (a=6) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.c:19 19 b *= recurse (a - 1); (gdb) PASS: gdb.base/recurse.exp: second instance watchpoint deleted when leaving scope continue Continuing. Hardware watchpoint 2: b Old value = 10 New value = 3628800 recurse (a=10) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.c:20 20 return b; (gdb) PASS: gdb.base/recurse.exp: continue to first instance watchpoint, second time continue Continuing. Watchpoint 2 deleted because the program has left the block in which its expression is valid. 0x804843c in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.c:29 29 recurse (10); (gdb) PASS: gdb.base/recurse.exp: first instance watchpoint deleted when leaving scope testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/recurse.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/regs.exp ... testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/regs.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/relational.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/int-type (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/int-type Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/int-type.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/int-type.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/int-type Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/int-type...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/int-type (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x80483e3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c, line 17. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/int-type Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c:17 17 x = 14; (gdb) set variable x=14 (gdb) PASS: gdb.base/relational.exp: set variable x=14 set variable y=2 (gdb) PASS: gdb.base/relational.exp: set variable y=2 set variable z=2 (gdb) PASS: gdb.base/relational.exp: set variable z=2 set variable w=3 (gdb) PASS: gdb.base/relational.exp: set variable w=3 print x $1 = 14 (gdb) PASS: gdb.base/relational.exp: print value of x print y $2 = 2 (gdb) PASS: gdb.base/relational.exp: print value of y print z $3 = 2 (gdb) PASS: gdb.base/relational.exp: print value of z print w $4 = 3 (gdb) PASS: gdb.base/relational.exp: print value of w print x < y $5 = 0 (gdb) PASS: gdb.base/relational.exp: print value of x y $7 = 1 (gdb) PASS: gdb.base/relational.exp: print value of x>y print x >= y $8 = 1 (gdb) PASS: gdb.base/relational.exp: print value of x>=y print x == y $9 = 0 (gdb) PASS: gdb.base/relational.exp: print value of x==y print x != y $10 = 1 (gdb) PASS: gdb.base/relational.exp: print value of x!=y set variable x=3 (gdb) PASS: gdb.base/relational.exp: set variable x set variable y=5 (gdb) PASS: gdb.base/relational.exp: set variable y set variable z=2 (gdb) PASS: gdb.base/relational.exp: set variable z print x < y < z $11 = 1 (gdb) PASS: gdb.base/relational.exp: print value of x y > z $13 = 0 (gdb) PASS: gdb.base/relational.exp: print value of x>y>z print x >= y >= z $14 = 0 (gdb) PASS: gdb.base/relational.exp: print value of x>=y>=z set variable x=2 (gdb) PASS: gdb.base/relational.exp: set variable x set variable y=2 (gdb) PASS: gdb.base/relational.exp: set variable y set variable z=1 (gdb) PASS: gdb.base/relational.exp: set variable z print x == y == z $15 = 1 (gdb) PASS: gdb.base/relational.exp: print value of x==y==z set variable z=0 (gdb) PASS: gdb.base/relational.exp: set variable z print x != y != z $16 = 0 (gdb) PASS: gdb.base/relational.exp: print value of x!=y!=z set variable x=0 (gdb) PASS: gdb.base/relational.exp: set variable x set variable y=2 (gdb) PASS: gdb.base/relational.exp: set variable y set variable z=2 (gdb) PASS: gdb.base/relational.exp: set variable z print x < y == z $17 = 0 (gdb) PASS: gdb.base/relational.exp: print value of x= z $20 = 1 (gdb) PASS: gdb.base/relational.exp: print value of x=z set variable z=0 (gdb) PASS: gdb.base/relational.exp: set variable z print x < y > z $21 = 1 (gdb) PASS: gdb.base/relational.exp: print value of xz set variable x=1 (gdb) PASS: gdb.base/relational.exp: set variable x print x > y >= z $22 = 1 (gdb) PASS: gdb.base/relational.exp: print value of x>y>=z set variable z=2 (gdb) PASS: gdb.base/relational.exp: set variable z print x > y == z $23 = 0 (gdb) PASS: gdb.base/relational.exp: print value of x>y==z set variable x=2 (gdb) PASS: gdb.base/relational.exp: set variable x set variable z=0 (gdb) PASS: gdb.base/relational.exp: set variable z print x > y != z $24 = 0 (gdb) PASS: gdb.base/relational.exp: print value of x>y!=z set variable x=4 (gdb) PASS: gdb.base/relational.exp: set x to 4 print x > y <= z $25 = 0 (gdb) PASS: gdb.base/relational.exp: print value of x>y<=z print x >= y == z $26 = 0 (gdb) PASS: gdb.base/relational.exp: print value of x>=y==z set variable x=2 (gdb) PASS: gdb.base/relational.exp: set variable x print x >= y != z $27 = 0 (gdb) PASS: gdb.base/relational.exp: print value of x>=y!=z set variable x=0 (gdb) PASS: gdb.base/relational.exp: set variable x set variable z=4 (gdb) PASS: gdb.base/relational.exp: set variable z print x >= y <= z $28 = 1 (gdb) PASS: gdb.base/relational.exp: print value of x>=y<=z print x <= y == z $29 = 0 (gdb) PASS: gdb.base/relational.exp: print value of x<=y==z set variable x=2 (gdb) PASS: gdb.base/relational.exp: set variable x print x <= y != z $30 = 1 (gdb) PASS: gdb.base/relational.exp: print value of x<=y!=z print x == y != z $31 = 1 (gdb) PASS: gdb.base/relational.exp: print value of x==y!=z set variable z=0 (gdb) PASS: gdb.base/relational.exp: set variable z print x >= (y < z) $32 = 1 (gdb) PASS: gdb.base/relational.exp: print value of x>=(y= (y != z) $33 = 1 (gdb) PASS: gdb.base/relational.exp: print value of x>=(y!=z) print x == (y == z) $34 = 0 (gdb) PASS: gdb.base/relational.exp: print value of x==(y==z) set variable x=1 (gdb) PASS: gdb.base/relational.exp: set variable x set variable z=4 (gdb) PASS: gdb.base/relational.exp: set variable z print (x == y) < z $35 = 1 (gdb) PASS: gdb.base/relational.exp: print value of (x==y) %d\n", caller1 ()); (gdb) break caller1 Breakpoint 2 at 0x80485b0: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c, line 162. (gdb) PASS: gdb.base/restore.exp: break caller1 break caller2 Breakpoint 3 at 0x8048641: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c, line 176. (gdb) PASS: gdb.base/restore.exp: break caller2 break caller3 Breakpoint 4 at 0x80486e1: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c, line 191. (gdb) PASS: gdb.base/restore.exp: break caller3 break caller4 Breakpoint 5 at 0x80487a5: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c, line 207. (gdb) PASS: gdb.base/restore.exp: break caller4 break caller5 Breakpoint 6 at 0x8048881: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c, line 224. (gdb) PASS: gdb.base/restore.exp: break caller5 break callee1 Breakpoint 7 at 0x804843b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c, line 113. (gdb) PASS: gdb.base/restore.exp: break caller1 break callee2 Breakpoint 8 at 0x8048460: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c, line 121. (gdb) PASS: gdb.base/restore.exp: break caller2 break callee3 Breakpoint 9 at 0x8048499: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c, line 130. (gdb) PASS: gdb.base/restore.exp: break caller3 break callee4 Breakpoint 10 at 0x80484e5: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c, line 140. (gdb) PASS: gdb.base/restore.exp: break caller4 break callee5 Breakpoint 11 at 0x8048541: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c, line 151. (gdb) PASS: gdb.base/restore.exp: break caller5 continue Continuing. Breakpoint 2, caller1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:162 162 register int l1 = increment (0x7eeb); /* caller1 */ (gdb) PASS: gdb.base/restore.exp: run to caller1 continue Continuing. Breakpoint 7, callee1 (n=64984) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:113 113 register int l1 = increment (n); /* callee1 */ (gdb) PASS: gdb.base/restore.exp: run to callee1 return 0 Make callee1 return now? (y or n) y #0 0x80485dc in caller1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:165 165 n = callee1 (n + l1); (gdb) print l1 $1 = 32492 (gdb) PASS: gdb.base/restore.exp: caller1 called callee1; variable l1 restored continue Continuing. Breakpoint 8, callee2 (n=32492) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:121 121 register int l1 = increment (n); /* callee2 */ (gdb) PASS: gdb.base/restore.exp: run to callee2 return 0 Make callee2 return now? (y or n) y #0 0x80485ed in caller1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:166 166 n = callee2 (n + l1); (gdb) print l1 $2 = 32492 (gdb) PASS: gdb.base/restore.exp: caller1 called callee2; variable l1 restored continue Continuing. Breakpoint 9, callee3 (n=32492) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:130 130 register int l1 = increment (n); /* callee3 */ (gdb) PASS: gdb.base/restore.exp: run to callee3 return 0 Make callee3 return now? (y or n) y #0 0x80485fe in caller1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:167 167 n = callee3 (n + l1); (gdb) print l1 $3 = 32492 (gdb) PASS: gdb.base/restore.exp: caller1 called callee3; variable l1 restored continue Continuing. Breakpoint 10, callee4 (n=32492) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:140 140 register int l1 = increment (n); /* callee4 */ (gdb) PASS: gdb.base/restore.exp: run to callee4 return 0 Make callee4 return now? (y or n) y #0 0x804860f in caller1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:168 168 n = callee4 (n + l1); (gdb) print l1 $4 = 32492 (gdb) PASS: gdb.base/restore.exp: caller1 called callee4; variable l1 restored continue Continuing. Breakpoint 11, callee5 (n=32492) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:151 151 register int l1 = increment (n); /* callee5 */ (gdb) PASS: gdb.base/restore.exp: run to callee5 return 0 Make callee5 return now? (y or n) y #0 0x8048620 in caller1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:169 169 n = callee5 (n + l1); (gdb) print l1 $5 = 32492 (gdb) PASS: gdb.base/restore.exp: caller1 called callee5; variable l1 restored continue Continuing. caller1 () => 32492 Breakpoint 3, caller2 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:176 176 register int l1 = increment (0x7eeb); /* caller2 */ (gdb) PASS: gdb.base/restore.exp: run to caller2 continue Continuing. Breakpoint 7, callee1 (n=64986) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:113 113 register int l1 = increment (n); /* callee1 */ (gdb) PASS: gdb.base/restore.exp: run to callee1 return 0 Make callee1 return now? (y or n) y #0 0x804867b in caller2 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:180 180 n = callee1 (n + l2); (gdb) print l1 $6 = 32492 (gdb) PASS: gdb.base/restore.exp: caller2 called callee1; variable l1 restored print l2 $7 = 32493 (gdb) PASS: gdb.base/restore.exp: caller2 called callee1; variable l2 restored continue Continuing. Breakpoint 8, callee2 (n=32493) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:121 121 register int l1 = increment (n); /* callee2 */ (gdb) PASS: gdb.base/restore.exp: run to callee2 return 0 Make callee2 return now? (y or n) y #0 0x804868c in caller2 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:181 181 n = callee2 (n + l2); (gdb) print l1 $8 = 32492 (gdb) PASS: gdb.base/restore.exp: caller2 called callee2; variable l1 restored print l2 $9 = 32493 (gdb) PASS: gdb.base/restore.exp: caller2 called callee2; variable l2 restored continue Continuing. Breakpoint 9, callee3 (n=32493) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:130 130 register int l1 = increment (n); /* callee3 */ (gdb) PASS: gdb.base/restore.exp: run to callee3 return 0 Make callee3 return now? (y or n) y #0 0x804869d in caller2 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:182 182 n = callee3 (n + l2); (gdb) print l1 $10 = 32492 (gdb) PASS: gdb.base/restore.exp: caller2 called callee3; variable l1 restored print l2 $11 = 32493 (gdb) PASS: gdb.base/restore.exp: caller2 called callee3; variable l2 restored continue Continuing. Breakpoint 10, callee4 (n=32493) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:140 140 register int l1 = increment (n); /* callee4 */ (gdb) PASS: gdb.base/restore.exp: run to callee4 return 0 Make callee4 return now? (y or n) y #0 0x80486ae in caller2 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:183 183 n = callee4 (n + l2); (gdb) print l1 $12 = 32492 (gdb) PASS: gdb.base/restore.exp: caller2 called callee4; variable l1 restored print l2 $13 = 32493 (gdb) PASS: gdb.base/restore.exp: caller2 called callee4; variable l2 restored continue Continuing. Breakpoint 11, callee5 (n=32493) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:151 151 register int l1 = increment (n); /* callee5 */ (gdb) PASS: gdb.base/restore.exp: run to callee5 return 0 Make callee5 return now? (y or n) y #0 0x80486bf in caller2 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:184 184 n = callee5 (n + l2); (gdb) print l1 $14 = 32492 (gdb) PASS: gdb.base/restore.exp: caller2 called callee5; variable l1 restored print l2 $15 = 32493 (gdb) PASS: gdb.base/restore.exp: caller2 called callee5; variable l2 restored continue Continuing. caller2 () => 64985 Breakpoint 4, caller3 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:191 191 register int l1 = increment (0x7eeb); /* caller3 */ (gdb) PASS: gdb.base/restore.exp: run to caller3 continue Continuing. Breakpoint 7, callee1 (n=64988) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:113 113 register int l1 = increment (n); /* callee1 */ (gdb) PASS: gdb.base/restore.exp: run to callee1 return 0 Make callee1 return now? (y or n) y #0 0x804872c in caller3 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:196 196 n = callee1 (n + l3); (gdb) print l1 $16 = 32492 (gdb) PASS: gdb.base/restore.exp: caller3 called callee1; variable l1 restored print l2 $17 = 32493 (gdb) PASS: gdb.base/restore.exp: caller3 called callee1; variable l2 restored print l3 $18 = 32494 (gdb) PASS: gdb.base/restore.exp: caller3 called callee1; variable l3 restored continue Continuing. Breakpoint 8, callee2 (n=32494) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:121 121 register int l1 = increment (n); /* callee2 */ (gdb) PASS: gdb.base/restore.exp: run to callee2 return 0 Make callee2 return now? (y or n) y #0 0x8048740 in caller3 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:197 197 n = callee2 (n + l3); (gdb) print l1 $19 = 32492 (gdb) PASS: gdb.base/restore.exp: caller3 called callee2; variable l1 restored print l2 $20 = 32493 (gdb) PASS: gdb.base/restore.exp: caller3 called callee2; variable l2 restored print l3 $21 = 32494 (gdb) PASS: gdb.base/restore.exp: caller3 called callee2; variable l3 restored continue Continuing. Breakpoint 9, callee3 (n=32494) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:130 130 register int l1 = increment (n); /* callee3 */ (gdb) PASS: gdb.base/restore.exp: run to callee3 return 0 Make callee3 return now? (y or n) y #0 0x8048754 in caller3 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:198 198 n = callee3 (n + l3); (gdb) print l1 $22 = 32492 (gdb) PASS: gdb.base/restore.exp: caller3 called callee3; variable l1 restored print l2 $23 = 32493 (gdb) PASS: gdb.base/restore.exp: caller3 called callee3; variable l2 restored print l3 $24 = 32494 (gdb) PASS: gdb.base/restore.exp: caller3 called callee3; variable l3 restored continue Continuing. Breakpoint 10, callee4 (n=32494) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:140 140 register int l1 = increment (n); /* callee4 */ (gdb) PASS: gdb.base/restore.exp: run to callee4 return 0 Make callee4 return now? (y or n) y #0 0x8048768 in caller3 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:199 199 n = callee4 (n + l3); (gdb) print l1 $25 = 32492 (gdb) PASS: gdb.base/restore.exp: caller3 called callee4; variable l1 restored print l2 $26 = 32493 (gdb) PASS: gdb.base/restore.exp: caller3 called callee4; variable l2 restored print l3 $27 = 32494 (gdb) PASS: gdb.base/restore.exp: caller3 called callee4; variable l3 restored continue Continuing. Breakpoint 11, callee5 (n=32494) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:151 151 register int l1 = increment (n); /* callee5 */ (gdb) PASS: gdb.base/restore.exp: run to callee5 return 0 Make callee5 return now? (y or n) y #0 0x804877c in caller3 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:200 200 n = callee5 (n + l3); (gdb) print l1 $28 = 32492 (gdb) PASS: gdb.base/restore.exp: caller3 called callee5; variable l1 restored print l2 $29 = 32493 (gdb) PASS: gdb.base/restore.exp: caller3 called callee5; variable l2 restored print l3 $30 = 32494 (gdb) PASS: gdb.base/restore.exp: caller3 called callee5; variable l3 restored continue Continuing. caller3 () => 97479 Breakpoint 5, caller4 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:207 207 register int l1 = increment (0x7eeb); /* caller4 */ (gdb) PASS: gdb.base/restore.exp: run to caller4 continue Continuing. Breakpoint 7, callee1 (n=64990) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:113 113 register int l1 = increment (n); /* callee1 */ (gdb) PASS: gdb.base/restore.exp: run to callee1 return 0 Make callee1 return now? (y or n) y #0 0x8048803 in caller4 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:213 213 n = callee1 (n + l4); (gdb) print l1 $31 = 32492 (gdb) PASS: gdb.base/restore.exp: caller4 called callee1; variable l1 restored print l2 $32 = 32493 (gdb) PASS: gdb.base/restore.exp: caller4 called callee1; variable l2 restored print l3 $33 = 32494 (gdb) PASS: gdb.base/restore.exp: caller4 called callee1; variable l3 restored print l4 $34 = 32495 (gdb) PASS: gdb.base/restore.exp: caller4 called callee1; variable l4 restored continue Continuing. Breakpoint 8, callee2 (n=32495) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:121 121 register int l1 = increment (n); /* callee2 */ (gdb) PASS: gdb.base/restore.exp: run to callee2 return 0 Make callee2 return now? (y or n) y #0 0x8048818 in caller4 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:214 214 n = callee2 (n + l4); (gdb) print l1 $35 = 32492 (gdb) PASS: gdb.base/restore.exp: caller4 called callee2; variable l1 restored print l2 $36 = 32493 (gdb) PASS: gdb.base/restore.exp: caller4 called callee2; variable l2 restored print l3 $37 = 32494 (gdb) PASS: gdb.base/restore.exp: caller4 called callee2; variable l3 restored print l4 $38 = 32495 (gdb) PASS: gdb.base/restore.exp: caller4 called callee2; variable l4 restored continue Continuing. Breakpoint 9, callee3 (n=32495) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:130 130 register int l1 = increment (n); /* callee3 */ (gdb) PASS: gdb.base/restore.exp: run to callee3 return 0 Make callee3 return now? (y or n) y #0 0x804882d in caller4 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:215 215 n = callee3 (n + l4); (gdb) print l1 $39 = 32492 (gdb) PASS: gdb.base/restore.exp: caller4 called callee3; variable l1 restored print l2 $40 = 32493 (gdb) PASS: gdb.base/restore.exp: caller4 called callee3; variable l2 restored print l3 $41 = 32494 (gdb) PASS: gdb.base/restore.exp: caller4 called callee3; variable l3 restored print l4 $42 = 32495 (gdb) PASS: gdb.base/restore.exp: caller4 called callee3; variable l4 restored continue Continuing. Breakpoint 10, callee4 (n=32495) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:140 140 register int l1 = increment (n); /* callee4 */ (gdb) PASS: gdb.base/restore.exp: run to callee4 return 0 Make callee4 return now? (y or n) y #0 0x8048842 in caller4 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:216 216 n = callee4 (n + l4); (gdb) print l1 $43 = 32492 (gdb) PASS: gdb.base/restore.exp: caller4 called callee4; variable l1 restored print l2 $44 = 32493 (gdb) PASS: gdb.base/restore.exp: caller4 called callee4; variable l2 restored print l3 $45 = 32494 (gdb) PASS: gdb.base/restore.exp: caller4 called callee4; variable l3 restored print l4 $46 = 32495 (gdb) PASS: gdb.base/restore.exp: caller4 called callee4; variable l4 restored continue Continuing. Breakpoint 11, callee5 (n=32495) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:151 151 register int l1 = increment (n); /* callee5 */ (gdb) PASS: gdb.base/restore.exp: run to callee5 return 0 Make callee5 return now? (y or n) y #0 0x8048857 in caller4 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:217 217 n = callee5 (n + l4); (gdb) print l1 $47 = 32492 (gdb) PASS: gdb.base/restore.exp: caller4 called callee5; variable l1 restored print l2 $48 = 32493 (gdb) PASS: gdb.base/restore.exp: caller4 called callee5; variable l2 restored print l3 $49 = 32494 (gdb) PASS: gdb.base/restore.exp: caller4 called callee5; variable l3 restored print l4 $50 = 32495 (gdb) PASS: gdb.base/restore.exp: caller4 called callee5; variable l4 restored continue Continuing. caller4 () => 129974 Breakpoint 6, caller5 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:224 224 register int l1 = increment (0x7eeb); /* caller5 */ (gdb) PASS: gdb.base/restore.exp: run to caller5 continue Continuing. Breakpoint 7, callee1 (n=64992) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:113 113 register int l1 = increment (n); /* callee1 */ (gdb) PASS: gdb.base/restore.exp: run to callee1 return 0 Make callee1 return now? (y or n) y #0 0x80488f1 in caller5 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:231 231 n = callee1 (n + l5); (gdb) print l1 $51 = 32492 (gdb) PASS: gdb.base/restore.exp: caller5 called callee1; variable l1 restored print l2 $52 = 32493 (gdb) PASS: gdb.base/restore.exp: caller5 called callee1; variable l2 restored print l3 $53 = 32494 (gdb) PASS: gdb.base/restore.exp: caller5 called callee1; variable l3 restored print l4 $54 = 32495 (gdb) PASS: gdb.base/restore.exp: caller5 called callee1; variable l4 restored print l5 $55 = 32496 (gdb) PASS: gdb.base/restore.exp: caller5 called callee1; variable l5 restored continue Continuing. Breakpoint 8, callee2 (n=32496) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:121 121 register int l1 = increment (n); /* callee2 */ (gdb) PASS: gdb.base/restore.exp: run to callee2 return 0 Make callee2 return now? (y or n) y #0 0x8048906 in caller5 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:232 232 n = callee2 (n + l5); (gdb) print l1 $56 = 32492 (gdb) PASS: gdb.base/restore.exp: caller5 called callee2; variable l1 restored print l2 $57 = 32493 (gdb) PASS: gdb.base/restore.exp: caller5 called callee2; variable l2 restored print l3 $58 = 32494 (gdb) PASS: gdb.base/restore.exp: caller5 called callee2; variable l3 restored print l4 $59 = 32495 (gdb) PASS: gdb.base/restore.exp: caller5 called callee2; variable l4 restored print l5 $60 = 32496 (gdb) PASS: gdb.base/restore.exp: caller5 called callee2; variable l5 restored continue Continuing. Breakpoint 9, callee3 (n=32496) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:130 130 register int l1 = increment (n); /* callee3 */ (gdb) PASS: gdb.base/restore.exp: run to callee3 return 0 Make callee3 return now? (y or n) y #0 0x804891b in caller5 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:233 233 n = callee3 (n + l5); (gdb) print l1 $61 = 32492 (gdb) PASS: gdb.base/restore.exp: caller5 called callee3; variable l1 restored print l2 $62 = 32493 (gdb) PASS: gdb.base/restore.exp: caller5 called callee3; variable l2 restored print l3 $63 = 32494 (gdb) PASS: gdb.base/restore.exp: caller5 called callee3; variable l3 restored print l4 $64 = 32495 (gdb) PASS: gdb.base/restore.exp: caller5 called callee3; variable l4 restored print l5 $65 = 32496 (gdb) PASS: gdb.base/restore.exp: caller5 called callee3; variable l5 restored continue Continuing. Breakpoint 10, callee4 (n=32496) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:140 140 register int l1 = increment (n); /* callee4 */ (gdb) PASS: gdb.base/restore.exp: run to callee4 return 0 Make callee4 return now? (y or n) y #0 0x8048930 in caller5 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:234 234 n = callee4 (n + l5); (gdb) print l1 $66 = 32492 (gdb) PASS: gdb.base/restore.exp: caller5 called callee4; variable l1 restored print l2 $67 = 32493 (gdb) PASS: gdb.base/restore.exp: caller5 called callee4; variable l2 restored print l3 $68 = 32494 (gdb) PASS: gdb.base/restore.exp: caller5 called callee4; variable l3 restored print l4 $69 = 32495 (gdb) PASS: gdb.base/restore.exp: caller5 called callee4; variable l4 restored print l5 $70 = 32496 (gdb) PASS: gdb.base/restore.exp: caller5 called callee4; variable l5 restored continue Continuing. Breakpoint 11, callee5 (n=32496) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:151 151 register int l1 = increment (n); /* callee5 */ (gdb) PASS: gdb.base/restore.exp: run to callee5 return 0 Make callee5 return now? (y or n) y #0 0x8048945 in caller5 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.c:235 235 n = callee5 (n + l5); (gdb) print l1 $71 = 32492 (gdb) PASS: gdb.base/restore.exp: caller5 called callee5; variable l1 restored print l2 $72 = 32493 (gdb) PASS: gdb.base/restore.exp: caller5 called callee5; variable l2 restored print l3 $73 = 32494 (gdb) PASS: gdb.base/restore.exp: caller5 called callee5; variable l3 restored print l4 $74 = 32495 (gdb) PASS: gdb.base/restore.exp: caller5 called callee5; variable l4 restored print l5 $75 = 32496 (gdb) PASS: gdb.base/restore.exp: caller5 called callee5; variable l5 restored continue Continuing. caller5 () => 162470 exiting Program exited with code 010. PASS: gdb.base/restore.exp: run to completion testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/restore.exp completed in 2 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/return.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/return.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/return (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/return.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/return spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/return Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/return...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/return (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break func1 Breakpoint 1 at 0x8048416: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/return.c, line 6. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/return Breakpoint 1, func1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/return.c:6 6 printf("in func1\n"); (gdb) return Make func1 return now? (y or n) y #0 main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/return.c:31 31 printf("in main after func1\n"); (gdb) PASS: gdb.base/return.exp: simple return break func2 Breakpoint 2 at 0x804842f: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/return.c, line 12. (gdb) PASS: gdb.base/return.exp: break func2 break func3 Breakpoint 3 at 0x804843f: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/return.c, line 18. (gdb) PASS: gdb.base/return.exp: break func3 continue Continuing. in main after func1 Breakpoint 2, func2 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/return.c:12 12 return -5; (gdb) PASS: gdb.base/return.exp: continue to return of -5 return 5 Make func2 return now? (y or n) y #0 0x804846c in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/return.c:32 32 tmp2 = func2 (); (gdb) next 33 tmp3 = func3 (); (gdb) PASS: gdb.base/return.exp: next over call to func2 p tmp2 $1 = 5 (gdb) PASS: gdb.base/return.exp: correct value returned (integer test) continue Continuing. Breakpoint 3, func3 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/return.c:18 18 return -5.0; (gdb) PASS: gdb.base/return.exp: continue to return of -5.0 return 5.0 Make func3 return now? (y or n) y #0 0x8048478 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/return.c:33 33 tmp3 = func3 (); (gdb) next 34 printf("exiting\n"); (gdb) PASS: gdb.base/return.exp: next over call to func3 p tmp3 $2 = -NaN(0x8000000000000) (gdb) XFAIL: gdb.base/return.exp: correct value returned double test (known problem with i*86 and sparc solaris testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/return.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope.exp ... Executing on host: gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/scope0.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c (timeout = 300) spawn gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/scope0.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c Executing on host: gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/scope1.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope1.c (timeout = 300) spawn gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/scope1.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope1.c Executing on host: gcc /cygnus/build/native/gdb/testsuite/gdb.base/scope0.o /cygnus/build/native/gdb/testsuite/gdb.base/scope1.o -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/scope (timeout = 300) spawn gcc /cygnus/build/native/gdb/testsuite/gdb.base/scope0.o /cygnus/build/native/gdb/testsuite/gdb.base/scope1.o -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/scope Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/scope.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/scope.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/scope Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/scope...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/scope (gdb) print 'scope0.c'::filelocal_ro $1 = 201 (gdb) PASS: gdb.base/scope.exp: print 'scope0.c'::filelocal_ro print 'scope0.c'::filelocal_bss $2 = 0 (gdb) PASS: gdb.base/scope.exp: print 'scope0.c'::filelocal_bss before run print 'scope0.c'::filelocal $3 = 1 (gdb) PASS: gdb.base/scope.exp: print 'scope0.c'::filelocal before run delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x80483e6: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c, line 26. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/scope Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c:26 26 init0 (); (gdb) next 27 foo (); (gdb) PASS: gdb.base/scope.exp: next over init0() in main print filelocal $4 = 1 (gdb) PASS: gdb.base/scope.exp: print filelocal print 'scope0.c'::filelocal $5 = 1 (gdb) PASS: gdb.base/scope.exp: print 'scope0.c'::filelocal at main print filelocal_bss $6 = 101 (gdb) PASS: gdb.base/scope.exp: print filelocal_bss print 'scope0.c'::filelocal_bss $7 = 101 (gdb) PASS: gdb.base/scope.exp: print 'scope0.c'::filelocal_bss in test_at_main print filelocal_ro $8 = 201 (gdb) PASS: gdb.base/scope.exp: print filelocal_ro in test_at_main print 'scope0.c'::filelocal_ro $9 = 201 (gdb) PASS: gdb.base/scope.exp: print 'scope0.c'::filelocal_ro print 'scope1.c'::filelocal $10 = 2 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::filelocal print 'scope1.c'::filelocal_bss $11 = 102 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::filelocal_bss print 'scope1.c'::filelocal_ro $12 = 202 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::filelocal_ro print foo::funclocal $13 = 3 (gdb) PASS: gdb.base/scope.exp: print foo::funclocal print 'scope1.c'::foo::funclocal $14 = 3 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::foo::funclocal print foo::funclocal_ro $15 = 203 (gdb) PASS: gdb.base/scope.exp: print foo::funclocal_ro print 'scope1.c'::foo::funclocal_ro $16 = 203 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::foo::funclocal_ro print bar::funclocal $17 = 4 (gdb) PASS: gdb.base/scope.exp: print bar::funclocal print 'scope1.c'::bar::funclocal $18 = 4 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::bar::funclocal delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break foo Breakpoint 2 at 0x80496ee: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope1.c, line 18. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/scope Breakpoint 2, foo () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope1.c:18 18 funclocal_bss = 103; (gdb) next 19 bar (); (gdb) print 'scope0.c'::filelocal $19 = 1 (gdb) PASS: gdb.base/scope.exp: print 'scope0.c'::filelocal at foo print 'scope0.c'::filelocal_bss $20 = 101 (gdb) PASS: gdb.base/scope.exp: print 'scope0.c'::filelocal_bss in test_at_foo print 'scope0.c'::filelocal_ro $21 = 201 (gdb) PASS: gdb.base/scope.exp: print 'scope0.c'::filelocal_ro print filelocal $22 = 2 (gdb) PASS: gdb.base/scope.exp: print filelocal at foo print 'scope1.c'::filelocal $23 = 2 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::filelocal at foo print filelocal_bss $24 = 102 (gdb) PASS: gdb.base/scope.exp: print filelocal_bss at foo print 'scope1.c'::filelocal_bss $25 = 102 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::filelocal_bss at foo print filelocal_ro $26 = 202 (gdb) PASS: gdb.base/scope.exp: print filelocal_ro at foo print 'scope1.c'::filelocal_ro $27 = 202 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::filelocal_ro at foo print funclocal $28 = 3 (gdb) PASS: gdb.base/scope.exp: print funclocal at foo print foo::funclocal $29 = 3 (gdb) PASS: gdb.base/scope.exp: print foo::funclocal at foo print 'scope1.c'::foo::funclocal $30 = 3 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::foo::funclocal at foo print funclocal_bss $31 = 103 (gdb) PASS: gdb.base/scope.exp: print funclocal_bss at foo print foo::funclocal_bss $32 = 103 (gdb) PASS: gdb.base/scope.exp: print foo::funclocal_bss at foo print 'scope1.c'::foo::funclocal_bss $33 = 103 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::foo::funclocal_bss at foo print funclocal_ro $34 = 203 (gdb) PASS: gdb.base/scope.exp: print funclocal_ro at foo print foo::funclocal_ro $35 = 203 (gdb) PASS: gdb.base/scope.exp: print foo::funclocal_ro at foo print 'scope1.c'::foo::funclocal_ro $36 = 203 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::foo::funclocal_ro at foo print bar::funclocal $37 = 4 (gdb) PASS: gdb.base/scope.exp: print bar::funclocal at foo print 'scope1.c'::bar::funclocal $38 = 4 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::bar::funclocal at foo delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break bar Breakpoint 3 at 0x8049707: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope1.c, line 26. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/scope Breakpoint 3, bar () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope1.c:26 26 funclocal_bss = 104; (gdb) next 27 } (gdb) print 'scope0.c'::filelocal $39 = 1 (gdb) PASS: gdb.base/scope.exp: print 'scope0.c'::filelocal at bar print 'scope0.c'::filelocal_bss $40 = 101 (gdb) PASS: gdb.base/scope.exp: print 'scope0.c'::filelocal_bss in test_at_bar print 'scope0.c'::filelocal_ro $41 = 201 (gdb) PASS: gdb.base/scope.exp: print 'scope0.c'::filelocal_ro at bar print filelocal $42 = 2 (gdb) PASS: gdb.base/scope.exp: print filelocal at bar print 'scope1.c'::filelocal $43 = 2 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::filelocal at bar print filelocal_bss $44 = 102 (gdb) PASS: gdb.base/scope.exp: print filelocal_bss at bar print 'scope1.c'::filelocal_bss $45 = 102 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::filelocal_bss at bar print filelocal_ro $46 = 202 (gdb) PASS: gdb.base/scope.exp: print filelocal_ro in test_at_bar print 'scope1.c'::filelocal_ro $47 = 202 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::filelocal_ro at bar print foo::funclocal $48 = 3 (gdb) PASS: gdb.base/scope.exp: print foo::funclocal at bar print 'scope1.c'::foo::funclocal $49 = 3 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::foo::funclocal at bar print foo::funclocal_bss $50 = 103 (gdb) PASS: gdb.base/scope.exp: print foo::funclocal_bss at bar print 'scope1.c'::foo::funclocal_bss $51 = 103 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::foo::funclocal_bss at bar print foo::funclocal_ro $52 = 203 (gdb) PASS: gdb.base/scope.exp: print foo::funclocal_ro at bar print 'scope1.c'::foo::funclocal_ro $53 = 203 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::foo::funclocal_ro at bar print funclocal $54 = 4 (gdb) PASS: gdb.base/scope.exp: print funclocal at bar print bar::funclocal $55 = 4 (gdb) PASS: gdb.base/scope.exp: print bar::funclocal at bar print 'scope1.c'::bar::funclocal $56 = 4 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::bar::funclocal at bar print funclocal_bss $57 = 104 (gdb) PASS: gdb.base/scope.exp: print funclocal_bss at bar print bar::funclocal_bss $58 = 104 (gdb) PASS: gdb.base/scope.exp: print bar::funclocal_bss at bar print 'scope1.c'::bar::funclocal_bss $59 = 104 (gdb) PASS: gdb.base/scope.exp: print 'scope1.c'::bar::funclocal_bss at bar delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break localscopes Breakpoint 4 at 0x8049592: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c, line 176. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/scope Breakpoint 4, localscopes (x=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c:176 176 localval = 0; (gdb) break marker2 Breakpoint 5 at 0x80496d3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c, line 206. (gdb) break marker3 Breakpoint 6 at 0x80496db: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c, line 207. (gdb) break marker4 Breakpoint 7 at 0x80496e3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c, line 208. (gdb) cont Continuing. Breakpoint 5, marker2 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c:206 206 void marker2 () {} (gdb) PASS: gdb.base/scope.exp: continue to marker2 up #1 0x80495ff in localscopes (x=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c:185 185 marker2 (); (gdb) print localval $60 = 10 (gdb) PASS: gdb.base/scope.exp: print localval, outer scope print localval1 $61 = 11 (gdb) PASS: gdb.base/scope.exp: print localval1, outer scope print localval2 No symbol "localval2" in current context. (gdb) PASS: gdb.base/scope.exp: print localval2, outer scope print localval3 No symbol "localval3" in current context. (gdb) PASS: gdb.base/scope.exp: print localval3, outer scope cont Continuing. Breakpoint 6, marker3 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c:207 207 void marker3 () {} (gdb) PASS: gdb.base/scope.exp: continue to marker3 in scope.exp up #1 0x8049653 in localscopes (x=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c:191 191 marker3 (); (gdb) PASS: gdb.base/scope.exp: up from marker3 in scope.exp print localval $62 = 20 (gdb) PASS: gdb.base/scope.exp: print localval, first nested scope print localval1 $63 = 11 (gdb) PASS: gdb.base/scope.exp: print localval1, first nested scope print localval2 $64 = 12 (gdb) PASS: gdb.base/scope.exp: print localval2, first nested scope print localval3 No symbol "localval3" in current context. (gdb) PASS: gdb.base/scope.exp: print localval3, first nested scope cont Continuing. Breakpoint 7, marker4 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c:208 208 void marker4 () {} (gdb) PASS: gdb.base/scope.exp: continue to marker4 in scope.exp up #1 0x80496a7 in localscopes (x=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c:197 197 marker4 (); (gdb) PASS: gdb.base/scope.exp: up from marker4 in scope.exp print localval $65 = 30 (gdb) PASS: gdb.base/scope.exp: print localval, innermost scope print localval1 $66 = 11 (gdb) PASS: gdb.base/scope.exp: print localval1, innermost scope print localval2 $67 = 12 (gdb) PASS: gdb.base/scope.exp: print localval2, innermost scope print localval3 $68 = 13 (gdb) PASS: gdb.base/scope.exp: print localval3, innermost scope delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break autovars Breakpoint 8 at 0x80484e1: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c, line 90. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/scope Breakpoint 8, autovars (bcd=5, abc=6) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c:90 90 int i0 = useit (0), i1 = useit (1), i2 = useit (2); (gdb) break marker1 Breakpoint 9 at 0x80496cb: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c, line 205. (gdb) cont Continuing. Breakpoint 9, marker1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c:205 205 void marker1 () {} (gdb) PASS: gdb.base/scope.exp: continue to marker1 up #1 0x8049380 in autovars (bcd=5, abc=6) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c:150 150 marker1 (); (gdb) print i0 $69 = 0 (gdb) print i1 $70 = 1 (gdb) print i2 $71 = 2 (gdb) print i3 $72 = 3 (gdb) print i4 $73 = 4 (gdb) print i5 $74 = 5 (gdb) print i6 $75 = 6 (gdb) print i7 $76 = 7 (gdb) print i8 $77 = 8 (gdb) print i9 $78 = 9 (gdb) print i10 $79 = 10 (gdb) print i11 $80 = 11 (gdb) print i12 $81 = 12 (gdb) print i13 $82 = 13 (gdb) print i14 $83 = 14 (gdb) print i15 $84 = 15 (gdb) print i16 $85 = 16 (gdb) print i17 $86 = 17 (gdb) print i18 $87 = 18 (gdb) print i19 $88 = 19 (gdb) print i20 $89 = 20 (gdb) print i21 $90 = 21 (gdb) print i22 $91 = 22 (gdb) print i23 $92 = 23 (gdb) print i24 $93 = 24 (gdb) print i25 $94 = 25 (gdb) print i26 $95 = 26 (gdb) print i27 $96 = 27 (gdb) print i28 $97 = 28 (gdb) print i29 $98 = 29 (gdb) print i30 $99 = 30 (gdb) print i31 $100 = 31 (gdb) print i32 $101 = 32 (gdb) print i33 $102 = 33 (gdb) print i34 $103 = 34 (gdb) print i35 $104 = 35 (gdb) print i36 $105 = 36 (gdb) print i37 $106 = 37 (gdb) print i38 $107 = 38 (gdb) print i39 $108 = 39 (gdb) print i40 $109 = 40 (gdb) print i41 $110 = 41 (gdb) print i42 $111 = 42 (gdb) print i43 $112 = 43 (gdb) print i44 $113 = 44 (gdb) print i45 $114 = 45 (gdb) print i46 $115 = 46 (gdb) print i47 $116 = 47 (gdb) print i48 $117 = 48 (gdb) print i49 $118 = 49 (gdb) print i50 $119 = 50 (gdb) print i51 $120 = 51 (gdb) print i52 $121 = 52 (gdb) print i53 $122 = 53 (gdb) print i54 $123 = 54 (gdb) print i55 $124 = 55 (gdb) print i56 $125 = 56 (gdb) print i57 $126 = 57 (gdb) print i58 $127 = 58 (gdb) print i59 $128 = 59 (gdb) print i60 $129 = 60 (gdb) print i61 $130 = 61 (gdb) print i62 $131 = 62 (gdb) print i63 $132 = 63 (gdb) print i64 $133 = 64 (gdb) print i65 $134 = 65 (gdb) print i66 $135 = 66 (gdb) print i67 $136 = 67 (gdb) print i68 $137 = 68 (gdb) print i69 $138 = 69 (gdb) print i70 $139 = 70 (gdb) print i71 $140 = 71 (gdb) print i72 $141 = 72 (gdb) print i73 $142 = 73 (gdb) print i74 $143 = 74 (gdb) print i75 $144 = 75 (gdb) print i76 $145 = 76 (gdb) print i77 $146 = 77 (gdb) print i78 $147 = 78 (gdb) print i79 $148 = 79 (gdb) print i80 $149 = 80 (gdb) print i81 $150 = 81 (gdb) print i82 $151 = 82 (gdb) print i83 $152 = 83 (gdb) print i84 $153 = 84 (gdb) print i85 $154 = 85 (gdb) print i86 $155 = 86 (gdb) print i87 $156 = 87 (gdb) print i88 $157 = 88 (gdb) print i89 $158 = 89 (gdb) print i90 $159 = 90 (gdb) print i91 $160 = 91 (gdb) print i92 $161 = 92 (gdb) print i93 $162 = 93 (gdb) print i94 $163 = 94 (gdb) print i95 $164 = 95 (gdb) print i96 $165 = 96 (gdb) print i97 $166 = 97 (gdb) print i98 $167 = 98 (gdb) print i99 $168 = 99 (gdb) PASS: gdb.base/scope.exp: 100 auto variables correctly initialized frame #1 0x8049380 in autovars (bcd=5, abc=6) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope0.c:150 150 marker1 (); (gdb) PASS: gdb.base/scope.exp: args in correct order testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/scope.exp completed in 3 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sect-cmd.exp ... testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sect-cmd.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/selftest.exp ... spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) symbol-file xgdb Reading symbols from xgdb...done. (gdb) exec-file xgdb (gdb) x/10i main 0x8082838
: push %ebp 0x8082839 : mov %esp,%ebp 0x808283b : sub $0x18,%esp 0x808283e : mov 0x8(%ebp),%eax 0x8082841 : mov 0xc(%ebp),%edx 0x8082844 : mov %eax,0xfffffff8(%ebp) 0x8082847 : lea 0xfffffff8(%ebp),%eax 0x808284a : mov %edx,0x4(%eax) 0x808284d : push $0x6 0x808284f : push $0x8281a02 (gdb) PASS: gdb.base/selftest.exp: Disassemble main break captured_main Breakpoint 1 at 0x8081db7: file /cygnus/src/uberbaum/gdb/main.c, line 185. (gdb) PASS: gdb.base/selftest.exp: breakpoint in captured_main shell stty intr '^C' (gdb) PASS: gdb.base/selftest.exp: set interrupt character in test_with_self set listsize 1 (gdb) PASS: gdb.base/selftest.exp: set listsize to 1 run -nw Starting program: /cygnus/build/native/gdb/testsuite/xgdb -nw Breakpoint 1, captured_main (data=0xbffff3b8) at /cygnus/src/uberbaum/gdb/main.c:185 185 cmdsize = 1; (gdb) PASS: gdb.base/selftest.exp: run until breakpoint at captured_main print version $1 = "5.0" (gdb) PASS: gdb.base/selftest.exp: printed version as string dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/.. Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/..:$cdir:$cwd (gdb) list 185 cmdsize = 1; (gdb) next 129 { (gdb) PASS: gdb.base/selftest.exp: step over cmdsize initialization list 129 { (gdb) FAIL: gdb.base/selftest.exp: step over cmdsize initialization ended up at odd location next 188 dirsize = 1; (gdb) PASS: gdb.base/selftest.exp: step over cmdsize initialization list 188 dirsize = 1; (gdb) next 131 int argc = context->argc; (gdb) PASS: gdb.base/selftest.exp: next over dirsize initialization list 131 int argc = context->argc; (gdb) step 132 char **argv = context->argv; (gdb) PASS: gdb.base/selftest.exp: step over argc initialization list 132 char **argv = context->argv; (gdb) step 138 char *symarg = NULL; (gdb) PASS: gdb.base/selftest.exp: step over argv initialization list 138 char *symarg = NULL; (gdb) step 139 char *execarg = NULL; (gdb) PASS: gdb.base/selftest.exp: step over symarg initialization list 139 char *execarg = NULL; (gdb) step 140 char *corearg = NULL; (gdb) PASS: gdb.base/selftest.exp: step over execarg initialization list 140 char *corearg = NULL; (gdb) step 141 char *cdarg = NULL; (gdb) PASS: gdb.base/selftest.exp: step over corearg initialization list 141 char *cdarg = NULL; (gdb) step 142 char *ttyarg = NULL; (gdb) PASS: gdb.base/selftest.exp: step over cdarg initialization list 142 char *ttyarg = NULL; (gdb) step 167 long time_at_startup = get_run_time (); (gdb) PASS: gdb.base/selftest.exp: step over ttyarg initialization list 167 long time_at_startup = get_run_time (); (gdb) next 177 init_malloc ((PTR) NULL); (gdb) PASS: gdb.base/selftest.exp: next over get_run_time and everything it calls list 177 init_malloc ((PTR) NULL); (gdb) next 186 cmdarg = (char **) xmalloc (cmdsize * sizeof (*cmdarg)); (gdb) PASS: gdb.base/selftest.exp: next over init_malloc and everything it calls list 186 cmdarg = (char **) xmalloc (cmdsize * sizeof (*cmdarg)); (gdb) next 189 dirarg = (char **) xmalloc (dirsize * sizeof (*dirarg)); (gdb) PASS: gdb.base/selftest.exp: next over cmdarg initialization via xmalloc list 189 dirarg = (char **) xmalloc (dirsize * sizeof (*dirarg)); (gdb) print "foo" $2 = "foo" (gdb) PASS: gdb.base/selftest.exp: print a string step 186 cmdarg = (char **) xmalloc (cmdsize * sizeof (*cmdarg)); (gdb) FAIL: gdb.base/selftest.exp: step into xmalloc call continue Continuing. GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) PASS: gdb.base/selftest.exp: xgdb is at prompt set prompt (xgdb) (xgdb) PASS: gdb.base/selftest.exp: Set xgdb prompt Program received signal SIGINT, Interrupt. 0x401eaf50 in poll () from /lib/libc.so.6 (gdb) PASS: gdb.base/selftest.exp: send ^C to child process signal SIGINT Continuing with signal SIGINT. Program received signal SIGINT, Interrupt. 0x4015dcb5 in sigprocmask () from /lib/libc.so.6 (gdb) PASS: gdb.base/selftest.exp: send SIGINT signal to child process backtrace #0 0x4015dcb5 in sigprocmask () from /lib/libc.so.6 #1 0x81839b3 in rl_signal_handler (sig=2) at /cygnus/src/uberbaum/readline/signals.c:164 #2 0x4015dc68 in sigaction () from /lib/libc.so.6 #3 0x80fdc4c in gdb_wait_for_event () at /cygnus/src/uberbaum/gdb/event-loop.c:779 #4 0x80fd705 in gdb_do_one_event (data=0x0) at /cygnus/src/uberbaum/gdb/event-loop.c:414 #5 0x80e419c in catch_errors (func=0x80fd6ec , args=0x0, errstring=0x82afae0 "", mask=6) at /cygnus/src/uberbaum/gdb/top.c:607 #6 0x80fd74c in start_event_loop () at /cygnus/src/uberbaum/gdb/event-loop.c:456 #7 0x80ae1b2 in cli_command_loop () at /cygnus/src/uberbaum/gdb/event-top.c:196 #8 0x8081d78 in captured_command_loop (data=0x0) at /cygnus/src/uberbaum/gdb/main.c:104 #9 0x80e419c in catch_errors (func=0x8081d60 , args=0x0, errstring=0x8281a02 "", mask=6) at /cygnus/src/uberbaum/gdb/top.c:607 #10 0x8082833 in captured_main (data=0xbffff3b8) at /cygnus/src/uberbaum/gdb/main.c:749 #11 0x80e419c in catch_errors (func=0x8081dac , args=0xbffff3b8, errstring=0x8281a02 "", mask=6) at /cygnus/src/uberbaum/gdb/top.c:607 #12 0x808285f in main (argc=2, argv=0xbffff40c) at /cygnus/src/uberbaum/gdb/main.c:761 #13 0x401579cb in __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/selftest.exp: backtrace through signal handler testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/selftest.exp completed in 2 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/setshow.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/setshow.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/setshow (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/setshow.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/setshow spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/setshow Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/setshow...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/setshow (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x8048416: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/setshow.c, line 16. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/setshow Breakpoint 1, main (argc=1, argv=0xbffff3fc) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/setshow.c:16 16 int i = 1; (gdb) show annotate Annotation_level is 0. (gdb) PASS: gdb.base/setshow.exp: default annotation_level is zero set annotate 2 pre-prompt (gdb) prompt PASS: gdb.base/setshow.exp: set annotate 2 show annotate post-prompt Annotation_level is 2. pre-prompt (gdb) prompt PASS: gdb.base/setshow.exp: show annotate (2) info line 1 post-prompt Line 1 of "/cygnus/src/uberbaum/gdb/testsuite/gdb.base/setshow.c" is at address 0x8048410
but contains no code. source /cygnus/src/uberbaum/gdb/testsuite/gdb.base/setshow.c:1:0:beg:0x8048410 pre-prompt (gdb) prompt PASS: gdb.base/setshow.exp: annotation_level 2 set annotate 1 post-prompt (gdb) PASS: gdb.base/setshow.exp: set annotate 1 show annotate Annotation_level is 1. (gdb) PASS: gdb.base/setshow.exp: show annotate (1) info line 1 Line 1 of "/cygnus/src/uberbaum/gdb/testsuite/gdb.base/setshow.c" is at address 0x8048410
but contains no code. /cygnus/src/uberbaum/gdb/testsuite/gdb.base/setshow.c:1:0:beg:0x8048410 (gdb) PASS: gdb.base/setshow.exp: annotation_level 1 set annotate 0 (gdb) PASS: gdb.base/setshow.exp: set annotate 0 show annotate Annotation_level is 0. (gdb) PASS: gdb.base/setshow.exp: show annotate (0) info line 1 Line 1 of "/cygnus/src/uberbaum/gdb/testsuite/gdb.base/setshow.c" is at address 0x8048410
but contains no code. (gdb) PASS: gdb.base/setshow.exp: annotation_level 0 set args foo bar blup baz bubble (gdb) PASS: gdb.base/setshow.exp: set args show args Argument list to give program being debugged when it is started is "foo bar blup baz bubble". (gdb) PASS: gdb.base/setshow.exp: show args cont Continuing. Program exited normally. (gdb) PASS: gdb.base/setshow.exp: continuing delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/setshow foo bar blup baz bubble foo bar blup baz bubble Program exited normally. (gdb) PASS: gdb.base/setshow.exp: passing args set check range on Warning: the current range check setting does not match the language. (gdb) PASS: gdb.base/setshow.exp: set check range on show check range Range checking is "on". Warning: the current range check setting does not match the language. (gdb) PASS: gdb.base/setshow.exp: show check range (on) set check range auto (gdb) PASS: gdb.base/setshow.exp: set check range auto show check range Range checking is "auto; currently off". (gdb) PASS: gdb.base/setshow.exp: show check range (auto) set check type on Warning: the current type check setting does not match the language. (gdb) PASS: gdb.base/setshow.exp: set check type on show check type Type checking is "on". Warning: the current type check setting does not match the language. (gdb) PASS: gdb.base/setshow.exp: show check type (on) set check type auto (gdb) PASS: gdb.base/setshow.exp: set check type auto show check type Type checking is "auto; currently off". (gdb) PASS: gdb.base/setshow.exp: show check type (auto) set complaints 100 (gdb) PASS: gdb.base/setshow.exp: set complaints 100 show complaints Max number of complaints about incorrect symbols is 100. (gdb) PASS: gdb.base/setshow.exp: show complaints (100) set complaints 0 (gdb) PASS: gdb.base/setshow.exp: set complaints 0 show complaints Max number of complaints about incorrect symbols is 0. (gdb) PASS: gdb.base/setshow.exp: show complaints (0) set confirm off (gdb) PASS: gdb.base/setshow.exp: set confirm off show confirm Whether to confirm potentially dangerous operations is off. (gdb) PASS: gdb.base/setshow.exp: show confirm (off) set confirm on (gdb) PASS: gdb.base/setshow.exp: set confirm on show confirm Whether to confirm potentially dangerous operations is on. (gdb) PASS: gdb.base/setshow.exp: show confirm (on) set editing off (gdb) PASS: gdb.base/setshow.exp: set editing off show editing Editing of command lines as they are typed is off. (gdb) PASS: gdb.base/setshow.exp: show editing (off) set environment FOOBARBAZ = grbxgrbxgrbx (gdb) PASS: gdb.base/setshow.exp: set environment FOOBARBAZ show environment FOOBARBAZ FOOBARBAZ = grbxgrbxgrbx (gdb) PASS: gdb.base/setshow.exp: show environment FOOBARBAZ set height 100 (gdb) PASS: gdb.base/setshow.exp: set height 100 show height Number of lines gdb thinks are in a page is 100. (gdb) PASS: gdb.base/setshow.exp: show height set history expansion on (gdb) PASS: gdb.base/setshow.exp: set history expansion on show history expansion on History expansion on command input is on. (gdb) PASS: gdb.base/setshow.exp: show history expansion set history filename foobar.baz (gdb) PASS: gdb.base/setshow.exp: set history filename foobar.baz show history filename The filename in which to record the command history is "foobar.baz". (gdb) PASS: gdb.base/setshow.exp: show history filename (foobar.baz) set history save on (gdb) PASS: gdb.base/setshow.exp: set history save on show history save Saving of the history record on exit is on. (gdb) PASS: gdb.base/setshow.exp: show history save (on) set history size 100 (gdb) PASS: gdb.base/setshow.exp: set history size 100 show history size The size of the command history is 100. (gdb) PASS: gdb.base/setshow.exp: show history size (100) set language asm (gdb) PASS: gdb.base/setshow.exp: set language asm show language The current source language is "asm". (gdb) PASS: gdb.base/setshow.exp: show language (asm) set language auto (gdb) PASS: gdb.base/setshow.exp: set language auto show language The current source language is "auto". (gdb) PASS: gdb.base/setshow.exp: show language (auto) set listsize 100 (gdb) PASS: gdb.base/setshow.exp: set listsize 100 show listsize Number of source lines gdb will list by default is 100. (gdb) PASS: gdb.base/setshow.exp: show listsize (100) set prompt (FooBarBaz) (FooBarBaz) PASS: gdb.base/setshow.exp: set prompt (FooBarBaz) show prompt Gdb's prompt is "(FooBarBaz) ". (FooBarBaz) PASS: gdb.base/setshow.exp: show prompt (FooBarBaz) set prompt (gdb) (gdb) PASS: gdb.base/setshow.exp: set prompt (gdb) set radix 11 Unsupported output radix ``decimal 11''; output radix unchanged. (gdb) PASS: gdb.base/setshow.exp: set radix 11 set radix 16 Input and output radices now set to decimal 16, hex 10, octal 20. (gdb) PASS: gdb.base/setshow.exp: set radix 16 show radix Input and output radices set to decimal 16, hex 10, octal 20. (gdb) PASS: gdb.base/setshow.exp: show radix (16) set radix Input and output radices now set to decimal 10, hex a, octal 12. (gdb) PASS: gdb.base/setshow.exp: set radix 10 show radix Input and output radices set to decimal 10, hex a, octal 12. (gdb) PASS: gdb.base/setshow.exp: show radix (10) set width 90 (gdb) PASS: gdb.base/setshow.exp: set width 90 show width Number of characters gdb thinks are in a line is 90. (gdb) PASS: gdb.base/setshow.exp: show width (90) set write on (gdb) PASS: gdb.base/setshow.exp: set write on show write Writing into executable and core files is on. (gdb) PASS: gdb.base/setshow.exp: show write (on) set symbol-reloading on (gdb) PASS: gdb.base/setshow.exp: set symbol-reloading on show symbol-reloading Dynamic symbol table reloading multiple times in one run is on. (gdb) PASS: gdb.base/setshow.exp: show symbol-reloading (on) show user (gdb) PASS: gdb.base/setshow.exp: show user set verbose on (gdb) PASS: gdb.base/setshow.exp: set verbose on show verbose Verbose printing of informational messages is on. (gdb) PASS: gdb.base/setshow.exp: show verbose (on) set verbose off (gdb) PASS: gdb.base/setshow.exp: set verbose off show verbose Verbosity is off. (gdb) PASS: gdb.base/setshow.exp: show verbose (off) testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/setshow.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/setvar.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/setvar.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/setvar (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/setvar.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/setvar Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/setvar.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/setvar.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/setvar Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/setvar...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/setvar (gdb) set print sevenbit-strings (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x8048416: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/setvar.c, line 17. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/setvar Breakpoint 1, main (argc=1, argv=0xbffff3fc, envp=0xbffff404) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/setvar.c:17 17 dummy(); (gdb) print sizeof (unsigned long) $1 = 4 (gdb) set variable v_char=0 (gdb) print v_char $2 = 0 '\000' (gdb) PASS: gdb.base/setvar.exp: set variable char=0 set variable v_char=1 (gdb) print v_char $3 = 1 '\001' (gdb) PASS: gdb.base/setvar.exp: set variable char=1 set variable v_char=27 (gdb) print v_char $4 = 27 '\e' (gdb) PASS: gdb.base/setvar.exp: set variable char=27 (Esc) set variable v_char=32 (gdb) print v_char $5 = 32 ' ' (gdb) PASS: gdb.base/setvar.exp: set variable char=32 (SPC) set variable v_char=65 (gdb) print v_char $6 = 65 'A' (gdb) PASS: gdb.base/setvar.exp: set variable char=65 ('A') set variable v_char=97 (gdb) print v_char $7 = 97 'a' (gdb) PASS: gdb.base/setvar.exp: set variable char=97 ('a') set variable v_char=126 (gdb) print v_char $8 = 126 '~' (gdb) PASS: gdb.base/setvar.exp: set variable char=126 ('~') set variable v_char=127 (gdb) print v_char $9 = 127 '\177' (gdb) PASS: gdb.base/setvar.exp: set variable char=127 (8-bit) set variable v_char=0 (gdb) print v_signed_char $10 = 0 '\000' (gdb) PASS: gdb.base/setvar.exp: set variable signed char=0 set variable v_signed_char=1 (gdb) print v_signed_char $11 = 1 '\001' (gdb) PASS: gdb.base/setvar.exp: set variable signed char=1 set variable v_signed_char=27 (gdb) print v_signed_char $12 = 27 '\e' (gdb) PASS: gdb.base/setvar.exp: set variable signed char=27 (Esc) set variable v_signed_char=32 (gdb) print v_signed_char $13 = 32 ' ' (gdb) PASS: gdb.base/setvar.exp: set variable signed char=32 (SPC) set variable v_signed_char=65 (gdb) print v_signed_char $14 = 65 'A' (gdb) PASS: gdb.base/setvar.exp: set variable signed char=65 ('A') set variable v_signed_char=97 (gdb) print v_signed_char $15 = 97 'a' (gdb) PASS: gdb.base/setvar.exp: set variable signed char=97 ('a') set variable v_signed_char=126 (gdb) print v_signed_char $16 = 126 '~' (gdb) PASS: gdb.base/setvar.exp: set variable signed char=126 ('~') set variable v_signed_char=127 (gdb) print v_signed_char $17 = 127 '\177' (gdb) PASS: gdb.base/setvar.exp: set variable signed char=127 (8-bit) set variable v_signed_char=-1 (gdb) PASS: gdb.base/setvar.exp: set variable v_signed_char=-1 print v_signed_char $18 = -1 '\377' (gdb) PASS: gdb.base/setvar.exp: set variable signed char=-1 (-1) set variable v_signed_char=0xFF (gdb) PASS: gdb.base/setvar.exp: set variable v_signed_char=0xFF print v_signed_char $19 = -1 '\377' (gdb) PASS: gdb.base/setvar.exp: set variable signed char=0xFF (0xFF) set variable v_unsigned_char=0 (gdb) print v_unsigned_char $20 = 0 '\000' (gdb) PASS: gdb.base/setvar.exp: set variable unsigned char=0 set variable v_unsigned_char=1 (gdb) print v_unsigned_char $21 = 1 '\001' (gdb) PASS: gdb.base/setvar.exp: set variable unsigned char=1 set variable v_unsigned_char=27 (gdb) print v_unsigned_char $22 = 27 '\e' (gdb) PASS: gdb.base/setvar.exp: set variable unsigned char=27 (Esc) set variable v_unsigned_char=32 (gdb) print v_unsigned_char $23 = 32 ' ' (gdb) PASS: gdb.base/setvar.exp: set variable unsigned char=32 (SPC) set variable v_unsigned_char=65 (gdb) print v_unsigned_char $24 = 65 'A' (gdb) PASS: gdb.base/setvar.exp: set variable unsigned char=65 ('A') set variable v_unsigned_char=97 (gdb) print v_unsigned_char $25 = 97 'a' (gdb) PASS: gdb.base/setvar.exp: set variable unsigned char=97 ('a') set variable v_unsigned_char=126 (gdb) print v_unsigned_char $26 = 126 '~' (gdb) PASS: gdb.base/setvar.exp: set variable unsigned char=126 ('~') set variable v_unsigned_char=~0 (gdb) print v_unsigned_char $27 = 255 '\377' (gdb) PASS: gdb.base/setvar.exp: set variable unsigned char=255 (8-bit) set variable v_short=0 (gdb) print v_short $28 = 0 (gdb) PASS: gdb.base/setvar.exp: set variable short=0 set variable v_short=1 (gdb) print v_short $29 = 1 (gdb) PASS: gdb.base/setvar.exp: set variable short=1 set variable v_short=-1 (gdb) print v_short $30 = -1 (gdb) PASS: gdb.base/setvar.exp: set variable short=-1 (minus) set variable v_signed_short=0 (gdb) print v_signed_short $31 = 0 (gdb) PASS: gdb.base/setvar.exp: set variable signed short=0 set variable v_signed_short=1 (gdb) print v_signed_short $32 = 1 (gdb) PASS: gdb.base/setvar.exp: set variable signed short=1 set variable v_signed_short=-1 (gdb) print v_signed_short $33 = -1 (gdb) PASS: gdb.base/setvar.exp: set variable signed short=-1 (minus) set variable v_unsigned_short=0 (gdb) print v_unsigned_short $34 = 0 (gdb) PASS: gdb.base/setvar.exp: set variable unsigned short=0 set variable v_unsigned_short=1 (gdb) print v_unsigned_short $35 = 1 (gdb) PASS: gdb.base/setvar.exp: set variable unsigned short=1 set variable v_unsigned_short=~0 (gdb) print v_unsigned_short $36 = 65535 (gdb) PASS: gdb.base/setvar.exp: set variable unsigned short=~0 (minus) set variable v_int=0 (gdb) print v_int $37 = 0 (gdb) PASS: gdb.base/setvar.exp: set variable int=0 set variable v_int=1 (gdb) print v_int $38 = 1 (gdb) PASS: gdb.base/setvar.exp: set variable int=1 set variable v_int=-1 (gdb) print v_int $39 = -1 (gdb) PASS: gdb.base/setvar.exp: set variable int=-1 (minus) set variable v_signed_int=0 (gdb) print v_signed_int $40 = 0 (gdb) PASS: gdb.base/setvar.exp: set variable signed int=0 set variable v_signed_int=1 (gdb) print v_signed_int $41 = 1 (gdb) PASS: gdb.base/setvar.exp: set variable signed int=1 set variable v_signed_int=-1 (gdb) print v_signed_int $42 = -1 (gdb) PASS: gdb.base/setvar.exp: set variable signed int=-1 (minus) set variable v_unsigned_int=0 (gdb) print v_unsigned_int $43 = 0 (gdb) PASS: gdb.base/setvar.exp: set variable unsigned int=0 set variable v_unsigned_int=1 (gdb) print v_unsigned_int $44 = 1 (gdb) PASS: gdb.base/setvar.exp: set variable unsigned int=1 set variable v_unsigned_int=~0 (gdb) print v_unsigned_int $45 = 4294967295 (gdb) PASS: gdb.base/setvar.exp: set variable unsigned int=~0 (minus) set variable v_long=0 (gdb) print v_long $46 = 0 (gdb) PASS: gdb.base/setvar.exp: set variable long=0 set variable v_long=1 (gdb) print v_long $47 = 1 (gdb) PASS: gdb.base/setvar.exp: set variable long=1 set variable v_long=-1 (gdb) print v_long $48 = -1 (gdb) PASS: gdb.base/setvar.exp: set variable long=-1 (minus) set variable v_signed_long=0 (gdb) print v_signed_long $49 = 0 (gdb) PASS: gdb.base/setvar.exp: set variable signed long=0 set variable v_signed_long=1 (gdb) print v_signed_long $50 = 1 (gdb) PASS: gdb.base/setvar.exp: set variable signed long=1 set variable v_signed_long=-1 (gdb) print v_signed_long $51 = -1 (gdb) PASS: gdb.base/setvar.exp: set variable signed long=-1 (minus) set variable v_unsigned_long=0 (gdb) print v_unsigned_long $52 = 0 (gdb) PASS: gdb.base/setvar.exp: set variable unsigned long=0 set variable v_unsigned_long=1 (gdb) print v_unsigned_long $53 = 1 (gdb) PASS: gdb.base/setvar.exp: set variable unsigned long=1 set variable v_unsigned_long=~0 (gdb) print v_unsigned_long $54 = 4294967295 (gdb) PASS: gdb.base/setvar.exp: set variable unsigned long=~0 (minus) set variable v_float=0.0 (gdb) print v_float $55 = 0 (gdb) PASS: gdb.base/setvar.exp: set variable float=0 set variable v_float=1.0 (gdb) print v_float $56 = 1 (gdb) PASS: gdb.base/setvar.exp: set variable float=1 set variable v_float=-1.0 (gdb) print v_float $57 = -1 (gdb) PASS: gdb.base/setvar.exp: set variable float=-1 (minus) set variable v_double=0.0 (gdb) print v_double $58 = 0 (gdb) PASS: gdb.base/setvar.exp: set variable double=0 set variable v_double=1.0 (gdb) print v_double $59 = 1 (gdb) PASS: gdb.base/setvar.exp: set variable double=1 set variable v_double=-1.0 (gdb) print v_double $60 = -1 (gdb) PASS: gdb.base/setvar.exp: set variable double=-1 (minus) set variable v_char_array[0]='h' (gdb) set variable v_char_array[1]='i' (gdb) print v_char_array $61 = "hi" (gdb) PASS: gdb.base/setvar.exp: set variable char array="hi" (string) set variable v_signed_char_array[0]='h' (gdb) set variable v_signed_char_array[1]='i' (gdb) print v_signed_char_array $62 = "hi" (gdb) PASS: gdb.base/setvar.exp: set variable signed char array="hi" (string) set variable v_unsigned_char_array[0]='h' (gdb) set variable v_unsigned_char_array[1]='i' (gdb) print v_unsigned_char_array $63 = "hi" (gdb) PASS: gdb.base/setvar.exp: set variable unsigned char array="hi" (string) set variable v_short_array[0]=123 (gdb) set variable v_short_array[1]=-456 (gdb) print v_short_array $64 = {123, -456} (gdb) PASS: gdb.base/setvar.exp: set variable short array set variable v_signed_short_array[0]=123 (gdb) set variable v_signed_short_array[1]=-456 (gdb) print v_signed_short_array $65 = {123, -456} (gdb) PASS: gdb.base/setvar.exp: set variable signed short array set variable v_unsigned_short_array[0]=123 (gdb) set variable v_unsigned_short_array[1]=-456 (gdb) print v_unsigned_short_array $66 = {123, 65080} (gdb) PASS: gdb.base/setvar.exp: set variable unsigned short array set variable v_int_array[0]=123 (gdb) set variable v_int_array[1]=-456 (gdb) print v_int_array $67 = {123, -456} (gdb) PASS: gdb.base/setvar.exp: set variable int array set variable v_signed_int_array[0]=123 (gdb) set variable v_signed_int_array[1]=-456 (gdb) print v_signed_int_array $68 = {123, -456} (gdb) PASS: gdb.base/setvar.exp: set variable signed int array set variable v_unsigned_int_array[0]=123 (gdb) set variable v_unsigned_int_array[1]=-456 (gdb) print v_unsigned_int_array $69 = {123, 4294966840} (gdb) PASS: gdb.base/setvar.exp: set variable unsigned int array set variable v_long_array[0]=123 (gdb) set variable v_long_array[1]=-456 (gdb) print v_long_array $70 = {123, -456} (gdb) PASS: gdb.base/setvar.exp: set variable long array set variable v_signed_long_array[0]=123 (gdb) set variable v_signed_long_array[1]=-456 (gdb) print v_signed_long_array $71 = {123, -456} (gdb) PASS: gdb.base/setvar.exp: set variable signed long array set variable v_unsigned_long_array[0]=123 (gdb) set variable v_unsigned_long_array[1]=-456 (gdb) print v_unsigned_long_array $72 = {123, 4294966840} (gdb) PASS: gdb.base/setvar.exp: set variable unsigned long array set variable v_float_array[0]=123.0 (gdb) set variable v_float_array[1]=-456.0 (gdb) print v_float_array $73 = {123, -456} (gdb) PASS: gdb.base/setvar.exp: set variable float array set variable v_double_array[0]=123.0 (gdb) set variable v_double_array[1]=-456.0 (gdb) print v_double_array $74 = {123, -456} (gdb) PASS: gdb.base/setvar.exp: set variable double array set v_char_pointer=v_char_array (gdb) set variable *(v_char_pointer)='h' (gdb) set variable *(v_char_pointer+1)='i' (gdb) print v_char_array $75 = "hi" (gdb) PASS: gdb.base/setvar.exp: set variable char pointer="hi" (string) print *(v_char_pointer+1) $76 = 105 'i' (gdb) PASS: gdb.base/setvar.exp: set variable char pointer="hi" (string) (#2) set v_signed_char_pointer=v_signed_char_array (gdb) set variable *(v_signed_char_pointer)='h' (gdb) set variable *(v_signed_char_pointer+1)='i' (gdb) print v_signed_char_array $77 = "hi" (gdb) PASS: gdb.base/setvar.exp: set variable signed char pointer="hi" (string) print *(v_signed_char_pointer+1) $78 = 105 'i' (gdb) PASS: gdb.base/setvar.exp: set variable signed char pointer="hi" (string) (#2) set v_unsigned_char_pointer=v_unsigned_char_array (gdb) set variable *(v_unsigned_char_pointer)='h' (gdb) set variable *(v_unsigned_char_pointer+1)='i' (gdb) print v_unsigned_char_array $79 = "hi" (gdb) PASS: gdb.base/setvar.exp: set variable unsigned char pointer="hi" (string) print *(v_unsigned_char_pointer+1) $80 = 105 'i' (gdb) PASS: gdb.base/setvar.exp: set variable unsigned char pointer="hi" (string) (#2) set v_short_pointer=v_short_array (gdb) set variable *(v_short_pointer)=123 (gdb) set variable *(v_short_pointer+1)=-456 (gdb) print v_short_array $81 = {123, -456} (gdb) PASS: gdb.base/setvar.exp: set variable short pointer print *(v_short_pointer+1) $82 = -456 (gdb) PASS: gdb.base/setvar.exp: set variable short pointer (#2) set v_signed_short_pointer=v_signed_short_array (gdb) PASS: gdb.base/setvar.exp: set v_signed_short_pointer=v_signed_short_array set variable *(v_signed_short_pointer)=123 (gdb) PASS: gdb.base/setvar.exp: set variable *(v_signed_short_pointer)=123 set variable *(v_signed_short_pointer+1)=-456 (gdb) PASS: gdb.base/setvar.exp: set variable *(v_signed_short_pointer+1)=-456 print v_signed_short_array $83 = {123, -456} (gdb) PASS: gdb.base/setvar.exp: set variable signed short pointer print *(v_signed_short_pointer+1) $84 = -456 (gdb) PASS: gdb.base/setvar.exp: print *(v_signed_short_pointer+1) set v_unsigned_short_pointer=v_unsigned_short_array (gdb) PASS: gdb.base/setvar.exp: set v_unsigned_short_pointer=v_unsigned_short_array set variable *(v_unsigned_short_pointer)=123 (gdb) PASS: gdb.base/setvar.exp: set variable *(v_unsigned_short_pointer)=123 set variable *(v_unsigned_short_pointer+1)=-456 (gdb) PASS: gdb.base/setvar.exp: set variable *(v_unsigned_short_pointer+1)=-456 print v_unsigned_short_array $85 = {123, 65080} (gdb) PASS: gdb.base/setvar.exp: set variable unsigned short pointer print *(v_unsigned_short_pointer+1) $86 = 65080 (gdb) PASS: gdb.base/setvar.exp: print *(v_unsigned_short_pointer+1) set v_int_pointer=v_int_array (gdb) set variable *(v_int_pointer)=123 (gdb) set variable *(v_int_pointer+1)=-456 (gdb) print v_int_array $87 = {123, -456} (gdb) PASS: gdb.base/setvar.exp: set variable int pointer print *(v_int_pointer+1) $88 = -456 (gdb) PASS: gdb.base/setvar.exp: set variable int pointer (#2) set v_signed_int_pointer=v_signed_int_array (gdb) set variable *(v_signed_int_pointer)=123 (gdb) set variable *(v_signed_int_pointer+1)=-456 (gdb) print v_signed_int_array $89 = {123, -456} (gdb) PASS: gdb.base/setvar.exp: set variable signed int pointer print *(v_signed_int_pointer+1) $90 = -456 (gdb) PASS: gdb.base/setvar.exp: set variable signed int pointer (#2) set v_unsigned_int_pointer=v_unsigned_int_array (gdb) set variable *(v_unsigned_int_pointer)=123 (gdb) set variable *(v_unsigned_int_pointer+1)=-456 (gdb) print v_unsigned_int_array $91 = {123, 4294966840} (gdb) PASS: gdb.base/setvar.exp: set variable unsigned int pointer print *(v_unsigned_int_pointer+1) $92 = 4294966840 (gdb) PASS: gdb.base/setvar.exp: print variable unsigned int pointer+1 set v_long_pointer=v_long_array (gdb) set variable *(v_long_pointer)=123 (gdb) set variable *(v_long_pointer+1)=-456 (gdb) print v_long_array $93 = {123, -456} (gdb) PASS: gdb.base/setvar.exp: set variable long pointer print *(v_long_pointer+1) $94 = -456 (gdb) PASS: gdb.base/setvar.exp: set variable long pointer (#2) set v_signed_long_pointer=v_signed_long_array (gdb) set variable *(v_signed_long_pointer)=123 (gdb) set variable *(v_signed_long_pointer+1)=-456 (gdb) print v_signed_long_array $95 = {123, -456} (gdb) PASS: gdb.base/setvar.exp: set variable signed long pointer print *(v_signed_long_pointer+1) $96 = -456 (gdb) PASS: gdb.base/setvar.exp: set variable signed long pointer (#2) set v_unsigned_long_pointer=v_unsigned_long_array (gdb) set variable *(v_unsigned_long_pointer)=123 (gdb) set variable *(v_unsigned_long_pointer+1)=-456 (gdb) print v_unsigned_long_array $97 = {123, 4294966840} (gdb) PASS: gdb.base/setvar.exp: set variable unsigned long pointer print *(v_unsigned_long_pointer+1) $98 = 4294966840 (gdb) PASS: gdb.base/setvar.exp: set variable unsigned long pointer (#2) set v_float_pointer=v_float_array (gdb) set variable *(v_float_pointer)=123.0 (gdb) set variable *(v_float_pointer+1)=-456.0 (gdb) print v_float_array $99 = {123, -456} (gdb) PASS: gdb.base/setvar.exp: set variable float pointer print *(v_float_pointer+1) $100 = -456 (gdb) PASS: gdb.base/setvar.exp: set variable float pointer (#2) set v_double_pointer=v_double_array (gdb) set variable *(v_double_pointer)=123.0 (gdb) set variable *(v_double_pointer+1)=-456.0 (gdb) print v_double_array $101 = {123, -456} (gdb) PASS: gdb.base/setvar.exp: set variable double pointer print *(v_double_pointer+1) $102 = -456 (gdb) PASS: gdb.base/setvar.exp: set variable double pointer (#2) set variable v_struct1.v_char_member='h' (gdb) print v_struct1.v_char_member $103 = 104 'h' (gdb) PASS: gdb.base/setvar.exp: set variable structure char member set variable v_struct1.v_short_member=1 (gdb) print v_struct1.v_short_member $104 = 1 (gdb) PASS: gdb.base/setvar.exp: set variable structure short member set variable v_struct1.v_int_member=2 (gdb) print v_struct1.v_int_member $105 = 2 (gdb) PASS: gdb.base/setvar.exp: set variable structure int member set variable v_struct1.v_long_member=3 (gdb) print v_struct1.v_long_member $106 = 3 (gdb) PASS: gdb.base/setvar.exp: set variable structure long member set variable v_struct1.v_float_member=4.0 (gdb) print v_struct1.v_float_member $107 = 4 (gdb) PASS: gdb.base/setvar.exp: set variable structure float member set variable v_struct1.v_double_member=5.0 (gdb) print v_struct1.v_double_member $108 = 5 (gdb) PASS: gdb.base/setvar.exp: set variable structure double member print v_struct1 $109 = {v_char_member = 104 'h', v_short_member = 1, v_int_member = 2, v_long_member = 3, v_float_member = 4, v_double_member = 5} (gdb) PASS: gdb.base/setvar.exp: set print structure #1 set variable v_struct1 = {32, 33, 34, 35, 36, 37} (gdb) print v_struct1 $110 = {v_char_member = 32 ' ', v_short_member = 33, v_int_member = 34, v_long_member = 35, v_float_member = 36, v_double_member = 37} (gdb) PASS: gdb.base/setvar.exp: set print structure #2 set variable v_struct1 = {'h', 1, 2, 3, 4.0, 5.0} (gdb) print v_struct1 $111 = {v_char_member = 104 'h', v_short_member = 1, v_int_member = 2, v_long_member = 3, v_float_member = 4, v_double_member = 5} (gdb) PASS: gdb.base/setvar.exp: set print structure #3 print sef.field=sm1 $112 = sm1 (gdb) PASS: gdb.base/setvar.exp: print sef.field=sm1 print sef.field $113 = sm1 (gdb) PASS: gdb.base/setvar.exp: print sef.field (sm1) print sef.field=s1 $114 = s1 (gdb) PASS: gdb.base/setvar.exp: print sef.field=s1 print sef.field $115 = s1 (gdb) PASS: gdb.base/setvar.exp: print sef.field (s1) print uef.field=u2 $116 = u2 (gdb) PASS: gdb.base/setvar.exp: print uef.field=u2 print uef.field $117 = u2 (gdb) PASS: gdb.base/setvar.exp: print uef.field (u2) print uef.field=u1 $118 = u1 (gdb) PASS: gdb.base/setvar.exp: print uef.field=u1 print uef.field $119 = u1 (gdb) PASS: gdb.base/setvar.exp: print uef.field (u1) print sef.field=7 warning: Value does not fit in 2 bits. $120 = sm1 (gdb) PASS: gdb.base/setvar.exp: print sef.field=7 print uef.field=6 warning: Value does not fit in 2 bits. $121 = u2 (gdb) PASS: gdb.base/setvar.exp: print uef.field=6 testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/setvar.exp completed in 3 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/shlib-call.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/shmain.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/shmain.ci Executing on host: gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/shmain.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/shmain.c (timeout = 300) spawn gcc -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/shmain.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/shmain.c Executing on host: gcc -fpic -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/shr1.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/shr1.c (timeout = 300) spawn gcc -fpic -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/shr1.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/shr1.c Executing on host: gcc -fpic -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/shr2.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/shr2.c (timeout = 300) spawn gcc -fpic -c -g -o /cygnus/build/native/gdb/testsuite/gdb.base/shr2.o /cygnus/src/uberbaum/gdb/testsuite/gdb.base/shr2.c Executing on host: gcc /cygnus/build/native/gdb/testsuite/gdb.base/shr1.o -shared -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/shr1.sl (timeout = 300) spawn gcc /cygnus/build/native/gdb/testsuite/gdb.base/shr1.o -shared -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/shr1.sl Executing on host: gcc /cygnus/build/native/gdb/testsuite/gdb.base/shr2.o -shared -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/shr2.sl (timeout = 300) spawn gcc /cygnus/build/native/gdb/testsuite/gdb.base/shr2.o -shared -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/shr2.sl Executing on host: gcc /cygnus/build/native/gdb/testsuite/gdb.base/shmain.o /cygnus/build/native/gdb/testsuite/gdb.base/shr1.sl /cygnus/build/native/gdb/testsuite/gdb.base/shr2.sl -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/shmain (timeout = 300) spawn gcc /cygnus/build/native/gdb/testsuite/gdb.base/shmain.o /cygnus/build/native/gdb/testsuite/gdb.base/shr1.sl /cygnus/build/native/gdb/testsuite/gdb.base/shr2.sl -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/shmain spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/shmain Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/shmain...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/shmain (gdb) set print sevenbit-strings (gdb) set print address off (gdb) set width 0 (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/shmain.c, line 44. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/shmain Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/shmain.c:44 44 g = 1; (gdb) next 45 g = shr1(g); (gdb) PASS: gdb.base/shlib-call.exp: next to shr1 print g $1 = 1 (gdb) PASS: gdb.base/shlib-call.exp: print g next address of sgs is 0x4001696c 46 g = shr2(g); (gdb) PASS: gdb.base/shlib-call.exp: next over shr1 print g $2 = 2 (gdb) PASS: gdb.base/shlib-call.exp: print g print shr1(1) address of sgs is 0x4001696c $3 = 2 (gdb) PASS: gdb.base/shlib-call.exp: print shr1(1) print shr1(g) address of sgs is 0x4001696c $4 = 4 (gdb) PASS: gdb.base/shlib-call.exp: print shr1(g) break shr2 Breakpoint 2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/shr2.c, line 7. (gdb) PASS: gdb.base/shlib-call.exp: breakpoint function shr2 continue Continuing. Breakpoint 2, shr2 (x=2) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/shr2.c:7 7 return 2*x; (gdb) PASS: gdb.base/shlib-call.exp: run until breakpoint set at a function print shr1(1) address of sgs is 0x4001696c $5 = 2 (gdb) PASS: gdb.base/shlib-call.exp: print shr1(1) 2nd time print mainshr1(1) $6 = 2 (gdb) PASS: gdb.base/shlib-call.exp: print mainshr1(1) from shlib func step 8 } (gdb) PASS: gdb.base/shlib-call.exp: step inside shr2 (shlib func) step main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/shmain.c:47 47 g = mainshr1(g); (gdb) PASS: gdb.base/shlib-call.exp: step out of shr2 to main print mainshr1(1) $7 = 2 (gdb) PASS: gdb.base/shlib-call.exp: print mainshr1(1) step mainshr1 (g=4) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/shmain.c:38 38 return 2*g; (gdb) PASS: gdb.base/shlib-call.exp: step into mainshr1 spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/shmain Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/shmain...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/shmain (gdb) set print sevenbit-strings (gdb) set print address off (gdb) set width 0 (gdb) break shr1 Breakpoint 1 at 0x804854c (gdb) PASS: gdb.base/shlib-call.exp: set bp in shared library run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/shmain Breakpoint 1: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/shr1.c, line 19. Breakpoint 1, shr1 (x=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/shr1.c:19 19 l = 1; (gdb) PASS: gdb.base/shlib-call.exp: run to bp in shared library cont Continuing. address of sgs is 0x4001696c address of sg is 0x8049930 Program exited normally. (gdb) PASS: gdb.base/shlib-call.exp: cont run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/shmain Breakpoint 1, shr1 (x=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/shr1.c:19 19 l = 1; (gdb) PASS: gdb.base/shlib-call.exp: re-run to bp in shared library (PR's 16495, 18213) cont Continuing. address of sgs is 0x4001696c address of sg is 0x8049930 Program exited normally. (gdb) PASS: gdb.base/shlib-call.exp: cont testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/shlib-call.exp completed in 2 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.exp ... spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/sigall (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/sigall symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/sigall Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/sigall...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/sigall (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break gen_ABRT Breakpoint 1 at 0x80486be: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 796. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/sigall Breakpoint 1, gen_ABRT () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:796 796 kill (getpid (), SIGABRT); (gdb) handle SIGABRT stop print Signal Stop Print Pass to program Description SIGABRT Yes Yes Yes Aborted (gdb) PASS: gdb.base/sigall.exp: handle SIGABRT stop print b handle_ABRT Breakpoint 2 at 0x8048483: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 20. (gdb) PASS: gdb.base/sigall.exp: b handle_ABRT b gen_HUP Breakpoint 3 at 0x80486e2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 804. (gdb) PASS: gdb.base/sigall.exp: b gen_HUP continue Continuing. Program received signal SIGABRT, Aborted. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal ABRT continue Continuing. Breakpoint 2, handle_ABRT (sig=6) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:20 20 } (gdb) PASS: gdb.base/sigall.exp: send signal ABRT signal 0 Continuing with no signal. Breakpoint 3, gen_HUP () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:804 804 kill (getpid (), SIGHUP); (gdb) PASS: gdb.base/sigall.exp: advance to HUP handle SIGHUP stop print Signal Stop Print Pass to program Description SIGHUP Yes Yes Yes Hangup (gdb) PASS: gdb.base/sigall.exp: handle SIGHUP stop print b handle_HUP Breakpoint 4 at 0x804848b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 31. (gdb) PASS: gdb.base/sigall.exp: b handle_HUP b gen_QUIT Breakpoint 5 at 0x804870a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 815. (gdb) PASS: gdb.base/sigall.exp: b gen_QUIT continue Continuing. Program received signal SIGHUP, Hangup. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal HUP continue Continuing. Breakpoint 4, handle_HUP (sig=1) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:31 31 } (gdb) PASS: gdb.base/sigall.exp: send signal HUP signal 0 Continuing with no signal. Breakpoint 5, gen_QUIT () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:815 815 kill (getpid (), SIGQUIT); (gdb) PASS: gdb.base/sigall.exp: advance to QUIT handle SIGQUIT stop print Signal Stop Print Pass to program Description SIGQUIT Yes Yes Yes Quit (gdb) PASS: gdb.base/sigall.exp: handle SIGQUIT stop print b handle_QUIT Breakpoint 6 at 0x8048493: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 42. (gdb) PASS: gdb.base/sigall.exp: b handle_QUIT b gen_ILL Breakpoint 7 at 0x804872e: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 826. (gdb) PASS: gdb.base/sigall.exp: b gen_ILL continue Continuing. Program received signal SIGQUIT, Quit. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal QUIT continue Continuing. Breakpoint 6, handle_QUIT (sig=3) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:42 42 } (gdb) PASS: gdb.base/sigall.exp: send signal QUIT signal 0 Continuing with no signal. Breakpoint 7, gen_ILL () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:826 826 kill (getpid (), SIGILL); (gdb) PASS: gdb.base/sigall.exp: advance to ILL handle SIGILL stop print Signal Stop Print Pass to program Description SIGILL Yes Yes Yes Illegal instruction (gdb) PASS: gdb.base/sigall.exp: handle SIGILL stop print b handle_ILL Breakpoint 8 at 0x804849b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 53. (gdb) PASS: gdb.base/sigall.exp: b handle_ILL b gen_EMT Breakpoint 9 at 0x8048752: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 839. (gdb) PASS: gdb.base/sigall.exp: b gen_EMT continue Continuing. Program received signal SIGILL, Illegal instruction. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal ILL continue Continuing. Breakpoint 8, handle_ILL (sig=4) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:53 53 } (gdb) PASS: gdb.base/sigall.exp: send signal ILL signal 0 Continuing with no signal. Breakpoint 9, gen_EMT () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:839 839 handle_EMT (0); (gdb) PASS: gdb.base/sigall.exp: advance to EMT handle SIGEMT stop print Signal Stop Print Pass to program Description SIGEMT Yes Yes Yes Emulation trap (gdb) PASS: gdb.base/sigall.exp: handle SIGEMT stop print b handle_EMT Breakpoint 10 at 0x80484a3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 64. (gdb) PASS: gdb.base/sigall.exp: b handle_EMT b gen_FPE Breakpoint 11 at 0x804876e: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 861. (gdb) PASS: gdb.base/sigall.exp: b gen_FPE continue Continuing. Breakpoint 10, handle_EMT (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:64 64 } (gdb) PASS: gdb.base/sigall.exp: send signal EMT signal 0 Continuing with no signal. Breakpoint 11, gen_FPE () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:861 861 kill (getpid (), SIGFPE); (gdb) PASS: gdb.base/sigall.exp: advance to FPE handle SIGFPE stop print Signal Stop Print Pass to program Description SIGFPE Yes Yes Yes Arithmetic exception (gdb) PASS: gdb.base/sigall.exp: handle SIGFPE stop print b handle_FPE Breakpoint 12 at 0x80484ab: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 75. (gdb) PASS: gdb.base/sigall.exp: b handle_FPE b gen_BUS Breakpoint 13 at 0x8048792: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 870. (gdb) PASS: gdb.base/sigall.exp: b gen_BUS continue Continuing. Program received signal SIGFPE, Arithmetic exception. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal FPE continue Continuing. Breakpoint 12, handle_FPE (sig=8) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:75 75 } (gdb) PASS: gdb.base/sigall.exp: send signal FPE signal 0 Continuing with no signal. Breakpoint 13, gen_BUS () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:870 870 kill (getpid (), SIGBUS); (gdb) PASS: gdb.base/sigall.exp: advance to BUS handle SIGBUS stop print Signal Stop Print Pass to program Description SIGBUS Yes Yes Yes Bus error (gdb) PASS: gdb.base/sigall.exp: handle SIGBUS stop print b handle_BUS Breakpoint 14 at 0x80484b3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 86. (gdb) PASS: gdb.base/sigall.exp: b handle_BUS b gen_SEGV Breakpoint 15 at 0x80487ba: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 881. (gdb) PASS: gdb.base/sigall.exp: b gen_SEGV continue Continuing. Program received signal SIGBUS, Bus error. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal BUS continue Continuing. Breakpoint 14, handle_BUS (sig=7) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:86 86 } (gdb) PASS: gdb.base/sigall.exp: send signal BUS signal 0 Continuing with no signal. Breakpoint 15, gen_SEGV () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:881 881 kill (getpid (), SIGSEGV); (gdb) PASS: gdb.base/sigall.exp: advance to SEGV handle SIGSEGV stop print Signal Stop Print Pass to program Description SIGSEGV Yes Yes Yes Segmentation fault (gdb) PASS: gdb.base/sigall.exp: handle SIGSEGV stop print b handle_SEGV Breakpoint 16 at 0x80484bb: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 97. (gdb) PASS: gdb.base/sigall.exp: b handle_SEGV b gen_SYS Breakpoint 17 at 0x80487de: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 894. (gdb) PASS: gdb.base/sigall.exp: b gen_SYS continue Continuing. Program received signal SIGSEGV, Segmentation fault. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal SEGV continue Continuing. Breakpoint 16, handle_SEGV (sig=11) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:97 97 } (gdb) PASS: gdb.base/sigall.exp: send signal SEGV signal 0 Continuing with no signal. Breakpoint 17, gen_SYS () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:894 894 handle_SYS (0); (gdb) PASS: gdb.base/sigall.exp: advance to SYS handle SIGSYS stop print Signal Stop Print Pass to program Description SIGSYS Yes Yes Yes Bad system call (gdb) PASS: gdb.base/sigall.exp: handle SIGSYS stop print b handle_SYS Breakpoint 18 at 0x80484c3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 108. (gdb) PASS: gdb.base/sigall.exp: b handle_SYS b gen_PIPE Breakpoint 19 at 0x80487fa: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 903. (gdb) PASS: gdb.base/sigall.exp: b gen_PIPE continue Continuing. Breakpoint 18, handle_SYS (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:108 108 } (gdb) PASS: gdb.base/sigall.exp: send signal SYS signal 0 Continuing with no signal. Breakpoint 19, gen_PIPE () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:903 903 kill (getpid (), SIGPIPE); (gdb) PASS: gdb.base/sigall.exp: advance to PIPE handle SIGPIPE stop print Signal Stop Print Pass to program Description SIGPIPE Yes Yes Yes Broken pipe (gdb) PASS: gdb.base/sigall.exp: handle SIGPIPE stop print b handle_PIPE Breakpoint 20 at 0x80484cb: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 119. (gdb) PASS: gdb.base/sigall.exp: b handle_PIPE b gen_ALRM Breakpoint 21 at 0x804881e: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 914. (gdb) PASS: gdb.base/sigall.exp: b gen_ALRM continue Continuing. Program received signal SIGPIPE, Broken pipe. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal PIPE continue Continuing. Breakpoint 20, handle_PIPE (sig=13) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:119 119 } (gdb) PASS: gdb.base/sigall.exp: send signal PIPE signal 0 Continuing with no signal. Breakpoint 21, gen_ALRM () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:914 914 kill (getpid (), SIGALRM); (gdb) PASS: gdb.base/sigall.exp: advance to ALRM handle SIGALRM stop print Signal Stop Print Pass to program Description SIGALRM Yes Yes Yes Alarm clock (gdb) PASS: gdb.base/sigall.exp: handle SIGALRM stop print b handle_ALRM Breakpoint 22 at 0x80484d3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 130. (gdb) PASS: gdb.base/sigall.exp: b handle_ALRM b gen_URG Breakpoint 23 at 0x8048842: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 925. (gdb) PASS: gdb.base/sigall.exp: b gen_URG continue Continuing. Program received signal SIGALRM, Alarm clock. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal ALRM continue Continuing. Breakpoint 22, handle_ALRM (sig=14) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:130 130 } (gdb) PASS: gdb.base/sigall.exp: send signal ALRM signal 0 Continuing with no signal. Breakpoint 23, gen_URG () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:925 925 kill (getpid (), SIGURG); (gdb) PASS: gdb.base/sigall.exp: advance to URG handle SIGURG stop print Signal Stop Print Pass to program Description SIGURG Yes Yes Yes Urgent I/O condition (gdb) PASS: gdb.base/sigall.exp: handle SIGURG stop print b handle_URG Breakpoint 24 at 0x80484db: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 141. (gdb) PASS: gdb.base/sigall.exp: b handle_URG b gen_TSTP Breakpoint 25 at 0x804886a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 936. (gdb) PASS: gdb.base/sigall.exp: b gen_TSTP continue Continuing. Program received signal SIGURG, Urgent I/O condition. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal URG continue Continuing. Breakpoint 24, handle_URG (sig=23) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:141 141 } (gdb) PASS: gdb.base/sigall.exp: send signal URG signal 0 Continuing with no signal. Breakpoint 25, gen_TSTP () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:936 936 kill (getpid (), SIGTSTP); (gdb) PASS: gdb.base/sigall.exp: advance to TSTP handle SIGTSTP stop print Signal Stop Print Pass to program Description SIGTSTP Yes Yes Yes Stopped (user) (gdb) PASS: gdb.base/sigall.exp: handle SIGTSTP stop print b handle_TSTP Breakpoint 26 at 0x80484e3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 152. (gdb) PASS: gdb.base/sigall.exp: b handle_TSTP b gen_CONT Breakpoint 27 at 0x804888e: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 947. (gdb) PASS: gdb.base/sigall.exp: b gen_CONT continue Continuing. Program received signal SIGTSTP, Stopped (user). 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal TSTP continue Continuing. Breakpoint 26, handle_TSTP (sig=20) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:152 152 } (gdb) PASS: gdb.base/sigall.exp: send signal TSTP signal 0 Continuing with no signal. Breakpoint 27, gen_CONT () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:947 947 kill (getpid (), SIGCONT); (gdb) PASS: gdb.base/sigall.exp: advance to CONT handle SIGCONT stop print Signal Stop Print Pass to program Description SIGCONT Yes Yes Yes Continued (gdb) PASS: gdb.base/sigall.exp: handle SIGCONT stop print b handle_CONT Breakpoint 28 at 0x80484eb: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 163. (gdb) PASS: gdb.base/sigall.exp: b handle_CONT b gen_CHLD Breakpoint 29 at 0x80488b2: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 958. (gdb) PASS: gdb.base/sigall.exp: b gen_CHLD continue Continuing. Program received signal SIGCONT, Continued. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal CONT continue Continuing. Breakpoint 28, handle_CONT (sig=18) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:163 163 } (gdb) PASS: gdb.base/sigall.exp: send signal CONT signal 0 Continuing with no signal. Breakpoint 29, gen_CHLD () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:958 958 kill (getpid (), SIGCHLD); (gdb) PASS: gdb.base/sigall.exp: advance to CHLD handle SIGCHLD stop print Signal Stop Print Pass to program Description SIGCHLD Yes Yes Yes Child status changed (gdb) PASS: gdb.base/sigall.exp: handle SIGCHLD stop print b handle_CHLD Breakpoint 30 at 0x80484f3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 174. (gdb) PASS: gdb.base/sigall.exp: b handle_CHLD b gen_TTIN Breakpoint 31 at 0x80488da: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 969. (gdb) PASS: gdb.base/sigall.exp: b gen_TTIN continue Continuing. Program received signal SIGCHLD, Child status changed. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal CHLD continue Continuing. Breakpoint 30, handle_CHLD (sig=17) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:174 174 } (gdb) PASS: gdb.base/sigall.exp: send signal CHLD signal 0 Continuing with no signal. Breakpoint 31, gen_TTIN () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:969 969 kill (getpid (), SIGTTIN); (gdb) PASS: gdb.base/sigall.exp: advance to TTIN handle SIGTTIN stop print Signal Stop Print Pass to program Description SIGTTIN Yes Yes Yes Stopped (tty input) (gdb) PASS: gdb.base/sigall.exp: handle SIGTTIN stop print b handle_TTIN Breakpoint 32 at 0x80484fb: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 185. (gdb) PASS: gdb.base/sigall.exp: b handle_TTIN b gen_TTOU Breakpoint 33 at 0x80488fe: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 980. (gdb) PASS: gdb.base/sigall.exp: b gen_TTOU continue Continuing. Program received signal SIGTTIN, Stopped (tty input). 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal TTIN continue Continuing. Breakpoint 32, handle_TTIN (sig=21) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:185 185 } (gdb) PASS: gdb.base/sigall.exp: send signal TTIN signal 0 Continuing with no signal. Breakpoint 33, gen_TTOU () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:980 980 kill (getpid (), SIGTTOU); (gdb) PASS: gdb.base/sigall.exp: advance to TTOU handle SIGTTOU stop print Signal Stop Print Pass to program Description SIGTTOU Yes Yes Yes Stopped (tty output) (gdb) PASS: gdb.base/sigall.exp: handle SIGTTOU stop print b handle_TTOU Breakpoint 34 at 0x8048503: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 196. (gdb) PASS: gdb.base/sigall.exp: b handle_TTOU b gen_IO Breakpoint 35 at 0x8048922: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 991. (gdb) PASS: gdb.base/sigall.exp: b gen_IO continue Continuing. Program received signal SIGTTOU, Stopped (tty output). 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal TTOU continue Continuing. Breakpoint 34, handle_TTOU (sig=22) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:196 196 } (gdb) PASS: gdb.base/sigall.exp: send signal TTOU signal 0 Continuing with no signal. Breakpoint 35, gen_IO () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:991 991 kill (getpid (), SIGIO); (gdb) PASS: gdb.base/sigall.exp: advance to IO handle SIGIO stop print Signal Stop Print Pass to program Description SIGIO Yes Yes Yes I/O possible (gdb) PASS: gdb.base/sigall.exp: handle SIGIO stop print b handle_IO Breakpoint 36 at 0x804850b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 207. (gdb) PASS: gdb.base/sigall.exp: b handle_IO b gen_XCPU Breakpoint 37 at 0x804894a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1002. (gdb) PASS: gdb.base/sigall.exp: b gen_XCPU continue Continuing. Program received signal SIGIO, I/O possible. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal IO continue Continuing. Breakpoint 36, handle_IO (sig=29) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:207 207 } (gdb) PASS: gdb.base/sigall.exp: send signal IO signal 0 Continuing with no signal. Breakpoint 37, gen_XCPU () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1002 1002 kill (getpid (), SIGXCPU); (gdb) PASS: gdb.base/sigall.exp: advance to XCPU handle SIGXCPU stop print Signal Stop Print Pass to program Description SIGXCPU Yes Yes Yes CPU time limit exceeded (gdb) PASS: gdb.base/sigall.exp: handle SIGXCPU stop print b handle_XCPU Breakpoint 38 at 0x8048513: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 218. (gdb) PASS: gdb.base/sigall.exp: b handle_XCPU b gen_XFSZ Breakpoint 39 at 0x804896e: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1013. (gdb) PASS: gdb.base/sigall.exp: b gen_XFSZ continue Continuing. Program received signal SIGXCPU, CPU time limit exceeded. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal XCPU continue Continuing. Breakpoint 38, handle_XCPU (sig=24) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:218 218 } (gdb) PASS: gdb.base/sigall.exp: send signal XCPU signal 0 Continuing with no signal. Breakpoint 39, gen_XFSZ () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1013 1013 kill (getpid (), SIGXFSZ); (gdb) PASS: gdb.base/sigall.exp: advance to XFSZ handle SIGXFSZ stop print Signal Stop Print Pass to program Description SIGXFSZ Yes Yes Yes File size limit exceeded (gdb) PASS: gdb.base/sigall.exp: handle SIGXFSZ stop print b handle_XFSZ Breakpoint 40 at 0x804851b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 229. (gdb) PASS: gdb.base/sigall.exp: b handle_XFSZ b gen_VTALRM Breakpoint 41 at 0x8048992: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1024. (gdb) PASS: gdb.base/sigall.exp: b gen_VTALRM continue Continuing. Program received signal SIGXFSZ, File size limit exceeded. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal XFSZ continue Continuing. Breakpoint 40, handle_XFSZ (sig=25) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:229 229 } (gdb) PASS: gdb.base/sigall.exp: send signal XFSZ signal 0 Continuing with no signal. Breakpoint 41, gen_VTALRM () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1024 1024 kill (getpid (), SIGVTALRM); (gdb) PASS: gdb.base/sigall.exp: advance to VTALRM handle SIGVTALRM stop print Signal Stop Print Pass to program Description SIGVTALRM Yes Yes Yes Virtual timer expired (gdb) PASS: gdb.base/sigall.exp: handle SIGVTALRM stop print b handle_VTALRM Breakpoint 42 at 0x8048523: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 240. (gdb) PASS: gdb.base/sigall.exp: b handle_VTALRM b gen_PROF Breakpoint 43 at 0x80489ba: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1035. (gdb) PASS: gdb.base/sigall.exp: b gen_PROF continue Continuing. Program received signal SIGVTALRM, Virtual timer expired. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal VTALRM continue Continuing. Breakpoint 42, handle_VTALRM (sig=26) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:240 240 } (gdb) PASS: gdb.base/sigall.exp: send signal VTALRM signal 0 Continuing with no signal. Breakpoint 43, gen_PROF () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1035 1035 kill (getpid (), SIGPROF); (gdb) PASS: gdb.base/sigall.exp: advance to PROF handle SIGPROF stop print Signal Stop Print Pass to program Description SIGPROF Yes Yes Yes Profiling timer expired (gdb) PASS: gdb.base/sigall.exp: handle SIGPROF stop print b handle_PROF Breakpoint 44 at 0x804852b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 251. (gdb) PASS: gdb.base/sigall.exp: b handle_PROF b gen_WINCH Breakpoint 45 at 0x80489de: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1046. (gdb) PASS: gdb.base/sigall.exp: b gen_WINCH continue Continuing. Program received signal SIGPROF, Profiling timer expired. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal PROF continue Continuing. Breakpoint 44, handle_PROF (sig=27) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:251 251 } (gdb) PASS: gdb.base/sigall.exp: send signal PROF signal 0 Continuing with no signal. Breakpoint 45, gen_WINCH () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1046 1046 kill (getpid (), SIGWINCH); (gdb) PASS: gdb.base/sigall.exp: advance to WINCH handle SIGWINCH stop print Signal Stop Print Pass to program Description SIGWINCH Yes Yes Yes Window size changed (gdb) PASS: gdb.base/sigall.exp: handle SIGWINCH stop print b handle_WINCH Breakpoint 46 at 0x8048533: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 262. (gdb) PASS: gdb.base/sigall.exp: b handle_WINCH b gen_LOST Breakpoint 47 at 0x8048a02: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1059. (gdb) PASS: gdb.base/sigall.exp: b gen_LOST continue Continuing. Program received signal SIGWINCH, Window size changed. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal WINCH continue Continuing. Breakpoint 46, handle_WINCH (sig=28) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:262 262 } (gdb) PASS: gdb.base/sigall.exp: send signal WINCH signal 0 Continuing with no signal. Breakpoint 47, gen_LOST () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1059 1059 handle_LOST (0); (gdb) PASS: gdb.base/sigall.exp: advance to LOST handle SIGLOST stop print Signal Stop Print Pass to program Description SIGLOST Yes Yes Yes Resource lost (gdb) PASS: gdb.base/sigall.exp: handle SIGLOST stop print b handle_LOST Breakpoint 48 at 0x804853b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 273. (gdb) PASS: gdb.base/sigall.exp: b handle_LOST b gen_USR1 Breakpoint 49 at 0x8048a1e: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1068. (gdb) PASS: gdb.base/sigall.exp: b gen_USR1 continue Continuing. Breakpoint 48, handle_LOST (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:273 273 } (gdb) PASS: gdb.base/sigall.exp: send signal LOST signal 0 Continuing with no signal. Breakpoint 49, gen_USR1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1068 1068 kill (getpid (), SIGUSR1); (gdb) PASS: gdb.base/sigall.exp: advance to USR1 handle SIGUSR1 stop print Signal Stop Print Pass to program Description SIGUSR1 Yes Yes Yes User defined signal 1 (gdb) PASS: gdb.base/sigall.exp: handle SIGUSR1 stop print b handle_USR1 Breakpoint 50 at 0x8048543: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 284. (gdb) PASS: gdb.base/sigall.exp: b handle_USR1 b gen_USR2 Breakpoint 51 at 0x8048a42: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1079. (gdb) PASS: gdb.base/sigall.exp: b gen_USR2 continue Continuing. Program received signal SIGUSR1, User defined signal 1. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal USR1 continue Continuing. Breakpoint 50, handle_USR1 (sig=10) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:284 284 } (gdb) PASS: gdb.base/sigall.exp: send signal USR1 signal 0 Continuing with no signal. Breakpoint 51, gen_USR2 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1079 1079 kill (getpid (), SIGUSR2); (gdb) PASS: gdb.base/sigall.exp: advance to USR2 handle SIGUSR2 stop print Signal Stop Print Pass to program Description SIGUSR2 Yes Yes Yes User defined signal 2 (gdb) PASS: gdb.base/sigall.exp: handle SIGUSR2 stop print b handle_USR2 Breakpoint 52 at 0x804854b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 295. (gdb) PASS: gdb.base/sigall.exp: b handle_USR2 b gen_PWR Breakpoint 53 at 0x8048a6a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1090. (gdb) PASS: gdb.base/sigall.exp: b gen_PWR continue Continuing. Program received signal SIGUSR2, User defined signal 2. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal USR2 continue Continuing. Breakpoint 52, handle_USR2 (sig=12) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:295 295 } (gdb) PASS: gdb.base/sigall.exp: send signal USR2 signal 0 Continuing with no signal. Breakpoint 53, gen_PWR () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1090 1090 kill (getpid (), SIGPWR); (gdb) PASS: gdb.base/sigall.exp: advance to PWR handle SIGPWR stop print Signal Stop Print Pass to program Description SIGPWR Yes Yes Yes Power fail/restart (gdb) PASS: gdb.base/sigall.exp: handle SIGPWR stop print b handle_PWR Breakpoint 54 at 0x8048553: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 306. (gdb) PASS: gdb.base/sigall.exp: b handle_PWR b gen_POLL Breakpoint 55 at 0x8048a8e: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1103. (gdb) PASS: gdb.base/sigall.exp: b gen_POLL continue Continuing. Program received signal SIGPWR, Power fail/restart. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal PWR continue Continuing. Breakpoint 54, handle_PWR (sig=30) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:306 306 } (gdb) PASS: gdb.base/sigall.exp: send signal PWR signal 0 Continuing with no signal. Breakpoint 55, gen_POLL () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1103 1103 handle_POLL (0); (gdb) PASS: gdb.base/sigall.exp: advance to POLL handle SIGPOLL stop print Signal Stop Print Pass to program Description SIGPOLL Yes Yes Yes Pollable event occurred (gdb) PASS: gdb.base/sigall.exp: handle SIGPOLL stop print b handle_POLL Breakpoint 56 at 0x804855b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 317. (gdb) PASS: gdb.base/sigall.exp: b handle_POLL b gen_WIND Breakpoint 57 at 0x8048aaa: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1114. (gdb) PASS: gdb.base/sigall.exp: b gen_WIND continue Continuing. Breakpoint 56, handle_POLL (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:317 317 } (gdb) PASS: gdb.base/sigall.exp: send signal POLL signal 0 Continuing with no signal. Breakpoint 57, gen_WIND () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1114 1114 handle_WIND (0); (gdb) PASS: gdb.base/sigall.exp: advance to WIND handle SIGWIND stop print Signal Stop Print Pass to program Description SIGWIND Yes Yes Yes SIGWIND (gdb) PASS: gdb.base/sigall.exp: handle SIGWIND stop print b handle_WIND Breakpoint 58 at 0x8048563: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 328. (gdb) PASS: gdb.base/sigall.exp: b handle_WIND b gen_PHONE Breakpoint 59 at 0x8048aca: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1125. (gdb) PASS: gdb.base/sigall.exp: b gen_PHONE continue Continuing. Breakpoint 58, handle_WIND (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:328 328 } (gdb) PASS: gdb.base/sigall.exp: send signal WIND signal 0 Continuing with no signal. Breakpoint 59, gen_PHONE () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1125 1125 handle_PHONE (0); (gdb) PASS: gdb.base/sigall.exp: advance to PHONE handle SIGPHONE stop print Signal Stop Print Pass to program Description SIGPHONE Yes Yes Yes SIGPHONE (gdb) PASS: gdb.base/sigall.exp: handle SIGPHONE stop print b handle_PHONE Breakpoint 60 at 0x804856b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 339. (gdb) PASS: gdb.base/sigall.exp: b handle_PHONE b gen_WAITING Breakpoint 61 at 0x8048aea: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1136. (gdb) PASS: gdb.base/sigall.exp: b gen_WAITING continue Continuing. Breakpoint 60, handle_PHONE (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:339 339 } (gdb) PASS: gdb.base/sigall.exp: send signal PHONE signal 0 Continuing with no signal. Breakpoint 61, gen_WAITING () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1136 1136 handle_WAITING (0); (gdb) PASS: gdb.base/sigall.exp: advance to WAITING handle SIGWAITING stop print Signal Stop Print Pass to program Description SIGWAITING Yes Yes Yes Process's LWPs are blocked (gdb) PASS: gdb.base/sigall.exp: handle SIGWAITING stop print b handle_WAITING Breakpoint 62 at 0x8048573: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 350. (gdb) PASS: gdb.base/sigall.exp: b handle_WAITING b gen_LWP Breakpoint 63 at 0x8048b0a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1147. (gdb) PASS: gdb.base/sigall.exp: b gen_LWP continue Continuing. Breakpoint 62, handle_WAITING (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:350 350 } (gdb) PASS: gdb.base/sigall.exp: send signal WAITING signal 0 Continuing with no signal. Breakpoint 63, gen_LWP () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1147 1147 handle_LWP (0); (gdb) PASS: gdb.base/sigall.exp: advance to LWP handle SIGLWP stop print Signal Stop Print Pass to program Description SIGLWP Yes Yes Yes Signal LWP (gdb) PASS: gdb.base/sigall.exp: handle SIGLWP stop print b handle_LWP Breakpoint 64 at 0x804857b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 361. (gdb) PASS: gdb.base/sigall.exp: b handle_LWP b gen_DANGER Breakpoint 65 at 0x8048b2a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1158. (gdb) PASS: gdb.base/sigall.exp: b gen_DANGER continue Continuing. Breakpoint 64, handle_LWP (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:361 361 } (gdb) PASS: gdb.base/sigall.exp: send signal LWP signal 0 Continuing with no signal. Breakpoint 65, gen_DANGER () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1158 1158 handle_DANGER (0); (gdb) PASS: gdb.base/sigall.exp: advance to DANGER handle SIGDANGER stop print Signal Stop Print Pass to program Description SIGDANGER Yes Yes Yes Swap space dangerously low (gdb) PASS: gdb.base/sigall.exp: handle SIGDANGER stop print b handle_DANGER Breakpoint 66 at 0x8048583: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 372. (gdb) PASS: gdb.base/sigall.exp: b handle_DANGER b gen_GRANT Breakpoint 67 at 0x8048b4a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1169. (gdb) PASS: gdb.base/sigall.exp: b gen_GRANT continue Continuing. Breakpoint 66, handle_DANGER (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:372 372 } (gdb) PASS: gdb.base/sigall.exp: send signal DANGER signal 0 Continuing with no signal. Breakpoint 67, gen_GRANT () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1169 1169 handle_GRANT (0); (gdb) PASS: gdb.base/sigall.exp: advance to GRANT handle SIGGRANT stop print Signal Stop Print Pass to program Description SIGGRANT Yes Yes Yes Monitor mode granted (gdb) PASS: gdb.base/sigall.exp: handle SIGGRANT stop print b handle_GRANT Breakpoint 68 at 0x804858b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 383. (gdb) PASS: gdb.base/sigall.exp: b handle_GRANT b gen_RETRACT Breakpoint 69 at 0x8048b6a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1180. (gdb) PASS: gdb.base/sigall.exp: b gen_RETRACT continue Continuing. Breakpoint 68, handle_GRANT (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:383 383 } (gdb) PASS: gdb.base/sigall.exp: send signal GRANT signal 0 Continuing with no signal. Breakpoint 69, gen_RETRACT () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1180 1180 handle_RETRACT (0); (gdb) PASS: gdb.base/sigall.exp: advance to RETRACT handle SIGRETRACT stop print Signal Stop Print Pass to program Description SIGRETRACT Yes Yes Yes Need to relinquish monitor mode (gdb) PASS: gdb.base/sigall.exp: handle SIGRETRACT stop print b handle_RETRACT Breakpoint 70 at 0x8048593: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 394. (gdb) PASS: gdb.base/sigall.exp: b handle_RETRACT b gen_MSG Breakpoint 71 at 0x8048b8a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1191. (gdb) PASS: gdb.base/sigall.exp: b gen_MSG continue Continuing. Breakpoint 70, handle_RETRACT (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:394 394 } (gdb) PASS: gdb.base/sigall.exp: send signal RETRACT signal 0 Continuing with no signal. Breakpoint 71, gen_MSG () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1191 1191 handle_MSG (0); (gdb) PASS: gdb.base/sigall.exp: advance to MSG handle SIGMSG stop print Signal Stop Print Pass to program Description SIGMSG Yes Yes Yes Monitor mode data available (gdb) PASS: gdb.base/sigall.exp: handle SIGMSG stop print b handle_MSG Breakpoint 72 at 0x804859b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 405. (gdb) PASS: gdb.base/sigall.exp: b handle_MSG b gen_SOUND Breakpoint 73 at 0x8048baa: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1202. (gdb) PASS: gdb.base/sigall.exp: b gen_SOUND continue Continuing. Breakpoint 72, handle_MSG (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:405 405 } (gdb) PASS: gdb.base/sigall.exp: send signal MSG signal 0 Continuing with no signal. Breakpoint 73, gen_SOUND () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1202 1202 handle_SOUND (0); (gdb) PASS: gdb.base/sigall.exp: advance to SOUND handle SIGSOUND stop print Signal Stop Print Pass to program Description SIGSOUND Yes Yes Yes Sound completed (gdb) PASS: gdb.base/sigall.exp: handle SIGSOUND stop print b handle_SOUND Breakpoint 74 at 0x80485a3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 416. (gdb) PASS: gdb.base/sigall.exp: b handle_SOUND b gen_SAK Breakpoint 75 at 0x8048bca: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1213. (gdb) PASS: gdb.base/sigall.exp: b gen_SAK continue Continuing. Breakpoint 74, handle_SOUND (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:416 416 } (gdb) PASS: gdb.base/sigall.exp: send signal SOUND signal 0 Continuing with no signal. Breakpoint 75, gen_SAK () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1213 1213 handle_SAK (0); (gdb) PASS: gdb.base/sigall.exp: advance to SAK handle SIGSAK stop print Signal Stop Print Pass to program Description SIGSAK Yes Yes Yes Secure attention (gdb) PASS: gdb.base/sigall.exp: handle SIGSAK stop print b handle_SAK Breakpoint 76 at 0x80485ab: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 427. (gdb) PASS: gdb.base/sigall.exp: b handle_SAK b gen_PRIO Breakpoint 77 at 0x8048bea: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1224. (gdb) PASS: gdb.base/sigall.exp: b gen_PRIO continue Continuing. Breakpoint 76, handle_SAK (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:427 427 } (gdb) PASS: gdb.base/sigall.exp: send signal SAK signal 0 Continuing with no signal. Breakpoint 77, gen_PRIO () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1224 1224 handle_PRIO (0); (gdb) PASS: gdb.base/sigall.exp: advance to PRIO handle SIGPRIO stop print Signal Stop Print Pass to program Description SIGPRIO Yes Yes Yes SIGPRIO (gdb) PASS: gdb.base/sigall.exp: handle SIGPRIO stop print b handle_PRIO Breakpoint 78 at 0x80485b3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 438. (gdb) PASS: gdb.base/sigall.exp: b handle_PRIO b gen_33 Breakpoint 79 at 0x8048c0a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1235. (gdb) PASS: gdb.base/sigall.exp: b gen_33 continue Continuing. Breakpoint 78, handle_PRIO (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:438 438 } (gdb) PASS: gdb.base/sigall.exp: send signal PRIO signal 0 Continuing with no signal. Breakpoint 79, gen_33 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1235 1235 handle_33 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 33 handle SIG33 stop print Signal Stop Print Pass to program Description SIG33 Yes Yes Yes Real-time event 33 (gdb) PASS: gdb.base/sigall.exp: handle SIG33 stop print b handle_33 Breakpoint 80 at 0x80485bb: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 449. (gdb) PASS: gdb.base/sigall.exp: b handle_33 b gen_34 Breakpoint 81 at 0x8048c2a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1246. (gdb) PASS: gdb.base/sigall.exp: b gen_34 continue Continuing. Breakpoint 80, handle_33 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:449 449 } (gdb) PASS: gdb.base/sigall.exp: send signal 33 signal 0 Continuing with no signal. Breakpoint 81, gen_34 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1246 1246 handle_34 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 34 handle SIG34 stop print Signal Stop Print Pass to program Description SIG34 Yes Yes Yes Real-time event 34 (gdb) PASS: gdb.base/sigall.exp: handle SIG34 stop print b handle_34 Breakpoint 82 at 0x80485c3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 460. (gdb) PASS: gdb.base/sigall.exp: b handle_34 b gen_35 Breakpoint 83 at 0x8048c4a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1257. (gdb) PASS: gdb.base/sigall.exp: b gen_35 continue Continuing. Breakpoint 82, handle_34 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:460 460 } (gdb) PASS: gdb.base/sigall.exp: send signal 34 signal 0 Continuing with no signal. Breakpoint 83, gen_35 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1257 1257 handle_35 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 35 handle SIG35 stop print Signal Stop Print Pass to program Description SIG35 Yes Yes Yes Real-time event 35 (gdb) PASS: gdb.base/sigall.exp: handle SIG35 stop print b handle_35 Breakpoint 84 at 0x80485cb: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 471. (gdb) PASS: gdb.base/sigall.exp: b handle_35 b gen_36 Breakpoint 85 at 0x8048c6a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1268. (gdb) PASS: gdb.base/sigall.exp: b gen_36 continue Continuing. Breakpoint 84, handle_35 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:471 471 } (gdb) PASS: gdb.base/sigall.exp: send signal 35 signal 0 Continuing with no signal. Breakpoint 85, gen_36 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1268 1268 handle_36 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 36 handle SIG36 stop print Signal Stop Print Pass to program Description SIG36 Yes Yes Yes Real-time event 36 (gdb) PASS: gdb.base/sigall.exp: handle SIG36 stop print b handle_36 Breakpoint 86 at 0x80485d3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 482. (gdb) PASS: gdb.base/sigall.exp: b handle_36 b gen_37 Breakpoint 87 at 0x8048c8a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1279. (gdb) PASS: gdb.base/sigall.exp: b gen_37 continue Continuing. Breakpoint 86, handle_36 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:482 482 } (gdb) PASS: gdb.base/sigall.exp: send signal 36 signal 0 Continuing with no signal. Breakpoint 87, gen_37 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1279 1279 handle_37 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 37 handle SIG37 stop print Signal Stop Print Pass to program Description SIG37 Yes Yes Yes Real-time event 37 (gdb) PASS: gdb.base/sigall.exp: handle SIG37 stop print b handle_37 Breakpoint 88 at 0x80485db: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 493. (gdb) PASS: gdb.base/sigall.exp: b handle_37 b gen_38 Breakpoint 89 at 0x8048caa: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1290. (gdb) PASS: gdb.base/sigall.exp: b gen_38 continue Continuing. Breakpoint 88, handle_37 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:493 493 } (gdb) PASS: gdb.base/sigall.exp: send signal 37 signal 0 Continuing with no signal. Breakpoint 89, gen_38 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1290 1290 handle_38 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 38 handle SIG38 stop print Signal Stop Print Pass to program Description SIG38 Yes Yes Yes Real-time event 38 (gdb) PASS: gdb.base/sigall.exp: handle SIG38 stop print b handle_38 Breakpoint 90 at 0x80485e3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 504. (gdb) PASS: gdb.base/sigall.exp: b handle_38 b gen_39 Breakpoint 91 at 0x8048cca: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1301. (gdb) PASS: gdb.base/sigall.exp: b gen_39 continue Continuing. Breakpoint 90, handle_38 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:504 504 } (gdb) PASS: gdb.base/sigall.exp: send signal 38 signal 0 Continuing with no signal. Breakpoint 91, gen_39 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1301 1301 handle_39 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 39 handle SIG39 stop print Signal Stop Print Pass to program Description SIG39 Yes Yes Yes Real-time event 39 (gdb) PASS: gdb.base/sigall.exp: handle SIG39 stop print b handle_39 Breakpoint 92 at 0x80485eb: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 515. (gdb) PASS: gdb.base/sigall.exp: b handle_39 b gen_40 Breakpoint 93 at 0x8048cea: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1312. (gdb) PASS: gdb.base/sigall.exp: b gen_40 continue Continuing. Breakpoint 92, handle_39 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:515 515 } (gdb) PASS: gdb.base/sigall.exp: send signal 39 signal 0 Continuing with no signal. Breakpoint 93, gen_40 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1312 1312 handle_40 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 40 handle SIG40 stop print Signal Stop Print Pass to program Description SIG40 Yes Yes Yes Real-time event 40 (gdb) PASS: gdb.base/sigall.exp: handle SIG40 stop print b handle_40 Breakpoint 94 at 0x80485f3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 526. (gdb) PASS: gdb.base/sigall.exp: b handle_40 b gen_41 Breakpoint 95 at 0x8048d0a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1323. (gdb) PASS: gdb.base/sigall.exp: b gen_41 continue Continuing. Breakpoint 94, handle_40 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:526 526 } (gdb) PASS: gdb.base/sigall.exp: send signal 40 signal 0 Continuing with no signal. Breakpoint 95, gen_41 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1323 1323 handle_41 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 41 handle SIG41 stop print Signal Stop Print Pass to program Description SIG41 Yes Yes Yes Real-time event 41 (gdb) PASS: gdb.base/sigall.exp: handle SIG41 stop print b handle_41 Breakpoint 96 at 0x80485fb: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 537. (gdb) PASS: gdb.base/sigall.exp: b handle_41 b gen_42 Breakpoint 97 at 0x8048d2a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1334. (gdb) PASS: gdb.base/sigall.exp: b gen_42 continue Continuing. Breakpoint 96, handle_41 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:537 537 } (gdb) PASS: gdb.base/sigall.exp: send signal 41 signal 0 Continuing with no signal. Breakpoint 97, gen_42 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1334 1334 handle_42 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 42 handle SIG42 stop print Signal Stop Print Pass to program Description SIG42 Yes Yes Yes Real-time event 42 (gdb) PASS: gdb.base/sigall.exp: handle SIG42 stop print b handle_42 Breakpoint 98 at 0x8048603: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 548. (gdb) PASS: gdb.base/sigall.exp: b handle_42 b gen_43 Breakpoint 99 at 0x8048d4a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1345. (gdb) PASS: gdb.base/sigall.exp: b gen_43 continue Continuing. Breakpoint 98, handle_42 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:548 548 } (gdb) PASS: gdb.base/sigall.exp: send signal 42 signal 0 Continuing with no signal. Breakpoint 99, gen_43 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1345 1345 handle_43 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 43 handle SIG43 stop print Signal Stop Print Pass to program Description SIG43 Yes Yes Yes Real-time event 43 (gdb) PASS: gdb.base/sigall.exp: handle SIG43 stop print b handle_43 Breakpoint 100 at 0x804860b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 559. (gdb) PASS: gdb.base/sigall.exp: b handle_43 b gen_44 Breakpoint 101 at 0x8048d6a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1356. (gdb) PASS: gdb.base/sigall.exp: b gen_44 continue Continuing. Breakpoint 100, handle_43 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:559 559 } (gdb) PASS: gdb.base/sigall.exp: send signal 43 signal 0 Continuing with no signal. Breakpoint 101, gen_44 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1356 1356 handle_44 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 44 handle SIG44 stop print Signal Stop Print Pass to program Description SIG44 Yes Yes Yes Real-time event 44 (gdb) PASS: gdb.base/sigall.exp: handle SIG44 stop print b handle_44 Breakpoint 102 at 0x8048613: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 570. (gdb) PASS: gdb.base/sigall.exp: b handle_44 b gen_45 Breakpoint 103 at 0x8048d8a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1367. (gdb) PASS: gdb.base/sigall.exp: b gen_45 continue Continuing. Breakpoint 102, handle_44 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:570 570 } (gdb) PASS: gdb.base/sigall.exp: send signal 44 signal 0 Continuing with no signal. Breakpoint 103, gen_45 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1367 1367 handle_45 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 45 handle SIG45 stop print Signal Stop Print Pass to program Description SIG45 Yes Yes Yes Real-time event 45 (gdb) PASS: gdb.base/sigall.exp: handle SIG45 stop print b handle_45 Breakpoint 104 at 0x804861b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 581. (gdb) PASS: gdb.base/sigall.exp: b handle_45 b gen_46 Breakpoint 105 at 0x8048daa: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1378. (gdb) PASS: gdb.base/sigall.exp: b gen_46 continue Continuing. Breakpoint 104, handle_45 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:581 581 } (gdb) PASS: gdb.base/sigall.exp: send signal 45 signal 0 Continuing with no signal. Breakpoint 105, gen_46 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1378 1378 handle_46 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 46 handle SIG46 stop print Signal Stop Print Pass to program Description SIG46 Yes Yes Yes Real-time event 46 (gdb) PASS: gdb.base/sigall.exp: handle SIG46 stop print b handle_46 Breakpoint 106 at 0x8048623: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 592. (gdb) PASS: gdb.base/sigall.exp: b handle_46 b gen_47 Breakpoint 107 at 0x8048dca: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1389. (gdb) PASS: gdb.base/sigall.exp: b gen_47 continue Continuing. Breakpoint 106, handle_46 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:592 592 } (gdb) PASS: gdb.base/sigall.exp: send signal 46 signal 0 Continuing with no signal. Breakpoint 107, gen_47 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1389 1389 handle_47 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 47 handle SIG47 stop print Signal Stop Print Pass to program Description SIG47 Yes Yes Yes Real-time event 47 (gdb) PASS: gdb.base/sigall.exp: handle SIG47 stop print b handle_47 Breakpoint 108 at 0x804862b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 603. (gdb) PASS: gdb.base/sigall.exp: b handle_47 b gen_48 Breakpoint 109 at 0x8048dea: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1400. (gdb) PASS: gdb.base/sigall.exp: b gen_48 continue Continuing. Breakpoint 108, handle_47 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:603 603 } (gdb) PASS: gdb.base/sigall.exp: send signal 47 signal 0 Continuing with no signal. Breakpoint 109, gen_48 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1400 1400 handle_48 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 48 handle SIG48 stop print Signal Stop Print Pass to program Description SIG48 Yes Yes Yes Real-time event 48 (gdb) PASS: gdb.base/sigall.exp: handle SIG48 stop print b handle_48 Breakpoint 110 at 0x8048633: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 614. (gdb) PASS: gdb.base/sigall.exp: b handle_48 b gen_49 Breakpoint 111 at 0x8048e0a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1411. (gdb) PASS: gdb.base/sigall.exp: b gen_49 continue Continuing. Breakpoint 110, handle_48 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:614 614 } (gdb) PASS: gdb.base/sigall.exp: send signal 48 signal 0 Continuing with no signal. Breakpoint 111, gen_49 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1411 1411 handle_49 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 49 handle SIG49 stop print Signal Stop Print Pass to program Description SIG49 Yes Yes Yes Real-time event 49 (gdb) PASS: gdb.base/sigall.exp: handle SIG49 stop print b handle_49 Breakpoint 112 at 0x804863b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 625. (gdb) PASS: gdb.base/sigall.exp: b handle_49 b gen_50 Breakpoint 113 at 0x8048e2a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1422. (gdb) PASS: gdb.base/sigall.exp: b gen_50 continue Continuing. Breakpoint 112, handle_49 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:625 625 } (gdb) PASS: gdb.base/sigall.exp: send signal 49 signal 0 Continuing with no signal. Breakpoint 113, gen_50 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1422 1422 handle_50 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 50 handle SIG50 stop print Signal Stop Print Pass to program Description SIG50 Yes Yes Yes Real-time event 50 (gdb) PASS: gdb.base/sigall.exp: handle SIG50 stop print b handle_50 Breakpoint 114 at 0x8048643: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 636. (gdb) PASS: gdb.base/sigall.exp: b handle_50 b gen_51 Breakpoint 115 at 0x8048e4a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1433. (gdb) PASS: gdb.base/sigall.exp: b gen_51 continue Continuing. Breakpoint 114, handle_50 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:636 636 } (gdb) PASS: gdb.base/sigall.exp: send signal 50 signal 0 Continuing with no signal. Breakpoint 115, gen_51 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1433 1433 handle_51 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 51 handle SIG51 stop print Signal Stop Print Pass to program Description SIG51 Yes Yes Yes Real-time event 51 (gdb) PASS: gdb.base/sigall.exp: handle SIG51 stop print b handle_51 Breakpoint 116 at 0x804864b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 647. (gdb) PASS: gdb.base/sigall.exp: b handle_51 b gen_52 Breakpoint 117 at 0x8048e6a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1444. (gdb) PASS: gdb.base/sigall.exp: b gen_52 continue Continuing. Breakpoint 116, handle_51 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:647 647 } (gdb) PASS: gdb.base/sigall.exp: send signal 51 signal 0 Continuing with no signal. Breakpoint 117, gen_52 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1444 1444 handle_52 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 52 handle SIG52 stop print Signal Stop Print Pass to program Description SIG52 Yes Yes Yes Real-time event 52 (gdb) PASS: gdb.base/sigall.exp: handle SIG52 stop print b handle_52 Breakpoint 118 at 0x8048653: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 658. (gdb) PASS: gdb.base/sigall.exp: b handle_52 b gen_53 Breakpoint 119 at 0x8048e8a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1455. (gdb) PASS: gdb.base/sigall.exp: b gen_53 continue Continuing. Breakpoint 118, handle_52 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:658 658 } (gdb) PASS: gdb.base/sigall.exp: send signal 52 signal 0 Continuing with no signal. Breakpoint 119, gen_53 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1455 1455 handle_53 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 53 handle SIG53 stop print Signal Stop Print Pass to program Description SIG53 Yes Yes Yes Real-time event 53 (gdb) PASS: gdb.base/sigall.exp: handle SIG53 stop print b handle_53 Breakpoint 120 at 0x804865b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 669. (gdb) PASS: gdb.base/sigall.exp: b handle_53 b gen_54 Breakpoint 121 at 0x8048eaa: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1466. (gdb) PASS: gdb.base/sigall.exp: b gen_54 continue Continuing. Breakpoint 120, handle_53 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:669 669 } (gdb) PASS: gdb.base/sigall.exp: send signal 53 signal 0 Continuing with no signal. Breakpoint 121, gen_54 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1466 1466 handle_54 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 54 handle SIG54 stop print Signal Stop Print Pass to program Description SIG54 Yes Yes Yes Real-time event 54 (gdb) PASS: gdb.base/sigall.exp: handle SIG54 stop print b handle_54 Breakpoint 122 at 0x8048663: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 680. (gdb) PASS: gdb.base/sigall.exp: b handle_54 b gen_55 Breakpoint 123 at 0x8048eca: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1477. (gdb) PASS: gdb.base/sigall.exp: b gen_55 continue Continuing. Breakpoint 122, handle_54 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:680 680 } (gdb) PASS: gdb.base/sigall.exp: send signal 54 signal 0 Continuing with no signal. Breakpoint 123, gen_55 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1477 1477 handle_55 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 55 handle SIG55 stop print Signal Stop Print Pass to program Description SIG55 Yes Yes Yes Real-time event 55 (gdb) PASS: gdb.base/sigall.exp: handle SIG55 stop print b handle_55 Breakpoint 124 at 0x804866b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 691. (gdb) PASS: gdb.base/sigall.exp: b handle_55 b gen_56 Breakpoint 125 at 0x8048eea: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1488. (gdb) PASS: gdb.base/sigall.exp: b gen_56 continue Continuing. Breakpoint 124, handle_55 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:691 691 } (gdb) PASS: gdb.base/sigall.exp: send signal 55 signal 0 Continuing with no signal. Breakpoint 125, gen_56 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1488 1488 handle_56 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 56 handle SIG56 stop print Signal Stop Print Pass to program Description SIG56 Yes Yes Yes Real-time event 56 (gdb) PASS: gdb.base/sigall.exp: handle SIG56 stop print b handle_56 Breakpoint 126 at 0x8048673: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 702. (gdb) PASS: gdb.base/sigall.exp: b handle_56 b gen_57 Breakpoint 127 at 0x8048f0a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1499. (gdb) PASS: gdb.base/sigall.exp: b gen_57 continue Continuing. Breakpoint 126, handle_56 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:702 702 } (gdb) PASS: gdb.base/sigall.exp: send signal 56 signal 0 Continuing with no signal. Breakpoint 127, gen_57 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1499 1499 handle_57 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 57 handle SIG57 stop print Signal Stop Print Pass to program Description SIG57 Yes Yes Yes Real-time event 57 (gdb) PASS: gdb.base/sigall.exp: handle SIG57 stop print b handle_57 Breakpoint 128 at 0x804867b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 713. (gdb) PASS: gdb.base/sigall.exp: b handle_57 b gen_58 Breakpoint 129 at 0x8048f2a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1510. (gdb) PASS: gdb.base/sigall.exp: b gen_58 continue Continuing. Breakpoint 128, handle_57 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:713 713 } (gdb) PASS: gdb.base/sigall.exp: send signal 57 signal 0 Continuing with no signal. Breakpoint 129, gen_58 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1510 1510 handle_58 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 58 handle SIG58 stop print Signal Stop Print Pass to program Description SIG58 Yes Yes Yes Real-time event 58 (gdb) PASS: gdb.base/sigall.exp: handle SIG58 stop print b handle_58 Breakpoint 130 at 0x8048683: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 724. (gdb) PASS: gdb.base/sigall.exp: b handle_58 b gen_59 Breakpoint 131 at 0x8048f4a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1521. (gdb) PASS: gdb.base/sigall.exp: b gen_59 continue Continuing. Breakpoint 130, handle_58 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:724 724 } (gdb) PASS: gdb.base/sigall.exp: send signal 58 signal 0 Continuing with no signal. Breakpoint 131, gen_59 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1521 1521 handle_59 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 59 handle SIG59 stop print Signal Stop Print Pass to program Description SIG59 Yes Yes Yes Real-time event 59 (gdb) PASS: gdb.base/sigall.exp: handle SIG59 stop print b handle_59 Breakpoint 132 at 0x804868b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 735. (gdb) PASS: gdb.base/sigall.exp: b handle_59 b gen_60 Breakpoint 133 at 0x8048f6a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1532. (gdb) PASS: gdb.base/sigall.exp: b gen_60 continue Continuing. Breakpoint 132, handle_59 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:735 735 } (gdb) PASS: gdb.base/sigall.exp: send signal 59 signal 0 Continuing with no signal. Breakpoint 133, gen_60 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1532 1532 handle_60 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 60 handle SIG60 stop print Signal Stop Print Pass to program Description SIG60 Yes Yes Yes Real-time event 60 (gdb) PASS: gdb.base/sigall.exp: handle SIG60 stop print b handle_60 Breakpoint 134 at 0x8048693: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 746. (gdb) PASS: gdb.base/sigall.exp: b handle_60 b gen_61 Breakpoint 135 at 0x8048f8a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1543. (gdb) PASS: gdb.base/sigall.exp: b gen_61 continue Continuing. Breakpoint 134, handle_60 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:746 746 } (gdb) PASS: gdb.base/sigall.exp: send signal 60 signal 0 Continuing with no signal. Breakpoint 135, gen_61 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1543 1543 handle_61 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 61 handle SIG61 stop print Signal Stop Print Pass to program Description SIG61 Yes Yes Yes Real-time event 61 (gdb) PASS: gdb.base/sigall.exp: handle SIG61 stop print b handle_61 Breakpoint 136 at 0x804869b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 757. (gdb) PASS: gdb.base/sigall.exp: b handle_61 b gen_62 Breakpoint 137 at 0x8048faa: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1554. (gdb) PASS: gdb.base/sigall.exp: b gen_62 continue Continuing. Breakpoint 136, handle_61 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:757 757 } (gdb) PASS: gdb.base/sigall.exp: send signal 61 signal 0 Continuing with no signal. Breakpoint 137, gen_62 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1554 1554 handle_62 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 62 handle SIG62 stop print Signal Stop Print Pass to program Description SIG62 Yes Yes Yes Real-time event 62 (gdb) PASS: gdb.base/sigall.exp: handle SIG62 stop print b handle_62 Breakpoint 138 at 0x80486a3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 768. (gdb) PASS: gdb.base/sigall.exp: b handle_62 b gen_63 Breakpoint 139 at 0x8048fca: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1565. (gdb) PASS: gdb.base/sigall.exp: b gen_63 continue Continuing. Breakpoint 138, handle_62 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:768 768 } (gdb) PASS: gdb.base/sigall.exp: send signal 62 signal 0 Continuing with no signal. Breakpoint 139, gen_63 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1565 1565 handle_63 (0); (gdb) PASS: gdb.base/sigall.exp: advance to 63 handle SIG63 stop print Signal Stop Print Pass to program Description SIG63 Yes Yes Yes Real-time event 63 (gdb) PASS: gdb.base/sigall.exp: handle SIG63 stop print b handle_63 Breakpoint 140 at 0x80486ab: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 779. (gdb) PASS: gdb.base/sigall.exp: b handle_63 b gen_TERM Breakpoint 141 at 0x8048fea: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 1573. (gdb) PASS: gdb.base/sigall.exp: b gen_TERM continue Continuing. Breakpoint 140, handle_63 (sig=0) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:779 779 } (gdb) PASS: gdb.base/sigall.exp: send signal 63 signal 0 Continuing with no signal. Breakpoint 141, gen_TERM () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:1573 1573 kill (getpid (), SIGTERM); (gdb) PASS: gdb.base/sigall.exp: advance to TERM handle SIGTERM stop print Signal Stop Print Pass to program Description SIGTERM Yes Yes Yes Terminated (gdb) PASS: gdb.base/sigall.exp: handle SIGTERM stop print b handle_TERM Breakpoint 142 at 0x80486b3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c, line 790. (gdb) PASS: gdb.base/sigall.exp: b handle_TERM continue Continuing. Program received signal SIGTERM, Terminated. 0x40058d41 in kill () from /lib/libc.so.6 (gdb) PASS: gdb.base/sigall.exp: get signal TERM continue Continuing. Breakpoint 142, handle_TERM (sig=15) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.c:790 790 } (gdb) PASS: gdb.base/sigall.exp: send signal TERM continue Continuing. Program exited normally. (gdb) PASS: gdb.base/sigall.exp: continue until exit at continue to sigall exit testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sigall.exp completed in 4 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/signals (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/signals Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/signals.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/signals.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) handle all print Signal Stop Print Pass to program Description SIGHUP Yes Yes Yes Hangup SIGQUIT Yes Yes Yes Quit SIGILL Yes Yes Yes Illegal instruction SIGABRT Yes Yes Yes Aborted SIGEMT Yes Yes Yes Emulation trap SIGFPE Yes Yes Yes Arithmetic exception SIGKILL Yes Yes Yes Killed SIGBUS Yes Yes Yes Bus error SIGSEGV Yes Yes Yes Segmentation fault SIGSYS Yes Yes Yes Bad system call SIGPIPE Yes Yes Yes Broken pipe SIGALRM No Yes Yes Alarm clock SIGTERM Yes Yes Yes Terminated SIGURG No Yes Yes Urgent I/O condition SIGSTOP Yes Yes Yes Stopped (signal) SIGTSTP Yes Yes Yes Stopped (user) SIGCONT Yes Yes Yes Continued SIGCHLD No Yes Yes Child status changed SIGTTIN Yes Yes Yes Stopped (tty input) SIGTTOU Yes Yes Yes Stopped (tty output) SIGIO No Yes Yes I/O possible SIGXCPU Yes Yes Yes CPU time limit exceeded SIGXFSZ Yes Yes Yes File size limit exceeded SIGVTALRM No Yes Yes Virtual timer expired SIGPROF No Yes Yes Profiling timer expired SIGWINCH No Yes Yes Window size changed SIGLOST Yes Yes Yes Resource lost SIGUSR1 Yes Yes Yes User defined signal 1 SIGUSR2 Yes Yes Yes User defined signal 2 SIGPWR Yes Yes Yes Power fail/restart SIGPOLL No Yes Yes Pollable event occurred SIGWIND Yes Yes Yes SIGWIND SIGPHONE Yes Yes Yes SIGPHONE SIGWAITING No Yes Yes Process's LWPs are blocked SIGLWP No Yes Yes Signal LWP SIGDANGER Yes Yes Yes Swap space dangerously low SIGGRANT Yes Yes Yes Monitor mode granted SIGRETRACT Yes Yes Yes Need to relinquish monitor mode SIGMSG Yes Yes Yes Monitor mode data available SIGSOUND Yes Yes Yes Sound completed SIGSAK Yes Yes Yes Secure attention SIGPRIO Yes Yes Yes SIGPRIO SIG33 Yes Yes Yes Real-time event 33 SIG34 Yes Yes Yes Real-time event 34 SIG35 Yes Yes Yes Real-time event 35 SIG36 Yes Yes Yes Real-time event 36 SIG37 Yes Yes Yes Real-time event 37 SIG38 Yes Yes Yes Real-time event 38 SIG39 Yes Yes Yes Real-time event 39 SIG40 Yes Yes Yes Real-time event 40 SIG41 Yes Yes Yes Real-time event 41 SIG42 Yes Yes Yes Real-time event 42 SIG43 Yes Yes Yes Real-time event 43 SIG44 Yes Yes Yes Real-time event 44 SIG45 Yes Yes Yes Real-time event 45 SIG46 Yes Yes Yes Real-time event 46 SIG47 Yes Yes Yes Real-time event 47 SIG48 Yes Yes Yes Real-time event 48 SIG49 Yes Yes Yes Real-time event 49 SIG50 Yes Yes Yes Real-time event 50 SIG51 Yes Yes Yes Real-time event 51 SIG52 Yes Yes Yes Real-time event 52 SIG53 Yes Yes Yes Real-time event 53 SIG54 Yes Yes Yes Real-time event 54 SIG55 Yes Yes Yes Real-time event 55 SIG56 Yes Yes Yes Real-time event 56 SIG57 Yes Yes Yes Real-time event 57 SIG58 Yes Yes Yes Real-time event 58 SIG59 Yes Yes Yes Real-time event 59 SIG60 Yes Yes Yes Real-time event 60 SIG61 Yes Yes Yes Real-time event 61 SIG62 Yes Yes Yes Real-time event 62 SIG63 Yes Yes Yes Real-time event 63 SIGCANCEL No Yes Yes LWP internal signal SIG32 Yes Yes Yes Real-time event 32 SIGINFO Yes Yes Yes Information request (gdb) PASS: gdb.base/signals.exp: handle all print spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/signals Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/signals...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/signals (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x804848a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.c, line 46. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/signals Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.c:46 46 signal (SIGALRM, handler); (gdb) next 49 signal (SIGUSR1, handler); (gdb) PASS: gdb.base/signals.exp: next over signal (SIGALRM, handler) next 51 alarm (1); (gdb) PASS: gdb.base/signals.exp: next over signal (SIGUSR1, handler) next 52 ++count; /* first */ (gdb) PASS: gdb.base/signals.exp: next over alarm (1) next 53 alarm (1); (gdb) PASS: gdb.base/signals.exp: next to 2nd alarm (1) break handler Breakpoint 2 at 0x8048446: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.c, line 22. (gdb) PASS: gdb.base/signals.exp: break handler next 54 ++count; /* second */ (gdb) PASS: gdb.base/signals.exp: next to 2nd ++count in signals_tests_1 next Breakpoint 2, handler (sig=14) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.c:22 22 signal (sig, handler); (gdb) PASS: gdb.base/signals.exp: next to handler in signals_tests_1 backtrace 10 #0 handler (sig=14) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.c:22 #1 0x40058c68 in sigaction () from /lib/libc.so.6 #2 0x400529cb in __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/signals.exp: backtrace in signals_tests_1 break func1 Breakpoint 3 at 0x8048467: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.c, line 29. (gdb) PASS: gdb.base/signals.exp: break func1 break func2 Breakpoint 4 at 0x8048477: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.c, line 35. (gdb) PASS: gdb.base/signals.exp: break func2 continue Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.c:55 55 func1 (); (gdb) XFAIL: gdb.base/signals.exp: continue to func1 (probably kernel bug) continue Continuing. Breakpoint 3, func1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.c:29 29 ++count; (gdb) PASS: gdb.base/signals.exp: extra continue to func1 signal SIGUSR1 Continuing with signal SIGUSR1. Breakpoint 2, handler (sig=10) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.c:22 22 signal (sig, handler); (gdb) PASS: gdb.base/signals.exp: signal SIGUSR1 continue Continuing. Breakpoint 3, func1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.c:29 29 ++count; (gdb) XFAIL: gdb.base/signals.exp: continue to func2 continue Continuing. Breakpoint 4, func2 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.c:35 35 ++count; (gdb) PASS: gdb.base/signals.exp: extra continue to func2 continue Continuing. Program exited with code 010. (gdb) XFAIL: gdb.base/signals.exp: continue to handler: the program exited continue The program is not being run. (gdb) XFAIL: gdb.base/signals.exp: continue to exit in signals_tests_1 : the program is no longer running p 1+1 $1 = 2 (gdb) delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 5 at 0x804848a: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.c, line 46. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/signals Breakpoint 5, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.c:46 46 signal (SIGALRM, handler); (gdb) break handler if 0 Breakpoint 6 at 0x8048446: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.c, line 22. (gdb) PASS: gdb.base/signals.exp: break handler if 0 set $handler_breakpoint_number = $bpnum (gdb) PASS: gdb.base/signals.exp: set $handler_breakpoint_number = $bpnum next 49 signal (SIGUSR1, handler); (gdb) PASS: gdb.base/signals.exp: next to signal in signals.exp next 51 alarm (1); (gdb) PASS: gdb.base/signals.exp: next to alarm #1 in signals.exp next 52 ++count; /* first */ (gdb) PASS: gdb.base/signals.exp: next to ++count #1 in signals.exp p func1 () $2 = void (gdb) PASS: gdb.base/signals.exp: p func1 () #1 in signals.exp p count $3 = 2 (gdb) PASS: gdb.base/signals.exp: p count #1 in signals.exp condition $handler_breakpoint_number Breakpoint 6 now unconditional. (gdb) PASS: gdb.base/signals.exp: condition $handler_breakpoint_number next 53 alarm (1); (gdb) PASS: gdb.base/signals.exp: next to alarm #2 in signals.exp next 54 ++count; /* second */ (gdb) PASS: gdb.base/signals.exp: next to ++count #2 in signals.exp p func1 () Breakpoint 6, handler (sig=14) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.c:22 22 signal (sig, handler); The program being debugged stopped while in a function called from GDB. When the function (func1) is done executing, GDB will silently stop (instead of continuing to evaluate the expression containing the function call). (gdb) PASS: gdb.base/signals.exp: p func1 () #2 in signals.exp bt 10 #0 handler (sig=14) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.c:22 #1 0x40058c68 in sigaction () from /lib/libc.so.6 #2 0x80484ce in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.c:53 #3 0x400529cb in __libc_start_main () from /lib/libc.so.6 (gdb) PASS: gdb.base/signals.exp: bt in signals.exp continue Continuing. (gdb) PASS: gdb.base/signals.exp: continue in signals.exp p count $4 = 5 (gdb) PASS: gdb.base/signals.exp: p count #2 in signals.exp info signals Signal Stop Print Pass to program Description SIGHUP Yes Yes Yes Hangup SIGINT Yes Yes No Interrupt SIGQUIT Yes Yes Yes Quit SIGILL Yes Yes Yes Illegal instruction SIGTRAP Yes Yes No Trace/breakpoint trap SIGABRT Yes Yes Yes Aborted SIGEMT Yes Yes Yes Emulation trap SIGFPE Yes Yes Yes Arithmetic exception SIGKILL Yes Yes Yes Killed SIGBUS Yes Yes Yes Bus error SIGSEGV Yes Yes Yes Segmentation fault SIGSYS Yes Yes Yes Bad system call SIGPIPE Yes Yes Yes Broken pipe SIGALRM No No Yes Alarm clock SIGTERM Yes Yes Yes Terminated SIGURG No No Yes Urgent I/O condition SIGSTOP Yes Yes Yes Stopped (signal) SIGTSTP Yes Yes Yes Stopped (user) SIGCONT Yes Yes Yes Continued SIGCHLD No No Yes Child status changed SIGTTIN Yes Yes Yes Stopped (tty input) SIGTTOU Yes Yes Yes Stopped (tty output) SIGIO No No Yes I/O possible SIGXCPU Yes Yes Yes CPU time limit exceeded SIGXFSZ Yes Yes Yes File size limit exceeded SIGVTALRM No No Yes Virtual timer expired SIGPROF No No Yes Profiling timer expired SIGWINCH No No Yes Window size changed SIGLOST Yes Yes Yes Resource lost SIGUSR1 Yes Yes Yes User defined signal 1 SIGUSR2 Yes Yes Yes User defined signal 2 SIGPWR Yes Yes Yes Power fail/restart SIGPOLL No No Yes Pollable event occurred SIGWIND Yes Yes Yes SIGWIND SIGPHONE Yes Yes Yes SIGPHONE SIGWAITING No No Yes Process's LWPs are blocked SIGLWP No No Yes Signal LWP SIGDANGER Yes Yes Yes Swap space dangerously low SIGGRANT Yes Yes Yes Monitor mode granted SIGRETRACT Yes Yes Yes Need to relinquish monitor mode SIGMSG Yes Yes Yes Monitor mode data available SIGSOUND Yes Yes Yes Sound completed SIGSAK Yes Yes Yes Secure attention SIGPRIO Yes Yes Yes SIGPRIO SIG33 Yes Yes Yes Real-time event 33 SIG34 Yes Yes Yes Real-time event 34 SIG35 Yes Yes Yes Real-time event 35 SIG36 Yes Yes Yes Real-time event 36 SIG37 Yes Yes Yes Real-time event 37 SIG38 Yes Yes Yes Real-time event 38 SIG39 Yes Yes Yes Real-time event 39 SIG40 Yes Yes Yes Real-time event 40 SIG41 Yes Yes Yes Real-time event 41 SIG42 Yes Yes Yes Real-time event 42 SIG43 Yes Yes Yes Real-time event 43 SIG44 Yes Yes Yes Real-time event 44 SIG45 Yes Yes Yes Real-time event 45 SIG46 Yes Yes Yes Real-time event 46 SIG47 Yes Yes Yes Real-time event 47 SIG48 Yes Yes Yes Real-time event 48 SIG49 Yes Yes Yes Real-time event 49 SIG50 Yes Yes Yes Real-time event 50 SIG51 Yes Yes Yes Real-time event 51 SIG52 Yes Yes Yes Real-time event 52 SIG53 Yes Yes Yes Real-time event 53 SIG54 Yes Yes Yes Real-time event 54 SIG55 Yes Yes Yes Real-time event 55 SIG56 Yes Yes Yes Real-time event 56 SIG57 Yes Yes Yes Real-time event 57 SIG58 Yes Yes Yes Real-time event 58 SIG59 Yes Yes Yes Real-time event 59 SIG60 Yes Yes Yes Real-time event 60 SIG61 Yes Yes Yes Real-time event 61 SIG62 Yes Yes Yes Real-time event 62 SIG63 Yes Yes Yes Real-time event 63 SIGCANCEL No No Yes LWP internal signal SIG32 Yes Yes Yes Real-time event 32 SIGINFO Yes Yes Yes Information request Use the "handle" command to change these tables. (gdb) PASS: gdb.base/signals.exp: info signals info signal SIGTRAP Signal Stop Print Pass to program Description SIGTRAP Yes Yes No Trace/breakpoint trap (gdb) PASS: gdb.base/signals.exp: info signal SIGTRAP info signal 5 Signal Stop Print Pass to program Description SIGTRAP Yes Yes No Trace/breakpoint trap (gdb) PASS: gdb.base/signals.exp: info signal 5 handle Argument required (signal to handle). (gdb) PASS: gdb.base/signals.exp: handle without arguments handle SIGFOO Unrecognized or ambiguous flag word: "SIGFOO". (gdb) PASS: gdb.base/signals.exp: handle with bogus SIG handle SIGHUP frump Unrecognized or ambiguous flag word: "frump". (gdb) PASS: gdb.base/signals.exp: handle SIG with bogus action handle SIGHUP print noprint Signal Stop Print Pass to program Description SIGHUP No No Yes Hangup (gdb) PASS: gdb.base/signals.exp: handle SIG with multiple conflicting actions handle SIGHUP print noprint stop nostop ignore noignore pass nopass Signal Stop Print Pass to program Description SIGHUP No Yes No Hangup (gdb) PASS: gdb.base/signals.exp: handle SIG parses all legal actions handle SIG63 print SIGILL Signal Stop Print Pass to program Description SIGILL Yes Yes Yes Illegal instruction SIG63 Yes Yes Yes Real-time event 63 (gdb) PASS: gdb.base/signals.exp: handle multiple SIGs handle 5 nopass SIGTRAP is used by the debugger. Are you sure you want to change it? (y or n) y Signal Stop Print Pass to program Description SIGTRAP Yes Yes No Trace/breakpoint trap (gdb) PASS: gdb.base/signals.exp: override SIGTRAP (#5) handle 58 Only signals 1-15 are valid as numeric signals. Use "info signals" for a list of symbolic signals. (gdb) PASS: gdb.base/signals.exp: invalid signal number rejected handle 13-15 Signal Stop Print Pass to program Description SIGPIPE Yes Yes Yes Broken pipe SIGALRM No No Yes Alarm clock SIGTERM Yes Yes Yes Terminated (gdb) PASS: gdb.base/signals.exp: handle multiple SIGs via integer range handle 15-13 Signal Stop Print Pass to program Description SIGPIPE Yes Yes Yes Broken pipe SIGALRM No No Yes Alarm clock SIGTERM Yes Yes Yes Terminated (gdb) PASS: gdb.base/signals.exp: handle multiple SIGs via integer range handle SIGINT nopass SIGINT is used by the debugger. Are you sure you want to change it? (y or n) n Not confirmed, unchanged. Signal Stop Print Pass to program Description (gdb) PASS: gdb.base/signals.exp: override SIGINT signal Argument required (signal number). (gdb) PASS: gdb.base/signals.exp: signal without arguments disallowed signal 5 Continuing with signal SIGTRAP. Program terminated with signal SIGTRAP, Trace/breakpoint trap. The program no longer exists. (gdb) PASS: gdb.base/signals.exp: sent signal 5 testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/signals.exp completed in 11 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sizeof.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sizeof.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/sizeof (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sizeof.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/sizeof Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/sizeof.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/sizeof.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/sizeof Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/sizeof...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/sizeof (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x8048416: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sizeof.c, line 6. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/sizeof Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sizeof.c:6 6 printf ("sizeof (char) == %d\n", sizeof (char)); (gdb) print/d sizeof (char) $1 = 1 (gdb) PASS: gdb.base/sizeof.exp: get sizeof char (1) print/d sizeof (short) $2 = 2 (gdb) PASS: gdb.base/sizeof.exp: get sizeof short (2) print/d sizeof (int) $3 = 4 (gdb) PASS: gdb.base/sizeof.exp: get sizeof int (4) print/d sizeof (long) $4 = 4 (gdb) PASS: gdb.base/sizeof.exp: get sizeof long (4) print/d sizeof (long long) $5 = 8 (gdb) PASS: gdb.base/sizeof.exp: get sizeof long long (8) print/d sizeof (void *) $6 = 4 (gdb) PASS: gdb.base/sizeof.exp: get sizeof void * (4) print/d sizeof (void (*)(void)) $7 = 4 (gdb) PASS: gdb.base/sizeof.exp: get sizeof void (*)(void) (4) print/d sizeof (float) $8 = 4 (gdb) PASS: gdb.base/sizeof.exp: get sizeof float (4) print/d sizeof (double) $9 = 8 (gdb) PASS: gdb.base/sizeof.exp: get sizeof double (8) print/d sizeof (long double) $10 = 12 (gdb) PASS: gdb.base/sizeof.exp: get sizeof long double (12) next sizeof (char) == 1 7 printf ("sizeof (short) == %d\n", sizeof (short)); (gdb) PASS: gdb.base/sizeof.exp: check sizeof char == 1 next sizeof (short) == 2 8 printf ("sizeof (int) == %d\n", sizeof (int)); (gdb) PASS: gdb.base/sizeof.exp: check sizeof short == 2 next sizeof (int) == 4 9 printf ("sizeof (long) == %d\n", sizeof (long)); (gdb) PASS: gdb.base/sizeof.exp: check sizeof int == 4 next sizeof (long) == 4 10 printf ("sizeof (long long) == %d\n", sizeof (long long)); (gdb) PASS: gdb.base/sizeof.exp: check sizeof long == 4 next sizeof (long long) == 8 12 printf ("sizeof (void *) == %d\n", sizeof (void*)); (gdb) PASS: gdb.base/sizeof.exp: check sizeof long long == 8 next sizeof (void *) == 4 13 printf ("sizeof (void (*)(void)) == %d\n", sizeof (void (*)(void))); (gdb) PASS: gdb.base/sizeof.exp: check sizeof void * == 4 next sizeof (void (*)(void)) == 4 15 printf ("sizeof (float) == %d\n", sizeof (float)); (gdb) PASS: gdb.base/sizeof.exp: check sizeof void (*)(void) == 4 next sizeof (float) == 4 16 printf ("sizeof (double) == %d\n", sizeof (double)); (gdb) PASS: gdb.base/sizeof.exp: check sizeof float == 4 next sizeof (double) == 8 17 printf ("sizeof (long double) == %d\n", sizeof (long double)); (gdb) PASS: gdb.base/sizeof.exp: check sizeof double == 8 next sizeof (long double) == 12 18 return 0; (gdb) PASS: gdb.base/sizeof.exp: check sizeof long double == 12 maint print arch gdbarch_dump: GDB_MULTI_ARCH = 0 gdbarch_dump: TARGET_ARCHITECTURE # (target_architecture + 0) gdbarch_dump: TARGET_BYTE_ORDER # 1234 gdbarch_dump: TARGET_SHORT_BIT # (2*8) gdbarch_dump: TARGET_INT_BIT # (4*8) gdbarch_dump: TARGET_LONG_BIT # (4*8) gdbarch_dump: TARGET_LONG_LONG_BIT # (2*(4*8)) gdbarch_dump: TARGET_FLOAT_BIT # (4*8) gdbarch_dump: TARGET_DOUBLE_BIT # (8*8) gdbarch_dump: TARGET_LONG_DOUBLE_BIT # 96 gdbarch_dump: TARGET_PTR_BIT # ((4*8)) gdbarch_dump: TARGET_ADDR_BIT # (((4*8))) gdbarch_dump: TARGET_BFD_VMA_BIT # ((target_architecture + 0)->bits_per_address) gdbarch_dump: IEEE_FLOAT # (1) gdbarch_dump: TARGET_READ_PC(pid) # (generic_target_read_pc (pid)) gdbarch_dump: TARGET_READ_FP() # (generic_target_read_fp ()) gdbarch_dump: TARGET_READ_SP() # (generic_target_read_sp ()) gdbarch_dump: NUM_REGS # ((16) + (16) + (0)) gdbarch_dump: NUM_PSEUDO_REGS # (0) gdbarch_dump: SP_REGNUM # 4 gdbarch_dump: FP_REGNUM # 5 gdbarch_dump: PC_REGNUM # 8 gdbarch_dump: FP0_REGNUM # 16 gdbarch_dump: NPC_REGNUM # (-1) gdbarch_dump: NNPC_REGNUM # (-1) gdbarch_dump: REGISTER_NAME(regnr) # (legacy_register_name (regnr)) gdbarch_dump: REGISTER_SIZE # 4 gdbarch_dump: REGISTER_BYTES # (((16) * 4) + (8 * (10)) + ((31 - 24 + 1) * 4)) gdbarch_dump: REGISTER_BYTE(reg_nr) # (i386_register_byte[(reg_nr)]) gdbarch_dump: REGISTER_RAW_SIZE(reg_nr) # (i386_register_raw_size[(reg_nr)]) gdbarch_dump: MAX_REGISTER_RAW_SIZE # 16 gdbarch_dump: REGISTER_VIRTUAL_SIZE(reg_nr) # (i386_register_virtual_size[(reg_nr)]) gdbarch_dump: MAX_REGISTER_VIRTUAL_SIZE # 16 gdbarch_dump: REGISTER_VIRTUAL_TYPE(reg_nr) # (((reg_nr) == 8 || (reg_nr) == 5 || (reg_nr) == 4) ? lookup_pointer_type (builtin_type_void) : (16 <= (reg_nr) && (reg_nr) <= 23) ? builtin_type_long_double : (32 <= (reg_nr) && (reg_nr) <= 39) ? builtin_type_v4sf : builtin_type_int) gdbarch_dump: REGISTER_SIM_REGNO(reg_nr) # (default_register_sim_regno (reg_nr)) gdbarch_dump: USE_GENERIC_DUMMY_FRAMES # 0 gdbarch_dump: CALL_DUMMY_LOCATION # 1 gdbarch_dump: CALL_DUMMY_ADDRESS() # (internal_error ("CALL_DUMMY_ADDRESS"), 0) gdbarch_dump: CALL_DUMMY_START_OFFSET # 0 gdbarch_dump: CALL_DUMMY_BREAKPOINT_OFFSET # 5 gdbarch_dump: CALL_DUMMY_BREAKPOINT_OFFSET_P # (1) gdbarch_dump: CALL_DUMMY_LENGTH # 8 gdbarch_dump: PC_IN_CALL_DUMMY(pc, sp, frame_address) # pc_in_call_dummy_on_stack (pc, sp, frame_address) gdbarch_dump: CALL_DUMMY_P # 1 gdbarch_dump: CALL_DUMMY_WORDS # (legacy_call_dummy_words) gdbarch_dump: SIZEOF_CALL_DUMMY_WORDS # (legacy_sizeof_call_dummy_words) gdbarch_dump: CALL_DUMMY_STACK_ADJUST_P # (0) gdbarch_dump: CALL_DUMMY_STACK_ADJUST # (internal_error ("CALL_DUMMY_STACK_ADJUST"), 0) gdbarch_dump: COERCE_FLOAT_TO_DOUBLE(formal, actual) # (default_coerce_float_to_double (formal, actual)) gdbarch_dump: REGISTER_CONVERTIBLE(nr) # ((16 <= (nr) && (nr) <= 23)) gdbarch_dump: POINTER_TO_ADDRESS(type, buf) # (unsigned_pointer_to_address (type, buf)) gdbarch_dump: RETURN_VALUE_ON_STACK(type) # (generic_return_value_on_stack_not (type)) gdbarch_dump: D10V_MAKE_DADDR(x) # (internal_error ("D10V_MAKE_DADDR"), 0) gdbarch_dump: D10V_MAKE_IADDR(x) # (internal_error ("D10V_MAKE_IADDR"), 0) gdbarch_dump: D10V_DADDR_P(x) # (internal_error ("D10V_DADDR_P"), 0) gdbarch_dump: D10V_IADDR_P(x) # (internal_error ("D10V_IADDR_P"), 0) gdbarch_dump: D10V_CONVERT_DADDR_TO_RAW(x) # (internal_error ("D10V_CONVERT_DADDR_TO_RAW"), 0) gdbarch_dump: D10V_CONVERT_IADDR_TO_RAW(x) # (internal_error ("D10V_CONVERT_IADDR_TO_RAW"), 0) gdbarch_dump: EXTRACT_STRUCT_VALUE_ADDRESS(regbuf) # (*(int *)(regbuf)) gdbarch_dump: SKIP_PROLOGUE(ip) # (i386_skip_prologue (ip)) gdbarch_dump: PROLOGUE_FRAMELESS_P(ip) # (generic_prologue_frameless_p (ip)) gdbarch_dump: INNER_THAN(lhs, rhs) # ((lhs) < ( rhs)) gdbarch_dump: BREAKPOINT_FROM_PC(pcptr, lenptr) # (legacy_breakpoint_from_pc (pcptr, lenptr)) gdbarch_dump: MEMORY_INSERT_BREAKPOINT(addr, contents_cache) # (default_memory_insert_breakpoint (addr, contents_cache)) gdbarch_dump: MEMORY_REMOVE_BREAKPOINT(addr, contents_cache) # (default_memory_remove_breakpoint (addr, contents_cache)) gdbarch_dump: DECR_PC_AFTER_BREAK # 1 gdbarch_dump: FUNCTION_START_OFFSET # 0 gdbarch_dump: FRAME_ARGS_SKIP # 8 gdbarch_dump: FRAMELESS_FUNCTION_INVOCATION(fi) # (((fi)->signal_handler_caller) ? 0 : frameless_look_for_prologue(fi)) gdbarch_dump: FRAME_CHAIN(frame) # ((frame)->signal_handler_caller ? (frame)->frame : (((frame)->next != ((void *)0) && (frame)->next->signal_handler_caller && frameless_look_for_prologue (frame)) ? (frame)->frame : (!inside_entry_file ((frame)->pc) ? read_memory_integer ((frame)->frame, 4) : 0))) gdbarch_dump: FRAME_CHAIN_VALID(chain, thisframe) # file_frame_chain_valid (chain, thisframe) gdbarch_dump: FRAME_SAVED_PC(fi) # ((fi)->signal_handler_caller ? i386_linux_sigtramp_saved_pc (fi) : (((fi)->next != ((void *)0) && (fi)->next->signal_handler_caller && frameless_look_for_prologue (fi)) ? read_memory_integer (i386_linux_sigtramp_saved_sp ((fi)->next), 4) : read_memory_integer ((fi)->frame + 4, 4))) gdbarch_dump: FRAME_ARGS_ADDRESS(fi) # ((fi)->frame) gdbarch_dump: FRAME_LOCALS_ADDRESS(fi) # ((fi)->frame) gdbarch_dump: SAVED_PC_AFTER_CALL(frame) # i386_linux_saved_pc_after_call (frame) gdbarch_dump: FRAME_NUM_ARGS(frame) # (i386_frame_num_args(frame)) gdbarch_dump: STACK_ALIGN(sp) # (internal_error ("STACK_ALIGN"), 0) gdbarch_dump: EXTRA_STACK_ALIGNMENT_NEEDED # (1) gdbarch_dump: REG_STRUCT_HAS_ADDR(gcc_p, type) # (internal_error ("REG_STRUCT_HAS_ADDR"), 0) gdbarch_dump: TARGET_FLOAT_FORMAT # (default_float_format (current_gdbarch)) gdbarch_dump: TARGET_DOUBLE_FORMAT # (default_double_format (current_gdbarch)) gdbarch_dump: TARGET_LONG_DOUBLE_FORMAT # &floatformat_i387_ext gdbarch_dump: CONVERT_FROM_FUNC_PTR_ADDR(addr) # (default_convert_from_func_ptr_addr (addr)) gdbarch_dump: TARGET_ARCHITECTURE = i386 gdbarch_dump: TARGET_BYTE_ORDER = 1234 gdbarch_dump: TARGET_SHORT_BIT = 16 gdbarch_dump: TARGET_INT_BIT = 32 gdbarch_dump: TARGET_LONG_BIT = 32 gdbarch_dump: TARGET_LONG_LONG_BIT = 64 gdbarch_dump: TARGET_FLOAT_BIT = 32 gdbarch_dump: TARGET_DOUBLE_BIT = 64 gdbarch_dump: TARGET_LONG_DOUBLE_BIT = 96 gdbarch_dump: TARGET_PTR_BIT = 32 gdbarch_dump: TARGET_ADDR_BIT = 32 gdbarch_dump: TARGET_BFD_VMA_BIT = 32 gdbarch_dump: IEEE_FLOAT = 1 gdbarch_dump: NUM_REGS = 32 gdbarch_dump: NUM_PSEUDO_REGS = 0 gdbarch_dump: SP_REGNUM = 4 gdbarch_dump: FP_REGNUM = 5 gdbarch_dump: PC_REGNUM = 8 gdbarch_dump: FP0_REGNUM = 16 gdbarch_dump: NPC_REGNUM = -1 gdbarch_dump: NNPC_REGNUM = -1 gdbarch_dump: REGISTER_SIZE = 4 gdbarch_dump: REGISTER_BYTES = 176 gdbarch_dump: MAX_REGISTER_RAW_SIZE = 16 gdbarch_dump: MAX_REGISTER_VIRTUAL_SIZE = 16 gdbarch_dump: USE_GENERIC_DUMMY_FRAMES = 0 gdbarch_dump: CALL_DUMMY_LOCATION = 1 gdbarch_dump: CALL_DUMMY_START_OFFSET = 0x00000000 gdbarch_dump: CALL_DUMMY_BREAKPOINT_OFFSET = 0x00000005 gdbarch_dump: CALL_DUMMY_BREAKPOINT_OFFSET_P = 1 gdbarch_dump: CALL_DUMMY_P = 1 gdbarch_dump: CALL_DUMMY_WORDS = 0x0830eb00 gdbarch_dump: SIZEOF_CALL_DUMMY_WORDS = 0x00000010 gdbarch_dump: CALL_DUMMY_STACK_ADJUST_P = 0x00000000 gdbarch_dump: DECR_PC_AFTER_BREAK = 1 gdbarch_dump: FUNCTION_START_OFFSET = 0 gdbarch_dump: FRAME_ARGS_SKIP = 8 gdbarch_dump: EXTRA_STACK_ALIGNMENT_NEEDED = 1 gdbarch_dump: TARGET_FLOAT_FORMAT = 137249408 gdbarch_dump: TARGET_DOUBLE_FORMAT = 137249600 gdbarch_dump: TARGET_LONG_DOUBLE_FORMAT = 137249760 (gdb) PASS: gdb.base/sizeof.exp: maint print arch testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/sizeof.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/so-impl-ld.exp ... testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/so-impl-ld.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/so-indr-cl.exp ... testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/so-indr-cl.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/solib.exp ... testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/solib.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/step-test.exp ... Executing on build: rm -f /cygnus/build/native/gdb/testsuite/gdb.base/step-test (timeout = 300) spawn rm -f /cygnus/build/native/gdb/testsuite/gdb.base/step-test Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/step-test.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/step-test (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/step-test.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/step-test spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/step-test Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/step-test...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/step-test (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x8048473: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/step-test.c, line 28. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/step-test Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/step-test.c:28 28 w = 0; (gdb) next 29 x = 1; (gdb) PASS: gdb.base/step-test.exp: next 1 step 30 y = 2; (gdb) PASS: gdb.base/step-test.exp: step 1 next 2 32 w = w + 2; (gdb) PASS: gdb.base/step-test.exp: next 2 step 3 35 z = z + 5; (gdb) PASS: gdb.base/step-test.exp: step 3 next 38 callee(); /* OVER */ (gdb) PASS: gdb.base/step-test.exp: next 3 next 41 callee(); /* INTO */ (gdb) PASS: gdb.base/step-test.exp: next over step callee () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/step-test.c:9 9 myglob++; return 0; (gdb) PASS: gdb.base/step-test.exp: step into finish Run till exit from #0 callee () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/step-test.c:9 main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/step-test.c:44 44 a[5] = a[3] - a[4]; Value returned is $1 = 0 (gdb) PASS: gdb.base/step-test.exp: step out stepi 0x80484ac 44 a[5] = a[3] - a[4]; (gdb) stepi 0x80484af 44 a[5] = a[3] - a[4]; (gdb) stepi 0x80484b1 44 a[5] = a[3] - a[4]; (gdb) stepi 0x80484b3 44 a[5] = a[3] - a[4]; (gdb) stepi 45 callee(); /* STEPI */ (gdb) PASS: gdb.base/step-test.exp: stepi to next line stepi callee () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/step-test.c:8 8 int callee() { (gdb) PASS: gdb.base/step-test.exp: stepi into function stepi 0x8048441 8 int callee() { (gdb) stepi callee () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/step-test.c:9 9 myglob++; return 0; (gdb) PASS: gdb.base/step-test.exp: stepi into function's first source line finish Run till exit from #0 callee () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/step-test.c:9 main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/step-test.c:48 48 callee(); /* NEXTI */ Value returned is $2 = 0 (gdb) PASS: gdb.base/step-test.exp: stepi: finish call nexti 50 y = w + z; (gdb) PASS: gdb.base/step-test.exp: nexti over function list /cygnus/src/uberbaum/gdb/testsuite/gdb.base/step-test.c:1,1 1 #include (gdb) search step-test.exp: large struct by value 56 large_struct_by_value (r); /* step-test.exp: large struct by value */ (gdb) break 56 Breakpoint 2 at 0x80484ef: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/step-test.c, line 56. (gdb) PASS: gdb.base/step-test.exp: set breakpoint at call to large_struct_by_value continue Continuing. Breakpoint 2, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/step-test.c:56 56 large_struct_by_value (r); /* step-test.exp: large struct by value */ (gdb) PASS: gdb.base/step-test.exp: run to pass large struct step large_struct_by_value (r={rather_large = {0 , 10, 0 }}) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/step-test.c:20 20 myglob += r.rather_large[42]; /* step-test.exp: arrive here 1 */ (gdb) PASS: gdb.base/step-test.exp: large struct by value continue Continuing. Program exited normally. (gdb) PASS: gdb.base/step-test.exp: continue until exit at step-test.exp testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/step-test.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/structs.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/structs.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/structs (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/structs.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/structs Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/structs.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/structs.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/structs Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/structs...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/structs (gdb) set print sevenbit-strings (gdb) PASS: gdb.base/structs.exp: set print sevenbit-strings set print address off (gdb) PASS: gdb.base/structs.exp: set print address off set width 0 (gdb) PASS: gdb.base/structs.exp: set width 0 delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/structs.c, line 231. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/structs Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/structs.c:231 231 L1 = fun1(); (gdb) p fun1() $1 = {a = 49 '1'} (gdb) PASS: gdb.base/structs.exp: p fun1() p fun2() $2 = {a = 97 'a', b = 98 'b'} (gdb) PASS: gdb.base/structs.exp: p fun2() p fun3() $3 = {a = 65 'A', b = 66 'B', c = 67 'C'} (gdb) PASS: gdb.base/structs.exp: p fun3() p fun4() $4 = {a = 49 '1', b = 50 '2', c = 51 '3', d = 52 '4'} (gdb) PASS: gdb.base/structs.exp: p fun4() p fun5() $5 = {a = 97 'a', b = 98 'b', c = 99 'c', d = 100 'd', e = 101 'e'} (gdb) PASS: gdb.base/structs.exp: p fun5() p fun6() $6 = {a = 65 'A', b = 66 'B', c = 67 'C', d = 68 'D', e = 69 'E', f = 70 'F'} (gdb) PASS: gdb.base/structs.exp: p fun6() p fun7() $7 = {a = 49 '1', b = 50 '2', c = 51 '3', d = 52 '4', e = 53 '5', f = 54 '6', g = 55 '7'} (gdb) PASS: gdb.base/structs.exp: p fun7() p fun8() $8 = {a = 49 '1', b = 50 '2', c = 51 '3', d = 52 '4', e = 53 '5', f = 54 '6', g = 55 '7', h = 56 '8'} (gdb) PASS: gdb.base/structs.exp: p fun8() p fun9() $9 = {a = 97 'a', b = 98 'b', c = 99 'c', d = 100 'd', e = 101 'e', f = 102 'f', g = 103 'g', h = 104 'h', i = 105 'i'} (gdb) PASS: gdb.base/structs.exp: p fun9() p fun10() $10 = {a = 65 'A', b = 66 'B', c = 67 'C', d = 68 'D', e = 69 'E', f = 70 'F', g = 71 'G', h = 72 'H', i = 73 'I', j = 74 'J'} (gdb) PASS: gdb.base/structs.exp: p fun10() p fun11() $11 = {a = 49 '1', b = 50 '2', c = 51 '3', d = 52 '4', e = 53 '5', f = 54 '6', g = 55 '7', h = 56 '8', i = 57 '9', j = 65 'A', k = 66 'B'} (gdb) PASS: gdb.base/structs.exp: p fun11() p fun12() $12 = {a = 65 'A', b = 66 'B', c = 67 'C', d = 68 'D', e = 69 'E', f = 70 'F', g = 71 'G', h = 72 'H', i = 73 'I', j = 74 'J', k = 75 'K', l = 76 'L'} (gdb) PASS: gdb.base/structs.exp: p fun12() p fun16() $13 = {a = 97 'a', b = 98 'b', c = 99 'c', d = 100 'd', e = 101 'e', f = 102 'f', g = 103 'g', h = 104 'h', i = 105 'i', j = 106 'j', k = 107 'k', l = 108 'l', m = 109 'm', n = 110 'n', o = 111 'o', p = 112 'p'} (gdb) PASS: gdb.base/structs.exp: p fun16() p Fun1(foo1) $14 = void (gdb) PASS: gdb.base/structs.exp: p Fun1(foo1) p Fun2(foo2) $15 = void (gdb) PASS: gdb.base/structs.exp: p Fun2(foo2) p Fun3(foo3) $16 = void (gdb) PASS: gdb.base/structs.exp: p Fun3(foo3) p Fun4(foo4) $17 = void (gdb) PASS: gdb.base/structs.exp: p Fun4(foo4) p Fun5(foo5) $18 = void (gdb) PASS: gdb.base/structs.exp: p Fun5(foo5) p Fun6(foo6) $19 = void (gdb) PASS: gdb.base/structs.exp: p Fun6(foo6) p Fun7(foo7) $20 = void (gdb) PASS: gdb.base/structs.exp: p Fun7(foo7) p Fun8(foo8) $21 = void (gdb) PASS: gdb.base/structs.exp: p Fun8(foo8) p Fun9(foo9) $22 = void (gdb) PASS: gdb.base/structs.exp: p Fun9(foo9) p Fun10(foo10) $23 = void (gdb) PASS: gdb.base/structs.exp: p Fun10(foo10) p Fun11(foo11) $24 = void (gdb) PASS: gdb.base/structs.exp: p Fun11(foo11) p Fun12(foo12) $25 = void (gdb) PASS: gdb.base/structs.exp: p Fun12(foo12) p Fun16(foo16) $26 = void (gdb) PASS: gdb.base/structs.exp: p Fun16(foo16) p L1 $27 = {a = 49 '1'} (gdb) PASS: gdb.base/structs.exp: p L1 p L2 $28 = {a = 97 'a', b = 98 'b'} (gdb) PASS: gdb.base/structs.exp: p L2 p L3 $29 = {a = 65 'A', b = 66 'B', c = 67 'C'} (gdb) PASS: gdb.base/structs.exp: p L3 p L4 $30 = {a = 49 '1', b = 50 '2', c = 51 '3', d = 52 '4'} (gdb) PASS: gdb.base/structs.exp: p L4 p L5 $31 = {a = 97 'a', b = 98 'b', c = 99 'c', d = 100 'd', e = 101 'e'} (gdb) PASS: gdb.base/structs.exp: p L5 p L6 $32 = {a = 65 'A', b = 66 'B', c = 67 'C', d = 68 'D', e = 69 'E', f = 70 'F'} (gdb) PASS: gdb.base/structs.exp: p L6 p L7 $33 = {a = 49 '1', b = 50 '2', c = 51 '3', d = 52 '4', e = 53 '5', f = 54 '6', g = 55 '7'} (gdb) PASS: gdb.base/structs.exp: p L7 p L8 $34 = {a = 49 '1', b = 50 '2', c = 51 '3', d = 52 '4', e = 53 '5', f = 54 '6', g = 55 '7', h = 56 '8'} (gdb) PASS: gdb.base/structs.exp: p L8 p L9 $35 = {a = 97 'a', b = 98 'b', c = 99 'c', d = 100 'd', e = 101 'e', f = 102 'f', g = 103 'g', h = 104 'h', i = 105 'i'} (gdb) PASS: gdb.base/structs.exp: p L9 p L10 $36 = {a = 65 'A', b = 66 'B', c = 67 'C', d = 68 'D', e = 69 'E', f = 70 'F', g = 71 'G', h = 72 'H', i = 73 'I', j = 74 'J'} (gdb) PASS: gdb.base/structs.exp: p L10 p L11 $37 = {a = 49 '1', b = 50 '2', c = 51 '3', d = 52 '4', e = 53 '5', f = 54 '6', g = 55 '7', h = 56 '8', i = 57 '9', j = 65 'A', k = 66 'B'} (gdb) PASS: gdb.base/structs.exp: p L11 p L12 $38 = {a = 65 'A', b = 66 'B', c = 67 'C', d = 68 'D', e = 69 'E', f = 70 'F', g = 71 'G', h = 72 'H', i = 73 'I', j = 74 'J', k = 75 'K', l = 76 'L'} (gdb) PASS: gdb.base/structs.exp: p L12 p L16 $39 = {a = 97 'a', b = 98 'b', c = 99 'c', d = 100 'd', e = 101 'e', f = 102 'f', g = 103 'g', h = 104 'h', i = 105 'i', j = 106 'j', k = 107 'k', l = 108 'l', m = 109 'm', n = 110 'n', o = 111 'o', p = 112 'p'} (gdb) PASS: gdb.base/structs.exp: p L16 testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/structs.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/structs2.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/structs2.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/structs2 (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/structs2.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/structs2 spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/structs2 Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/structs2...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/structs2 (gdb) set width 0 (gdb) PASS: gdb.base/structs2.exp: set width 0 delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x80483e6: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/structs2.c, line 18. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/structs2 Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/structs2.c:18 18 bkpt = 0; (gdb) f #0 main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/structs2.c:18 18 bkpt = 0; (gdb) PASS: gdb.base/structs2.exp: structs2 sanity check (PRMS 13536) break param_reg Breakpoint 2 at 0x8048457: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/structs2.c, line 33. (gdb) PASS: gdb.base/structs2.exp: structs2 breakpoint set (PRMS 13536) continue Continuing. Breakpoint 2, param_reg (pr_char=120 'x', pr_uchar=130 '\202', pr_short=32000, pr_ushort=33000) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/structs2.c:33 33 bkpt = 1; (gdb) PASS: gdb.base/structs2.exp: structs2 continue1 (PRMS 13536) continue Continuing. Breakpoint 2, param_reg (pr_char=-126 '\202', pr_uchar=120 'x', pr_short=-32536, pr_ushort=32000) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/structs2.c:33 33 bkpt = 1; (gdb) PASS: gdb.base/structs2.exp: structs2 continue2 (PRMS 13536) testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/structs2.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/term.exp ... spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/run (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/run spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/run Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/run...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/run (gdb) set print sevenbit-strings (gdb) PASS: gdb.base/term.exp: test set print sevenbit-strings set print address off (gdb) PASS: gdb.base/term.exp: test set print address off set width 0 (gdb) PASS: gdb.base/term.exp: test set width 0 info terminal No saved terminal information. (gdb) PASS: gdb.base/term.exp: test info terminal run 5 Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/run 5 120 Program exited normally. (gdb) info terminal No saved terminal information. (gdb) PASS: gdb.base/term.exp: test info terminal #2 break main Breakpoint 1: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c, line 59. (gdb) run 5 Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/run 5 Breakpoint 1, main (argc=2, argv=, envp=) at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/run.c:59 59 if (argc != 2) { (gdb) info terminal Inferior's terminal status (currently saved by GDB): File descriptor flags = O_RDWR Process group = 2723 c_iflag = 0x2526, c_oflag = 0x5, c_cflag = 0xbf, c_lflag = 0x8a3b c_cc: 0x3 0x1c 0x7f 0x15 0x4 0x0 0x1 0x0 0x11 0x13 0x1a 0x0 0x12 0xf 0x17 0x16 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 (gdb) PASS: gdb.base/term.exp: info terminal at breakpoint testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/term.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/twice.exp ... Executing on host: gcc /cygnus/build/native/gdb/testsuite/gdb.base/twice-tmp.c -I. -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/twice-tmp (timeout = 300) spawn gcc /cygnus/build/native/gdb/testsuite/gdb.base/twice-tmp.c -I. -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/twice-tmp spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/twice-tmp Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/twice-tmp...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/twice-tmp (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x804842e: file twice.c, line 18. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/twice-tmp Breakpoint 1, main () at twice.c:18 18 y = nothing () ; (gdb) step nothing () at twice.c:5 5 int x = 3 ; (gdb) PASS: gdb.base/twice.exp: step Executing on build: rm -f twice.c (timeout = 300) spawn rm -f twice.c testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/twice.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/varargs.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/varargs.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/varargs.ci Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/varargs.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/varargs (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/varargs.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/varargs spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/varargs Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/varargs...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/varargs (gdb) set print sevenbit-strings (gdb) set print address off (gdb) set width 0 (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/varargs.c, line 27. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/varargs Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/varargs.c:27 27 c = -1; (gdb) print find_max1(5,1,2,3,4,5) find_max(5, 1, 2, 3, 4, 5) returns 5 $1 = 5 (gdb) PASS: gdb.base/varargs.exp: print find_max1(5,1,2,3,4,5) print find_max1(1,3) find_max(1, 3) returns 3 $2 = 3 (gdb) PASS: gdb.base/varargs.exp: print find_max1(1,3) print find_max1(10,1,2,3,4,5,6,7,8,29,0) find_max(10, 1, 2, 3, 4, 5, 6, 7, 8, 29, 0) returns 29 $3 = 29 (gdb) PASS: gdb.base/varargs.exp: print find_max1(10,1,2,3,4,5,6,7,8,29,0) print find_max2(3,1,2,3) find_max(3, 1, 2, 3) returns 3 $4 = 3 (gdb) PASS: gdb.base/varargs.exp: print find_max2(3,1,2,3) print find_max_double(5,1.0,17.0,2.0,3.0,4.0) find_max(0.000000, 3.062714, 17.000000, 2.000000, 3.000000, 4.000000) returns 17.000000 $5 = 17 (gdb) PASS: gdb.base/varargs.exp: print find_max_double(5,1.0,17.0,2.0,3.0,4.0) testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/varargs.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/volatile.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/constvars.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/constvars (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/constvars.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/constvars Executing on build: rm -f /cygnus/build/native/gdb/testsuite/gdb.base/constvars.ci (timeout = 300) spawn rm -f /cygnus/build/native/gdb/testsuite/gdb.base/constvars.ci Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/constvars.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/constvars.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/constvars Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/constvars...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/constvars (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x8048431: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/constvars.c, line 24. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/constvars Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/constvars.c:24 24 char lave = 'B'; (gdb) break marker1 Breakpoint 2 at 0x80483e3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/constvars.c, line 3. (gdb) cont Continuing. Breakpoint 2, marker1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/constvars.c:3 3 } (gdb) up #1 0x8048772 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/constvars.c:179 179 marker1 (); (gdb) ptype vox type = char (gdb) XFAIL: gdb.base/volatile.exp: ptype vox ptype victuals type = unsigned char (gdb) XFAIL: gdb.base/volatile.exp: ptype victuals ptype vixen type = short int (gdb) XFAIL: gdb.base/volatile.exp: ptype vixen ptype vitriol type = short unsigned int (gdb) XFAIL: gdb.base/volatile.exp: ptype vitriol ptype vellum type = long int (gdb) XFAIL: gdb.base/volatile.exp: ptype vellum ptype valve type = long unsigned int (gdb) XFAIL: gdb.base/volatile.exp: ptype valve ptype vacuity type = float (gdb) XFAIL: gdb.base/volatile.exp: ptype vacuity ptype vertigo type = double (gdb) XFAIL: gdb.base/volatile.exp: ptype vertigo ptype vampire type = char * (gdb) XFAIL: gdb.base/volatile.exp: ptype vampire ptype viper type = unsigned char * (gdb) XFAIL: gdb.base/volatile.exp: ptype viper ptype vigour type = short int * (gdb) XFAIL: gdb.base/volatile.exp: ptype vigour ptype vapour type = short unsigned int * (gdb) XFAIL: gdb.base/volatile.exp: ptype vapour ptype ventricle type = long int * (gdb) XFAIL: gdb.base/volatile.exp: ptype ventricle ptype vigintillion type = long unsigned int * (gdb) XFAIL: gdb.base/volatile.exp: ptype vigintillion ptype vocation type = float * (gdb) XFAIL: gdb.base/volatile.exp: ptype vocation ptype veracity type = double * (gdb) XFAIL: gdb.base/volatile.exp: ptype veracity ptype vapidity type = char * (gdb) XFAIL: gdb.base/volatile.exp: ptype vapidity ptype velocity type = unsigned char * (gdb) XFAIL: gdb.base/volatile.exp: ptype velocity ptype veneer type = short int * (gdb) XFAIL: gdb.base/volatile.exp: ptype veneer ptype video type = short unsigned int * (gdb) XFAIL: gdb.base/volatile.exp: ptype video ptype vacuum type = long int * (gdb) XFAIL: gdb.base/volatile.exp: ptype vacuum ptype veniality type = long unsigned int * (gdb) XFAIL: gdb.base/volatile.exp: ptype veniality ptype vitality type = float * (gdb) XFAIL: gdb.base/volatile.exp: ptype vitality ptype voracity type = double * (gdb) XFAIL: gdb.base/volatile.exp: ptype voracity ptype victor type = char (gdb) XFAIL: gdb.base/volatile.exp: ptype victor ptype vicar type = unsigned char (gdb) XFAIL: gdb.base/volatile.exp: ptype vicar ptype victory type = char * (gdb) XFAIL: gdb.base/volatile.exp: ptype victory ptype vicarage type = unsigned char * (gdb) XFAIL: gdb.base/volatile.exp: ptype vicarage ptype vein type = char * (gdb) XFAIL: gdb.base/volatile.exp: ptype vein ptype vogue type = unsigned char * (gdb) XFAIL: gdb.base/volatile.exp: ptype vogue ptype cavern type = char * (gdb) XFAIL: gdb.base/volatile.exp: ptype cavern ptype coverlet type = unsigned char * (gdb) XFAIL: gdb.base/volatile.exp: ptype coverlet ptype caveat type = char * (gdb) XFAIL: gdb.base/volatile.exp: ptype caveat ptype covenant type = unsigned char * (gdb) XFAIL: gdb.base/volatile.exp: ptype covenant ptype vizier type = char * (gdb) XFAIL: gdb.base/volatile.exp: ptype vizier ptype vanadium type = unsigned char * (gdb) XFAIL: gdb.base/volatile.exp: ptype vanadium ptype vane type = char * (gdb) XFAIL: gdb.base/volatile.exp: ptype vane ptype veldt type = unsigned char * (gdb) XFAIL: gdb.base/volatile.exp: ptype veldt ptype cove type = char * (gdb) XFAIL: gdb.base/volatile.exp: ptype cove ptype cavity type = unsigned char * (gdb) XFAIL: gdb.base/volatile.exp: ptype cavity ptype vagus type = char * (gdb) XFAIL: gdb.base/volatile.exp: ptype vagus ptype vagrancy type = unsigned char * (gdb) XFAIL: gdb.base/volatile.exp: ptype vagrancy ptype vagary type = char * (gdb) XFAIL: gdb.base/volatile.exp: ptype vagary ptype vendor type = unsigned char * (gdb) XFAIL: gdb.base/volatile.exp: ptype vendor ptype qux2 type = int (int, int, int, long int *, float *, signed char *) (gdb) XFAIL: gdb.base/volatile.exp: ptype qux2 testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/volatile.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/watchpoint.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/watchpoint.ci Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/watchpoint (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/watchpoint spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/watchpoint Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/watchpoint...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/watchpoint (gdb) break marker1 Breakpoint 1 at 0x8048443: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c, line 44. (gdb) PASS: gdb.base/watchpoint.exp: set breakpoint at marker1 break marker2 Breakpoint 2 at 0x804844b: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c, line 48. (gdb) PASS: gdb.base/watchpoint.exp: set breakpoint at marker2 info break Num Type Disp Enb Address What 1 breakpoint keep y 0x08048443 in marker1 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:44 2 breakpoint keep y 0x0804844b in marker2 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:48 (gdb) PASS: gdb.base/watchpoint.exp: info break in watchpoint.exp watch ival3 Hardware watchpoint 3: ival3 (gdb) PASS: gdb.base/watchpoint.exp: set watchpoint on ival3 info watch Num Type Disp Enb Address What 1 breakpoint keep y 0x08048443 in marker1 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:44 2 breakpoint keep y 0x0804844b in marker2 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:48 3 hw watchpoint keep y ival3 (gdb) PASS: gdb.base/watchpoint.exp: watchpoint found in watchpoint/breakpoint table disable 3 (gdb) PASS: gdb.base/watchpoint.exp: disable watchpoint disable 3 (gdb) PASS: gdb.base/watchpoint.exp: disable watchpoint in test_simple_watchpoint run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/watchpoint Breakpoint 1, marker1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:44 44 } (gdb) PASS: gdb.base/watchpoint.exp: run to marker1 in test_simple_watchpoint enable 3 (gdb) PASS: gdb.base/watchpoint.exp: enable watchpoint break func1 Breakpoint 4 at 0x80484b6: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c, line 97. (gdb) PASS: gdb.base/watchpoint.exp: break func1 set $func1_breakpoint_number = $bpnum (gdb) PASS: gdb.base/watchpoint.exp: set $func1_breakpoint_number = $bpnum continue Continuing. Breakpoint 4, func1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:97 97 func2 (); (gdb) PASS: gdb.base/watchpoint.exp: continue to breakpoint at func1 cont Continuing. Hardware watchpoint 3: ival3 Old value = -1 New value = 0 0x8048534 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:115 115 ival3 = count; ival4 = count; (gdb) PASS: gdb.base/watchpoint.exp: watchpoint hit, first time info break Num Type Disp Enb Address What 1 breakpoint keep y 0x08048443 in marker1 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:44 breakpoint already hit 1 time 2 breakpoint keep y 0x0804844b in marker2 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:48 3 hw watchpoint keep y ival3 breakpoint already hit 1 time 4 breakpoint keep y 0x080484b6 in func1 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:97 breakpoint already hit 1 time (gdb) PASS: gdb.base/watchpoint.exp: Watchpoint hit count is 1 delete $func1_breakpoint_number (gdb) PASS: gdb.base/watchpoint.exp: delete $func1_breakpoint_number cont Continuing. Hardware watchpoint 3: ival3 Old value = 0 New value = 1 0x8048534 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:115 115 ival3 = count; ival4 = count; (gdb) PASS: gdb.base/watchpoint.exp: watchpoint hit, second time info break Num Type Disp Enb Address What 1 breakpoint keep y 0x08048443 in marker1 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:44 breakpoint already hit 1 time 2 breakpoint keep y 0x0804844b in marker2 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:48 3 hw watchpoint keep y ival3 breakpoint already hit 2 times (gdb) PASS: gdb.base/watchpoint.exp: Watchpoint hit count is 2 cont Continuing. Hardware watchpoint 3: ival3 Old value = 1 New value = 2 0x8048534 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:115 115 ival3 = count; ival4 = count; (gdb) PASS: gdb.base/watchpoint.exp: watchpoint hit, third time info break Num Type Disp Enb Address What 1 breakpoint keep y 0x08048443 in marker1 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:44 breakpoint already hit 1 time 2 breakpoint keep y 0x0804844b in marker2 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:48 3 hw watchpoint keep y ival3 breakpoint already hit 3 times (gdb) PASS: gdb.base/watchpoint.exp: Watchpoint hit count is 3 cont Continuing. Hardware watchpoint 3: ival3 Old value = 2 New value = 3 0x8048534 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:115 115 ival3 = count; ival4 = count; (gdb) PASS: gdb.base/watchpoint.exp: watchpoint hit, fourth time info break Num Type Disp Enb Address What 1 breakpoint keep y 0x08048443 in marker1 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:44 breakpoint already hit 1 time 2 breakpoint keep y 0x0804844b in marker2 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:48 3 hw watchpoint keep y ival3 breakpoint already hit 4 times (gdb) PASS: gdb.base/watchpoint.exp: Watchpoint hit count is 4 cont Continuing. Hardware watchpoint 3: ival3 Old value = 3 New value = 4 0x8048564 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:119 119 ival3 = count; ival4 = count; (gdb) PASS: gdb.base/watchpoint.exp: watchpoint hit, fifth time info break Num Type Disp Enb Address What 1 breakpoint keep y 0x08048443 in marker1 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:44 breakpoint already hit 1 time 2 breakpoint keep y 0x0804844b in marker2 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:48 3 hw watchpoint keep y ival3 breakpoint already hit 5 times (gdb) PASS: gdb.base/watchpoint.exp: Watchpoint hit count is 5 cont Continuing. Breakpoint 2, marker2 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:48 48 } (gdb) PASS: gdb.base/watchpoint.exp: continue to marker2 disable 3 (gdb) PASS: gdb.base/watchpoint.exp: watchpoint disabled continue Continuing. Program exited normally. (gdb) PASS: gdb.base/watchpoint.exp: continue until exit at continue to exit in test_simple_watchpoint info watch Num Type Disp Enb Address What 1 breakpoint keep y 0x08048443 in marker1 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:44 breakpoint already hit 1 time 2 breakpoint keep y 0x0804844b in marker2 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:48 breakpoint already hit 1 time 3 hw watchpoint keep n ival3 breakpoint already hit 5 times (gdb) PASS: gdb.base/watchpoint.exp: watchpoints found in watchpoint/breakpoint table disable 3 (gdb) PASS: gdb.base/watchpoint.exp: disable watchpoint in test_disabling_watchpoints run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/watchpoint Breakpoint 1, marker1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:44 44 } (gdb) PASS: gdb.base/watchpoint.exp: run to marker1 in test_disabling_watchpoints enable 3 (gdb) PASS: gdb.base/watchpoint.exp: watchpoint enabled cont Continuing. Hardware watchpoint 3: ival3 Old value = -1 New value = 0 0x8048534 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:115 115 ival3 = count; ival4 = count; (gdb) PASS: gdb.base/watchpoint.exp: watchpoint hit in test_disabling_watchpoints, first time cont Continuing. Hardware watchpoint 3: ival3 Old value = 0 New value = 1 0x8048534 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:115 115 ival3 = count; ival4 = count; (gdb) PASS: gdb.base/watchpoint.exp: watchpoint hit in test_disabling_watchpoints, second time disable 3 (gdb) PASS: gdb.base/watchpoint.exp: disable watchpoint #2 in test_disabling_watchpoints info watchpoints Num Type Disp Enb Address What 1 breakpoint keep y 0x08048443 in marker1 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:44 breakpoint already hit 1 time 2 breakpoint keep y 0x0804844b in marker2 at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:48 3 hw watchpoint keep n ival3 breakpoint already hit 2 times (gdb) PASS: gdb.base/watchpoint.exp: watchpoint disabled in table cont Continuing. Breakpoint 2, marker2 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:48 48 } (gdb) PASS: gdb.base/watchpoint.exp: disabled watchpoint skipped continue Continuing. Program exited normally. (gdb) PASS: gdb.base/watchpoint.exp: continue until exit at continue to exit in test_disabling_watchpoints delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break marker1 Breakpoint 5 at 0x8048443: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c, line 44. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/watchpoint Breakpoint 5, marker1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:44 44 } (gdb) watch ival2 Hardware watchpoint 6: ival2 (gdb) PASS: gdb.base/watchpoint.exp: watch ival2 break func2 if 0 Breakpoint 7 at 0x8048496: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c, line 81. (gdb) PASS: gdb.base/watchpoint.exp: break func2 if 0 p $func2_breakpoint_number = $bpnum $1 = 7 (gdb) PASS: gdb.base/watchpoint.exp: p $func2_breakpoint_number = $bpnum p func1 () $2 = 73 (gdb) PASS: gdb.base/watchpoint.exp: calling function with watchpoint enabled finish Run till exit from #0 marker1 () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:44 PASS: gdb.base/watchpoint.exp: finish from marker1 main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:112 112 func1 (); (gdb) PASS: gdb.base/watchpoint.exp: back at main from marker1 next 113 for (count = 0; count < 4; count++) { (gdb) PASS: gdb.base/watchpoint.exp: next to `for' in watchpoint.exp until 114 ival1 = count; (gdb) PASS: gdb.base/watchpoint.exp: until to ival1 assignment until 115 ival3 = count; ival4 = count; (gdb) PASS: gdb.base/watchpoint.exp: until to ival3 assignment until 113 for (count = 0; count < 4; count++) { (gdb) until 117 ival1 = count; /* Outside loop */ (gdb) PASS: gdb.base/watchpoint.exp: until out of loop step 118 ival2 = count; (gdb) PASS: gdb.base/watchpoint.exp: step to ival2 assignment delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 8 at 0x80484ce: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c, line 107. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/watchpoint Breakpoint 8, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:107 107 struct1.val = 1; (gdb) set can-use-hw-watchpoints 0 (gdb) PASS: gdb.base/watchpoint.exp: disable fast watches show can-use-hw-watchpoints Debugger's willingness to use watchpoint hardware is 0. (gdb) PASS: gdb.base/watchpoint.exp: show disable fast watches watch ival3 if count > 1 Watchpoint 9: ival3 (gdb) PASS: gdb.base/watchpoint.exp: set slow conditional watch continue Continuing. Watchpoint 9: ival3 Old value = 1 New value = 2 0x8048534 in main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.c:115 115 ival3 = count; ival4 = count; (gdb) PASS: gdb.base/watchpoint.exp: trigger slow conditional watch rwatch ival3 Expression cannot be implemented with read/access watchpoint. (gdb) PASS: gdb.base/watchpoint.exp: rwatch disallowed when can-set-hw-watchpoints cleared testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/watchpoint.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/whatis-exp.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/int-type (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c -w -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/int-type spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/int-type Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/int-type...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/int-type (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x80483e3: file /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c, line 17. (gdb) run Starting program: /cygnus/build/native/gdb/testsuite/gdb.base/int-type Breakpoint 1, main () at /cygnus/src/uberbaum/gdb/testsuite/gdb.base/int-type.c:17 17 x = 14; (gdb) set variable x=14 (gdb) PASS: gdb.base/whatis-exp.exp: set variable x=14 set variable y=2 (gdb) PASS: gdb.base/whatis-exp.exp: set variable y=2 set variable z=2 (gdb) PASS: gdb.base/whatis-exp.exp: set variable z=2 set variable w=3 (gdb) PASS: gdb.base/whatis-exp.exp: set variable w=3 print x $1 = 14 (gdb) PASS: gdb.base/whatis-exp.exp: print value of x print y $2 = 2 (gdb) PASS: gdb.base/whatis-exp.exp: print value of y print z $3 = 2 (gdb) PASS: gdb.base/whatis-exp.exp: print value of z print w $4 = 3 (gdb) PASS: gdb.base/whatis-exp.exp: print value of w whatis x+y type = long (gdb) PASS: gdb.base/whatis-exp.exp: whatis value of x+y whatis x-y type = long (gdb) PASS: gdb.base/whatis-exp.exp: whatis value of x-y whatis x*y type = long (gdb) PASS: gdb.base/whatis-exp.exp: whatis value of x*y whatis x/y type = int (gdb) PASS: gdb.base/whatis-exp.exp: whatis value of x/y whatis x%y type = int (gdb) PASS: gdb.base/whatis-exp.exp: whatis value of x%y whatis x=y type = int (gdb) PASS: gdb.base/whatis-exp.exp: whatis value of x=y whatis x+=2 type = int (gdb) PASS: gdb.base/whatis-exp.exp: whatis value of x+=2 whatis ++x type = int (gdb) PASS: gdb.base/whatis-exp.exp: whatis value of ++x whatis --x type = int (gdb) PASS: gdb.base/whatis-exp.exp: whatis value of --x whatis x++ type = int (gdb) PASS: gdb.base/whatis-exp.exp: whatis value of x++ whatis x-- type = int (gdb) PASS: gdb.base/whatis-exp.exp: whatis value of x-- testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/whatis-exp.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.base/whatis.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/whatis.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/whatis (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/gdb.base/whatis.c -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.base/whatis Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/whatis.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.c -E -o /cygnus/build/native/gdb/testsuite/gdb.base/whatis.ci spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /cygnus/src/uberbaum/gdb/testsuite/gdb.base Source directories searched: /cygnus/src/uberbaum/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /cygnus/build/native/gdb/testsuite/gdb.base/whatis Reading symbols from /cygnus/build/native/gdb/testsuite/gdb.base/whatis...done. (gdb) exec-file /cygnus/build/native/gdb/testsuite/gdb.base/whatis (gdb) whatis v_char type = char (gdb) PASS: gdb.base/whatis.exp: whatis char whatis v_signed_char type = signed char (gdb) PASS: gdb.base/whatis.exp: whatis signed char whatis v_unsigned_char type = unsigned char (gdb) PASS: gdb.base/whatis.exp: whatis unsigned char whatis v_short type = short int (gdb) PASS: gdb.base/whatis.exp: whatis short whatis v_signed_short type = short int (gdb) PASS: gdb.base/whatis.exp: whatis signed short whatis v_unsigned_short type = short unsigned int (gdb) PASS: gdb.base/whatis.exp: whatis unsigned short whatis v_int type = int (gdb) PASS: gdb.base/whatis.exp: whatis int whatis v_signed_int type = int (gdb) PASS: gdb.base/whatis.exp: whatis signed int whatis v_unsigned_int type = unsigned int (gdb) PASS: gdb.base/whatis.exp: whatis unsigned int whatis v_long type = long int (gdb) PASS: gdb.base/whatis.exp: whatis long whatis v_signed_long type = long int (gdb) PASS: gdb.base/whatis.exp: whatis signed long whatis v_unsigned_long type = long unsigned int (gdb) PASS: gdb.base/whatis.exp: whatis unsigned long whatis v_float type = float (gdb) PASS: gdb.base/whatis.exp: whatis float whatis v_double type = double (gdb) PASS: gdb.base/whatis.exp: whatis double whatis v_char_array type = char [2] (gdb) PASS: gdb.base/whatis.exp: whatis char array whatis v_signed_char_array type = signed char [2] (gdb) PASS: gdb.base/whatis.exp: whatis signed char array whatis v_unsigned_char_array type = unsigned char [2] (gdb) PASS: gdb.base/whatis.exp: whatis unsigned char array whatis v_short_array type = short int [2] (gdb) PASS: gdb.base/whatis.exp: whatis short array whatis v_signed_short_array type = short int [2] (gdb) PASS: gdb.base/whatis.exp: whatis signed short array whatis v_unsigned_short_array type = short unsigned int [2] (gdb) PASS: gdb.base/whatis.exp: whatis unsigned short array whatis v_int_array type = int [2] (gdb) PASS: gdb.base/whatis.exp: whatis int array whatis v_signed_int_array type = int [2] (gdb) PASS: gdb.base/whatis.exp: whatis signed int array whatis v_unsigned_int_array type = unsigned int [2] (gdb) PASS: gdb.base/whatis.exp: whatis unsigned int array whatis v_long_array type = long int [2] (gdb) PASS: gdb.base/whatis.exp: whatis long array whatis v_signed_long_array type = long int [2] (gdb) PASS: gdb.base/whatis.exp: whatis signed long array whatis v_unsigned_long_array type = long unsigned int [2] (gdb) PASS: gdb.base/whatis.exp: whatis unsigned long array whatis v_float_array type = float [2] (gdb) PASS: gdb.base/whatis.exp: whatis float array whatis v_double_array type = double [2] (gdb) PASS: gdb.base/whatis.exp: whatis double array whatis v_char_pointer type = char * (gdb) PASS: gdb.base/whatis.exp: whatis char pointer whatis v_signed_char_pointer type = signed char * (gdb) PASS: gdb.base/whatis.exp: whatis signed char pointer whatis v_unsigned_char_pointer type = unsigned char * (gdb) PASS: gdb.base/whatis.exp: whatis unsigned char pointer whatis v_short_pointer type = short int * (gdb) PASS: gdb.base/whatis.exp: whatis short pointer whatis v_signed_short_pointer type = short int * (gdb) PASS: gdb.base/whatis.exp: whatis signed short pointer whatis v_unsigned_short_pointer type = short unsigned int * (gdb) PASS: gdb.base/whatis.exp: whatis unsigned short pointer whatis v_int_pointer type = int * (gdb) PASS: gdb.base/whatis.exp: whatis int pointer whatis v_signed_int_pointer type = int * (gdb) PASS: gdb.base/whatis.exp: whatis signed int pointer whatis v_unsigned_int_pointer type = unsigned int * (gdb) PASS: gdb.base/whatis.exp: whatis unsigned int pointer whatis v_long_pointer type = long int * (gdb) PASS: gdb.base/whatis.exp: whatis long pointer whatis v_signed_long_pointer type = long int * (gdb) PASS: gdb.base/whatis.exp: whatis signed long pointer whatis v_unsigned_long_pointer type = long unsigned int * (gdb) PASS: gdb.base/whatis.exp: whatis unsigned long pointer whatis v_float_pointer type = float * (gdb) PASS: gdb.base/whatis.exp: whatis float pointer whatis v_double_pointer type = double * (gdb) PASS: gdb.base/whatis.exp: whatis double pointer whatis v_struct1 type = struct t_struct (gdb) PASS: gdb.base/whatis.exp: whatis named structure whatis v_struct2 type = struct {...} (gdb) PASS: gdb.base/whatis.exp: whatis unnamed structure whatis v_union type = union t_union (gdb) PASS: gdb.base/whatis.exp: whatis named union whatis v_union2 type = union {...} (gdb) PASS: gdb.base/whatis.exp: whatis unnamed union whatis v_char_func type = char () (gdb) PASS: gdb.base/whatis.exp: whatis char function whatis v_signed_char_func type = signed char () (gdb) PASS: gdb.base/whatis.exp: whatis signed char function whatis v_unsigned_char_func type = unsigned char () (gdb) PASS: gdb.base/whatis.exp: whatis unsigned char function whatis v_short_func type = short int () (gdb) PASS: gdb.base/whatis.exp: whatis short function whatis v_signed_short_func type = short int () (gdb) PASS: gdb.base/whatis.exp: whatis signed short function whatis v_unsigned_short_func type = short unsigned int () (gdb) PASS: gdb.base/whatis.exp: whatis unsigned short function whatis v_int_func type = int () (gdb) PASS: gdb.base/whatis.exp: whatis int function whatis v_signed_int_func type = int () (gdb) PASS: gdb.base/whatis.exp: whatis signed int function whatis v_unsigned_int_func type = unsigned int () (gdb) PASS: gdb.base/whatis.exp: whatis unsigned int function whatis v_long_func type = long int () (gdb) PASS: gdb.base/whatis.exp: whatis long function whatis v_signed_long_func type = long int () (gdb) PASS: gdb.base/whatis.exp: whatis signed long function whatis v_unsigned_long_func type = long unsigned int () (gdb) PASS: gdb.base/whatis.exp: whatis unsigned long function whatis v_float_func type = float () (gdb) PASS: gdb.base/whatis.exp: whatis float function whatis v_double_func type = double () (gdb) PASS: gdb.base/whatis.exp: whatis double function whatis s_link type = struct link * (gdb) PASS: gdb.base/whatis.exp: whatis complicated structure whatis u_link type = union tu_link (gdb) PASS: gdb.base/whatis.exp: whatis complicated union whatis clunker type = enum cars (gdb) PASS: gdb.base/whatis.exp: whatis enumeration whatis nested_su type = struct outer_struct (gdb) PASS: gdb.base/whatis.exp: whatis outer structure whatis nested_su.outer_int type = int (gdb) PASS: gdb.base/whatis.exp: whatis outer structure member whatis nested_su.inner_struct_instance type = struct inner_struct (gdb) PASS: gdb.base/whatis.exp: whatis inner structure whatis nested_su.inner_struct_instance.inner_int type = int (gdb) PASS: gdb.base/whatis.exp: whatis inner structure member whatis nested_su.inner_union_instance type = union inner_union (gdb) PASS: gdb.base/whatis.exp: whatis inner union whatis nested_su.inner_union_instance.inner_union_int type = int (gdb) PASS: gdb.base/whatis.exp: whatis inner union member testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.base/whatis.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/ambiguous.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.cc -E -o /cygnus/build/native/gdb/testsuite/gdb.c++/ambiguous.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.cc -E -o /cygnus/build/native/gdb/testsuite/gdb.c++/ambiguous.ci testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/ambiguous.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/annota2.exp ... Executing on host: g++ /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/annota2.cc -I/cygnus/src/uberbaum/libstdc++ -I/cygnus/src/uberbaum/libstdc++/stl -w -L/cygnus/build/native/libiberty -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.c++/annota2 (timeout = 300) spawn g++ /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/annota2.cc -I/cygnus/src/uberbaum/libstdc++ -I/cygnus/src/uberbaum/libstdc++/stl -w -L/cygnus/build/native/libiberty -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.c++/annota2 /cygnus/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status compiler exited with status 1 output is: /cygnus/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status gdb compile failed, /cygnus/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status WARNING: Testcase compile failed, so all tests in this file will automatically fail. spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx ERROR: (timeout) GDB never initialized after 10 seconds. WARNING: remote_expect statement without a default case?! ERROR: couldn't load /cygnus/build/native/gdb/testsuite/gdb.c++/annota2 into /cygnus/build/native/gdb/testsuite/../../gdb/gdb (end of file). WARNING: remote_expect statement without a default case?! UNRESOLVED: gdb.c++/annota2.exp: breakpoint main FAIL: gdb.c++/annota2.exp: annotation set at level 2 (timeout) FAIL: gdb.c++/annota2.exp: run until main breakpoint (timeout) FAIL: gdb.c++/annota2.exp: print class (timeout) FAIL: gdb.c++/annota2.exp: continue to exit (timeout) FAIL: gdb.c++/annota2.exp: delete bps (timeout) FAIL: gdb.c++/annota2.exp: break at main (timeout) FAIL: gdb.c++/annota2.exp: run until main breakpoint (timeout) FAIL: gdb.c++/annota2.exp: set watch on a.x (timeout) FAIL: gdb.c++/annota2.exp: watch triggered on a.x (timeout) FAIL: gdb.c++/annota2.exp: annotate-quit (timeout) testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/annota2.exp completed in 2 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/anon-union.exp ... Executing on host: g++ /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/anon-union.cc -I/cygnus/src/uberbaum/libstdc++ -I/cygnus/src/uberbaum/libstdc++/stl -L/cygnus/build/native/libiberty -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.c++/anon-union (timeout = 300) spawn g++ /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/anon-union.cc -I/cygnus/src/uberbaum/libstdc++ -I/cygnus/src/uberbaum/libstdc++/stl -L/cygnus/build/native/libiberty -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.c++/anon-union /cygnus/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status compiler exited with status 1 output is: /cygnus/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status gdb compile failed, /cygnus/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status WARNING: Testcase compile failed, so all tests in this file will automatically fail. spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx ERROR: (timeout) GDB never initialized after 10 seconds. WARNING: remote_expect statement without a default case?! ERROR: couldn't load /cygnus/build/native/gdb/testsuite/gdb.c++/anon-union into /cygnus/build/native/gdb/testsuite/../../gdb/gdb (end of file). ERROR: Delete all breakpoints in delete_breakpoints (timeout) UNRESOLVED: gdb.c++/anon-union.exp: setting breakpoint at main (timeout) ERROR: couldn't run to breakpoint testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/anon-union.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/classes.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.cc -E -o /cygnus/build/native/gdb/testsuite/gdb.c++/misc.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.cc -E -o /cygnus/build/native/gdb/testsuite/gdb.c++/misc.ci Executing on host: g++ /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/misc.cc -I/cygnus/src/uberbaum/libstdc++ -I/cygnus/src/uberbaum/libstdc++/stl -L/cygnus/build/native/libiberty -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.c++/misc (timeout = 300) spawn g++ /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/misc.cc -I/cygnus/src/uberbaum/libstdc++ -I/cygnus/src/uberbaum/libstdc++/stl -L/cygnus/build/native/libiberty -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.c++/misc /cygnus/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status compiler exited with status 1 output is: /cygnus/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status gdb compile failed, /cygnus/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status WARNING: Testcase compile failed, so all tests in this file will automatically fail. spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx ERROR: (timeout) GDB never initialized after 10 seconds. WARNING: remote_expect statement without a default case?! ERROR: couldn't load /cygnus/build/native/gdb/testsuite/gdb.c++/misc into /cygnus/build/native/gdb/testsuite/../../gdb/gdb (end of file). WARNING: remote_expect statement without a default case?! WARNING: remote_expect statement without a default case?! ERROR: Delete all breakpoints in delete_breakpoints (timeout) UNRESOLVED: gdb.c++/classes.exp: setting breakpoint at main (timeout) FAIL: gdb.c++/classes.exp: ptype struct default_public_struct (timeout) ERROR: Delete all breakpoints in delete_breakpoints (timeout) UNRESOLVED: gdb.c++/classes.exp: setting breakpoint at 'inheritance2(void)' (timeout) FAIL: gdb.c++/classes.exp: setting breakpoint at enums2 (timeout) FAIL: gdb.c++/classes.exp: continue to enums2 ERROR: Delete all breakpoints in delete_breakpoints (timeout) UNRESOLVED: gdb.c++/classes.exp: setting breakpoint at main (timeout) ERROR: Delete all breakpoints in delete_breakpoints (timeout) UNRESOLVED: gdb.c++/classes.exp: setting breakpoint at marker_reg1 (timeout) FAIL: gdb.c++/classes.exp: (timeout) demangle testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/classes.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/cplusfuncs.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.cc -E -o /cygnus/build/native/gdb/testsuite/gdb.c++/cplusfuncs.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.cc -E -o /cygnus/build/native/gdb/testsuite/gdb.c++/cplusfuncs.ci Executing on host: g++ /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/cplusfuncs.cc -I/cygnus/src/uberbaum/libstdc++ -I/cygnus/src/uberbaum/libstdc++/stl -L/cygnus/build/native/libiberty -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.c++/cplusfuncs (timeout = 300) spawn g++ /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/cplusfuncs.cc -I/cygnus/src/uberbaum/libstdc++ -I/cygnus/src/uberbaum/libstdc++/stl -L/cygnus/build/native/libiberty -g -lm -o /cygnus/build/native/gdb/testsuite/gdb.c++/cplusfuncs /cygnus/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status compiler exited with status 1 output is: /cygnus/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status gdb compile failed, /cygnus/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status WARNING: Testcase compile failed, so all tests in this file will automatically fail. spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx ERROR: (timeout) GDB never initialized after 10 seconds. WARNING: remote_expect statement without a default case?! ERROR: couldn't load /cygnus/build/native/gdb/testsuite/gdb.c++/cplusfuncs into /cygnus/build/native/gdb/testsuite/../../gdb/gdb (end of file). WARNING: remote_expect statement without a default case?! WARNING: remote_expect statement without a default case?! ERROR: Delete all breakpoints in delete_breakpoints (timeout) UNRESOLVED: gdb.c++/cplusfuncs.exp: setting breakpoint at main (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overload1arg(signed char)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overload1arg(unsigned char)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overload1arg(unsigned int)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overload1arg(unsigned long)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overload1arg(unsigned short)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overload1arg(char)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overload1arg(double)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overload1arg(float)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overload1arg(int)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overload1arg(long)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overload1arg(short)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overload1arg(void)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overloadargs(int)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overloadargs(int, int)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overloadargs(int, int, int)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overloadargs(int, int, int, int)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overloadargs(int, int, int, int, int)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overloadargs(int, int, int, int, int, int)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overloadargs(int, int, int, int, int, int, int)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overloadargs(int, int, int, int, int, int, int, int)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overloadargs(int, int, int, int, int, int, int, int, int)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overloadargs(int, int, int, int, int, int, int, int, int, int)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'overloadargs(int, int, int, int, int, int, int, int, int, int, int)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator&&(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator&=(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator&(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator/=(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator^=(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator<<=(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator%=(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator-=(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator*=(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator|=(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator+=(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator>>=(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator=(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator()(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator, (foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator~(void)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator delete(void *)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator/(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator==(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator^(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator>=(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator>(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator<=(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator<<(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator<(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator%(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator-(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator*(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator--(int)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator!=(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator!(void)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator new' FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator||(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator char *(void)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator int(void)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator|(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator+(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator++(int)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator->(void)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator->*(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator>>(foo &)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'foo::operator[](foo &)' FAIL: gdb.c++/cplusfuncs.exp: print &'hairyfunc1(int)' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'hairyfunc2(int (*)(char *))' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'hairyfunc3(int (*)(short (*)(long *)))' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'hairyfunc4(int (*)(short (*)(char *)))' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'hairyfunc5(int (*(*)(char *))(long))' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'hairyfunc6(int (*(*)(int *))(long))' (timeout) FAIL: gdb.c++/cplusfuncs.exp: print &'hairyfunc7(int (*(*)(int (*)(char *)))(long))' (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator&&(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator&=(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator&(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator/=(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator^=(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator<<=(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator%=(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator-=(" (timeout) XFAIL: gdb.c++/cplusfuncs.exp: info function for "operator*=(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator|=(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator+=(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator>>=(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator=(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator()(" (timeout) XFAIL: gdb.c++/cplusfuncs.exp: info function for "operator,(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator~(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator delete(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator/(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator==(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator^(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator>=(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator>(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator<=(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator<<(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator<(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator%(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator-(" (timeout) XFAIL: gdb.c++/cplusfuncs.exp: info function for "operator*(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator--(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator!=(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator!(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator new(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator||(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator char \*(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator int(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator|(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator+(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator++(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator->(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator->\*(" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for "operator>>(" (timeout) XFAIL: gdb.c++/cplusfuncs.exp: info function for "operator\[\](" (timeout) FAIL: gdb.c++/cplusfuncs.exp: info function for ".perator\[\](" (timeout) testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/cplusfuncs.exp completed in 1 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/ctti.exp ... Executing on host: gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.cc -E -o /cygnus/build/native/gdb/testsuite/gdb.c++/cttiadd.ci (timeout = 300) spawn gcc /cygnus/src/uberbaum/gdb/testsuite/lib/compiler.cc -E -o /cygnus/build/native/gdb/testsuite/gdb.c++/cttiadd.ci testcase /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/ctti.exp completed in 0 seconds Running /cygnus/src/uberbaum/gdb/testsuite/gdb.c++/demangle.exp ... spawn /cygnus/build/native/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) set language c++ (gdb) set width 0 (gdb) set demangle-style lucid (gdb) PASS: gdb.c++/demangle.exp: lucid: set demangle-style show demangle-style The current C++ demangling style is "lucid". (gdb) PASS: gdb.c++/demangle.exp: lucid: check demangling style maintenance demangle WS__FR7istream WS(istream &) (gdb) PASS: gdb.c++/demangle.exp: lucid: WS__FR7istream maintenance demangle __aa__3fooFR3foo foo::operator&&(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __aa__3fooFR3foo maintenance demangle __aad__3fooFR3foo foo::operator&=(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __aad__3fooFR3foo maintenance demangle __ad__3fooFR3foo foo::operator&(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ad__3fooFR3foo maintenance demangle __adv__3fooFR3foo foo::operator/=(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __adv__3fooFR3foo maintenance demangle __adv__7complexF7complex complex::operator/=(complex) (gdb) PASS: gdb.c++/demangle.exp: lucid: __adv__7complexF7complex maintenance demangle __aer__3fooFR3foo foo::operator^=(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __aer__3fooFR3foo maintenance demangle __als__3fooFR3foo foo::operator<<=(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __als__3fooFR3foo maintenance demangle __amd__3fooFR3foo foo::operator%=(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __amd__3fooFR3foo maintenance demangle __ami__3fooFR3foo foo::operator-=(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ami__3fooFR3foo maintenance demangle __amu__3fooFR3foo foo::operator*=(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __amu__3fooFR3foo maintenance demangle __amu__7complexF7complex complex::operator*=(complex) (gdb) PASS: gdb.c++/demangle.exp: lucid: __amu__7complexF7complex maintenance demangle __aor__3fooFR3foo foo::operator|=(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __aor__3fooFR3foo maintenance demangle __apl__3fooFR3foo foo::operator+=(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __apl__3fooFR3foo maintenance demangle __ars__3fooFR3foo foo::operator>>=(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ars__3fooFR3foo maintenance demangle __as__18istream_withassignFP9streambuf istream_withassign::operator=(streambuf *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __as__18istream_withassignFP9streambuf maintenance demangle __as__18istream_withassignFR7istream istream_withassign::operator=(istream &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __as__18istream_withassignFR7istream maintenance demangle __as__3fooFR3foo foo::operator=(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __as__3fooFR3foo maintenance demangle __as__3iosFR3ios ios::operator=(ios &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __as__3iosFR3ios maintenance demangle __cl__3fooFR3foo foo::operator()(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __cl__3fooFR3foo maintenance demangle __cm__3fooFR3foo foo::operator, (foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __cm__3fooFR3foo maintenance demangle __co__3fooFv foo::operator~(void) (gdb) PASS: gdb.c++/demangle.exp: lucid: __co__3fooFv maintenance demangle __ct__10istrstreamFPc istrstream::istrstream(char *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__10istrstreamFPc maintenance demangle __ct__10istrstreamFPci istrstream::istrstream(char *, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__10istrstreamFPci maintenance demangle __ct__10ostrstreamFPciT2 ostrstream::ostrstream(char *, int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__10ostrstreamFPciT2 maintenance demangle __ct__10ostrstreamFv ostrstream::ostrstream(void) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__10ostrstreamFv maintenance demangle __ct__10smanip_intFPFR3iosi_R3iosi smanip_int::smanip_int(ios &(*)(ios &, int), int) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__10smanip_intFPFR3iosi_R3iosi maintenance demangle __ct__11c_exceptionFPcRC7complexT2 c_exception::c_exception(char *, complex const &, complex const &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__11c_exceptionFPcRC7complexT2 maintenance demangle __ct__11fstreambaseFPCciT2 fstreambase::fstreambase(char const *, int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__11fstreambaseFPCciT2 maintenance demangle __ct__11fstreambaseFi fstreambase::fstreambase(int) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__11fstreambaseFi maintenance demangle __ct__11fstreambaseFiPcT1 fstreambase::fstreambase(int, char *, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__11fstreambaseFiPcT1 maintenance demangle __ct__11fstreambaseFv fstreambase::fstreambase(void) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__11fstreambaseFv maintenance demangle __ct__11smanip_longFPFR3iosl_R3iosl smanip_long::smanip_long(ios &(*)(ios &, long), long) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__11smanip_longFPFR3iosl_R3iosl maintenance demangle __ct__11stdiostreamFP4FILE stdiostream::stdiostream(FILE *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__11stdiostreamFP4FILE maintenance demangle __ct__12strstreambufFPFl_PvPFPv_v strstreambuf::strstreambuf(void *(*)(long), void (*)(void *)) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__12strstreambufFPFl_PvPFPv_v maintenance demangle __ct__12strstreambufFPUciT1 strstreambuf::strstreambuf(unsigned char *, int, unsigned char *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__12strstreambufFPUciT1 maintenance demangle __ct__12strstreambufFPciT1 strstreambuf::strstreambuf(char *, int, char *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__12strstreambufFPciT1 maintenance demangle __ct__12strstreambufFi strstreambuf::strstreambuf(int) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__12strstreambufFi maintenance demangle __ct__12strstreambufFv strstreambuf::strstreambuf(void) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__12strstreambufFv maintenance demangle __ct__13strstreambaseFPciT1 strstreambase::strstreambase(char *, int, char *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__13strstreambaseFPciT1 maintenance demangle __ct__3fooFR3foo foo::foo(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__3fooFR3foo maintenance demangle __ct__3fooFi foo::foo(int) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__3fooFi maintenance demangle __ct__3fooFiN31 foo::foo(int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__3fooFiN31 maintenance demangle __ct__3fooFiPCc foo::foo(int, char const *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__3fooFiPCc maintenance demangle __ct__3fooFiR3fooT1T2T1T2 foo::foo(int, foo &, int, foo &, int, foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__3fooFiR3fooT1T2T1T2 maintenance demangle __ct__3iosFP9streambuf ios::ios(streambuf *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__3iosFP9streambuf maintenance demangle __ct__7filebufFiPcT1 filebuf::filebuf(int, char *, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__7filebufFiPcT1 maintenance demangle __ct__7fstreamFPCciT2 fstream::fstream(char const *, int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__7fstreamFPCciT2 maintenance demangle __ct__7fstreamFiPcT1 fstream::fstream(int, char *, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__7fstreamFiPcT1 maintenance demangle __ct__7istreamFP9streambuf istream::istream(streambuf *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__7istreamFP9streambuf maintenance demangle __ct__7istreamFP9streambufiP7ostream istream::istream(streambuf *, int, ostream *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__7istreamFP9streambufiP7ostream maintenance demangle __ct__7istreamFiPcT1 istream::istream(int, char *, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__7istreamFiPcT1 maintenance demangle __ct__7istreamFiT1P7ostream istream::istream(int, int, ostream *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__7istreamFiT1P7ostream maintenance demangle __ct__7ostreamFP9streambuf ostream::ostream(streambuf *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__7ostreamFP9streambuf maintenance demangle __ct__7ostreamFiPc ostream::ostream(int, char *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__7ostreamFiPc maintenance demangle __ct__8ifstreamFPCciT2 ifstream::ifstream(char const *, int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__8ifstreamFPCciT2 maintenance demangle __ct__8ifstreamFiPcT1 ifstream::ifstream(int, char *, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__8ifstreamFiPcT1 maintenance demangle __ct__Q23foo3barFv foo::bar::bar(void) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__Q23foo3barFv maintenance demangle __ct__Q33foo3bar4bellFv foo::bar::bell::bell(void) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ct__Q33foo3bar4bellFv maintenance demangle __dl__3fooSFPv foo::operator delete(void *) static (gdb) PASS: gdb.c++/demangle.exp: lucid: __dl__3fooSFPv maintenance demangle __dl__FPv operator delete(void *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __dl__FPv maintenance demangle __dt__10istrstreamFv istrstream::~istrstream(void) (gdb) PASS: gdb.c++/demangle.exp: lucid: __dt__10istrstreamFv maintenance demangle __dt__Q23foo3barFv foo::bar::~bar(void) (gdb) PASS: gdb.c++/demangle.exp: lucid: __dt__Q23foo3barFv maintenance demangle __dt__Q33foo3bar4bellFv foo::bar::bell::~bell(void) (gdb) PASS: gdb.c++/demangle.exp: lucid: __dt__Q33foo3bar4bellFv maintenance demangle __dv__3fooFR3foo foo::operator/(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __dv__3fooFR3foo maintenance demangle __dv__F7complexT1 operator/(complex, complex) (gdb) PASS: gdb.c++/demangle.exp: lucid: __dv__F7complexT1 maintenance demangle __eq__3fooFR3foo foo::operator==(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __eq__3fooFR3foo maintenance demangle __er__3fooFR3foo foo::operator^(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __er__3fooFR3foo maintenance demangle __ge__3fooFR3foo foo::operator>=(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ge__3fooFR3foo maintenance demangle __gt__3fooFR3foo foo::operator>(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __gt__3fooFR3foo maintenance demangle __le__3fooFR3foo foo::operator<=(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __le__3fooFR3foo maintenance demangle __ls__3fooFR3foo foo::operator<<(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ls__3fooFR3foo maintenance demangle __ls__7ostreamFP9streambuf ostream::operator<<(streambuf *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ls__7ostreamFP9streambuf maintenance demangle __ls__7ostreamFPCc ostream::operator<<(char const *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ls__7ostreamFPCc maintenance demangle __ls__7ostreamFPFR3ios_R3ios ostream::operator<<(ios &(*)(ios &)) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ls__7ostreamFPFR3ios_R3ios maintenance demangle __ls__7ostreamFPv ostream::operator<<(void *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ls__7ostreamFPv maintenance demangle __ls__7ostreamFUi ostream::operator<<(unsigned int) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ls__7ostreamFUi maintenance demangle __ls__7ostreamFUl ostream::operator<<(unsigned long) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ls__7ostreamFUl maintenance demangle __ls__7ostreamFd ostream::operator<<(double) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ls__7ostreamFd maintenance demangle __ls__7ostreamFf ostream::operator<<(float) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ls__7ostreamFf maintenance demangle __ls__7ostreamFi ostream::operator<<(int) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ls__7ostreamFi maintenance demangle __ls__7ostreamFl ostream::operator<<(long) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ls__7ostreamFl maintenance demangle __ls__FR7ostream7complex operator<<(ostream &, complex) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ls__FR7ostream7complex maintenance demangle __lt__3fooFR3foo foo::operator<(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __lt__3fooFR3foo maintenance demangle __md__3fooFR3foo foo::operator%(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __md__3fooFR3foo maintenance demangle __mi__3fooFR3foo foo::operator-(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __mi__3fooFR3foo maintenance demangle __ml__3fooFR3foo foo::operator*(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ml__3fooFR3foo maintenance demangle __ml__F7complexT1 operator*(complex, complex) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ml__F7complexT1 maintenance demangle __mm__3fooFi foo::operator--(int) (gdb) PASS: gdb.c++/demangle.exp: lucid: __mm__3fooFi maintenance demangle __ne__3fooFR3foo foo::operator!=(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __ne__3fooFR3foo maintenance demangle __nt__3fooFv foo::operator!(void) (gdb) PASS: gdb.c++/demangle.exp: lucid: __nt__3fooFv maintenance demangle __nw__3fooSFi foo::operator new(int) static (gdb) PASS: gdb.c++/demangle.exp: lucid: __nw__3fooSFi maintenance demangle __nw__FUi operator new(unsigned int) (gdb) PASS: gdb.c++/demangle.exp: lucid: __nw__FUi maintenance demangle __nw__FUiPv operator new(unsigned int, void *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __nw__FUiPv maintenance demangle __oo__3fooFR3foo foo::operator||(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __oo__3fooFR3foo maintenance demangle __opPc__3fooFv foo::operator char *(void) (gdb) PASS: gdb.c++/demangle.exp: lucid: __opPc__3fooFv maintenance demangle __opi__3fooFv foo::operator int(void) (gdb) PASS: gdb.c++/demangle.exp: lucid: __opi__3fooFv maintenance demangle __or__3fooFR3foo foo::operator|(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __or__3fooFR3foo maintenance demangle __pl__3fooFR3foo foo::operator+(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __pl__3fooFR3foo maintenance demangle __pp__3fooFi foo::operator++(int) (gdb) PASS: gdb.c++/demangle.exp: lucid: __pp__3fooFi maintenance demangle __pt__3fooFv foo::operator->(void) (gdb) PASS: gdb.c++/demangle.exp: lucid: __pt__3fooFv maintenance demangle __rm__3fooFR3foo foo::operator->*(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __rm__3fooFR3foo maintenance demangle __rs__3fooFR3foo foo::operator>>(foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __rs__3fooFR3foo maintenance demangle __rs__7istreamFP9streambuf istream::operator>>(streambuf *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __rs__7istreamFP9streambuf maintenance demangle __rs__7istreamFPFR3ios_R3ios istream::operator>>(ios &(*)(ios &)) (gdb) PASS: gdb.c++/demangle.exp: lucid: __rs__7istreamFPFR3ios_R3ios maintenance demangle __rs__7istreamFPFR7istream_R7istream istream::operator>>(istream &(*)(istream &)) (gdb) PASS: gdb.c++/demangle.exp: lucid: __rs__7istreamFPFR7istream_R7istream maintenance demangle __rs__7istreamFPUc istream::operator>>(unsigned char *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __rs__7istreamFPUc maintenance demangle __rs__7istreamFPc istream::operator>>(char *) (gdb) PASS: gdb.c++/demangle.exp: lucid: __rs__7istreamFPc maintenance demangle __rs__7istreamFRUi istream::operator>>(unsigned int &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __rs__7istreamFRUi maintenance demangle __rs__7istreamFRUl istream::operator>>(unsigned long &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __rs__7istreamFRUl maintenance demangle __rs__7istreamFRUs istream::operator>>(unsigned short &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __rs__7istreamFRUs maintenance demangle __rs__7istreamFRd istream::operator>>(double &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __rs__7istreamFRd maintenance demangle __rs__7istreamFRf istream::operator>>(float &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __rs__7istreamFRf maintenance demangle __rs__7istreamFRi istream::operator>>(int &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __rs__7istreamFRi maintenance demangle __rs__7istreamFRl istream::operator>>(long &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __rs__7istreamFRl maintenance demangle __rs__7istreamFRs istream::operator>>(short &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __rs__7istreamFRs maintenance demangle __rs__FR7istreamR7complex operator>>(istream &, complex &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __rs__FR7istreamR7complex maintenance demangle __vc__3fooFR3foo foo::operator[](foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: __vc__3fooFR3foo maintenance demangle __vtbl__10istrstream istrstream virtual table (gdb) PASS: gdb.c++/demangle.exp: lucid: __vtbl__10istrstream maintenance demangle __vtbl__17ostream__iostream__19iostream_withassign iostream_withassign::ostream__iostream virtual table (gdb) PASS: gdb.c++/demangle.exp: lucid: __vtbl__17ostream__iostream__19iostream_withassign maintenance demangle __vtbl__3ios ios virtual table (gdb) PASS: gdb.c++/demangle.exp: lucid: __vtbl__3ios maintenance demangle __vtbl__3ios__13strstreambase strstreambase::ios virtual table (gdb) PASS: gdb.c++/demangle.exp: lucid: __vtbl__3ios__13strstreambase maintenance demangle __vtbl__3foo__vt_cc_main_ Can't demangle "__vtbl__3foo__vt_cc_main_" (gdb) XFAIL: gdb.c++/demangle.exp: lucid: __vtbl__3foo__vt_cc_main_ maintenance demangle abs__F7complex abs(complex) (gdb) PASS: gdb.c++/demangle.exp: lucid: abs__F7complex maintenance demangle allocate__9streambufFv streambuf::allocate(void) (gdb) PASS: gdb.c++/demangle.exp: lucid: allocate__9streambufFv maintenance demangle attach__11fstreambaseFi fstreambase::attach(int) (gdb) PASS: gdb.c++/demangle.exp: lucid: attach__11fstreambaseFi maintenance demangle bitalloc__3iosSFv ios::bitalloc(void) static (gdb) PASS: gdb.c++/demangle.exp: lucid: bitalloc__3iosSFv maintenance demangle chr__FiT1 chr(int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: chr__FiT1 maintenance demangle complex_error__FR11c_exception complex_error(c_exception &) (gdb) PASS: gdb.c++/demangle.exp: lucid: complex_error__FR11c_exception maintenance demangle complexfunc2__FPFPc_i complexfunc2(int (*)(char *)) (gdb) PASS: gdb.c++/demangle.exp: lucid: complexfunc2__FPFPc_i maintenance demangle complexfunc3__FPFPFPl_s_i complexfunc3(int (*)(short (*)(long *))) (gdb) PASS: gdb.c++/demangle.exp: lucid: complexfunc3__FPFPFPl_s_i maintenance demangle complexfunc4__FPFPFPc_s_i complexfunc4(int (*)(short (*)(char *))) (gdb) PASS: gdb.c++/demangle.exp: lucid: complexfunc4__FPFPFPc_s_i maintenance demangle complexfunc5__FPFPc_PFl_i complexfunc5(int (*(*)(char *))(long)) (gdb) PASS: gdb.c++/demangle.exp: lucid: complexfunc5__FPFPc_PFl_i maintenance demangle complexfunc6__FPFPi_PFl_i complexfunc6(int (*(*)(int *))(long)) (gdb) PASS: gdb.c++/demangle.exp: lucid: complexfunc6__FPFPi_PFl_i maintenance demangle complexfunc7__FPFPFPc_i_PFl_i complexfunc7(int (*(*)(int (*)(char *)))(long)) (gdb) PASS: gdb.c++/demangle.exp: lucid: complexfunc7__FPFPFPc_i_PFl_i maintenance demangle complicated_put__7ostreamFc ostream::complicated_put(char) (gdb) PASS: gdb.c++/demangle.exp: lucid: complicated_put__7ostreamFc maintenance demangle conv10__FlPc conv10(long, char *) (gdb) PASS: gdb.c++/demangle.exp: lucid: conv10__FlPc maintenance demangle conv16__FUlPc conv16(unsigned long, char *) (gdb) PASS: gdb.c++/demangle.exp: lucid: conv16__FUlPc maintenance demangle dec__FR3ios dec(ios &) (gdb) PASS: gdb.c++/demangle.exp: lucid: dec__FR3ios maintenance demangle dec__Fli dec(long, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: dec__Fli maintenance demangle dofield__FP7ostreamPciT2T3 dofield(ostream *, char *, int, char *, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: dofield__FP7ostreamPciT2T3 maintenance demangle flags__3iosFl ios::flags(long) (gdb) PASS: gdb.c++/demangle.exp: lucid: flags__3iosFl maintenance demangle flags__3iosFv ios::flags(void) (gdb) PASS: gdb.c++/demangle.exp: lucid: flags__3iosFv maintenance demangle foo__FiN31 foo(int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: foo__FiN31 maintenance demangle foo__FiR3fooT1T2T1T2 foo(int, foo &, int, foo &, int, foo &) (gdb) PASS: gdb.c++/demangle.exp: lucid: foo__FiR3fooT1T2T1T2 maintenance demangle foo___3barFl bar::foo_(long) (gdb) PASS: gdb.c++/demangle.exp: lucid: foo___3barFl maintenance demangle form__FPCce form(char const *,...) (gdb) PASS: gdb.c++/demangle.exp: lucid: form__FPCce maintenance demangle get__7istreamFPcic istream::get(char *, int, char) (gdb) PASS: gdb.c++/demangle.exp: lucid: get__7istreamFPcic maintenance demangle get__7istreamFR9streambufc istream::get(streambuf &, char) (gdb) PASS: gdb.c++/demangle.exp: lucid: get__7istreamFR9streambufc maintenance demangle get_complicated__7istreamFRUc istream::get_complicated(unsigned char &) (gdb) PASS: gdb.c++/demangle.exp: lucid: get_complicated__7istreamFRUc maintenance demangle get_complicated__7istreamFRc istream::get_complicated(char &) (gdb) PASS: gdb.c++/demangle.exp: lucid: get_complicated__7istreamFRc maintenance demangle getline__7istreamFPUcic istream::getline(unsigned char *, int, char) (gdb) PASS: gdb.c++/demangle.exp: lucid: getline__7istreamFPUcic maintenance demangle getline__7istreamFPcic istream::getline(char *, int, char) (gdb) PASS: gdb.c++/demangle.exp: lucid: getline__7istreamFPcic maintenance demangle ignore__7istreamFiT1 istream::ignore(int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: ignore__7istreamFiT1 maintenance demangle init__12strstreambufFPciT1 strstreambuf::init(char *, int, char *) (gdb) PASS: gdb.c++/demangle.exp: lucid: init__12strstreambufFPciT1 maintenance demangle init__3iosFP9streambuf ios::init(streambuf *) (gdb) PASS: gdb.c++/demangle.exp: lucid: init__3iosFP9streambuf maintenance demangle initcount__13Iostream_init Iostream_init::initcount (gdb) PASS: gdb.c++/demangle.exp: lucid: initcount__13Iostream_init maintenance demangle ipfx__7istreamFi istream::ipfx(int) (gdb) PASS: gdb.c++/demangle.exp: lucid: ipfx__7istreamFi maintenance demangle ls_complicated__7ostreamFUc ostream::ls_complicated(unsigned char) (gdb) PASS: gdb.c++/demangle.exp: lucid: ls_complicated__7ostreamFUc maintenance demangle ls_complicated__7ostreamFc ostream::ls_complicated(char) (gdb) PASS: gdb.c++/demangle.exp: lucid: ls_complicated__7ostreamFc maintenance demangle open__11fstreambaseFPCciT2 fstreambase::open(char const *, int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: open__11fstreambaseFPCciT2 maintenance demangle open__7filebufFPCciT2 filebuf::open(char const *, int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: open__7filebufFPCciT2 maintenance demangle overload1arg__FSc overload1arg(signed char) (gdb) PASS: gdb.c++/demangle.exp: lucid: overload1arg__FSc maintenance demangle overload1arg__FUc overload1arg(unsigned char) (gdb) PASS: gdb.c++/demangle.exp: lucid: overload1arg__FUc maintenance demangle overload1arg__FUi overload1arg(unsigned int) (gdb) PASS: gdb.c++/demangle.exp: lucid: overload1arg__FUi maintenance demangle overload1arg__FUl overload1arg(unsigned long) (gdb) PASS: gdb.c++/demangle.exp: lucid: overload1arg__FUl maintenance demangle overload1arg__FUs overload1arg(unsigned short) (gdb) PASS: gdb.c++/demangle.exp: lucid: overload1arg__FUs maintenance demangle overload1arg__Fc overload1arg(char) (gdb) PASS: gdb.c++/demangle.exp: lucid: overload1arg__Fc maintenance demangle overload1arg__Fd overload1arg(double) (gdb) PASS: gdb.c++/demangle.exp: lucid: overload1arg__Fd maintenance demangle overload1arg__Ff overload1arg(float) (gdb) PASS: gdb.c++/demangle.exp: lucid: overload1arg__Ff maintenance demangle overload1arg__Fi overload1arg(int) (gdb) PASS: gdb.c++/demangle.exp: lucid: overload1arg__Fi maintenance demangle overload1arg__Fl overload1arg(long) (gdb) PASS: gdb.c++/demangle.exp: lucid: overload1arg__Fl maintenance demangle overload1arg__Fs overload1arg(short) (gdb) PASS: gdb.c++/demangle.exp: lucid: overload1arg__Fs maintenance demangle overload1arg__Fv overload1arg(void) (gdb) PASS: gdb.c++/demangle.exp: lucid: overload1arg__Fv maintenance demangle overloadargs__FiN21 overloadargs(int, int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: overloadargs__FiN21 maintenance demangle overloadargs__FiN31 overloadargs(int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: overloadargs__FiN31 maintenance demangle overloadargs__FiN41 overloadargs(int, int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: overloadargs__FiN41 maintenance demangle overloadargs__FiN51 overloadargs(int, int, int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: overloadargs__FiN51 maintenance demangle overloadargs__FiN61 overloadargs(int, int, int, int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: overloadargs__FiN61 maintenance demangle overloadargs__FiN71 overloadargs(int, int, int, int, int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: overloadargs__FiN71 maintenance demangle overloadargs__FiN81 overloadargs(int, int, int, int, int, int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: overloadargs__FiN81 maintenance demangle overloadargs__FiN91 overloadargs(int, int, int, int, int, int, int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: overloadargs__FiN91 maintenance demangle overloadargs__FiN91N11 overloadargs(int, int, int, int, int, int, int, int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: overloadargs__FiN91N11 maintenance demangle overloadargs__FiT1 overloadargs(int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: overloadargs__FiT1 maintenance demangle polar__FdT1 polar(double, double) (gdb) PASS: gdb.c++/demangle.exp: lucid: polar__FdT1 maintenance demangle pow__F7complexT1 pow(complex, complex) (gdb) PASS: gdb.c++/demangle.exp: lucid: pow__F7complexT1 maintenance demangle pow__F7complexd pow(complex, double) (gdb) PASS: gdb.c++/demangle.exp: lucid: pow__F7complexd maintenance demangle pow__F7complexi pow(complex, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: pow__F7complexi maintenance demangle pow__Fd7complex pow(double, complex) (gdb) PASS: gdb.c++/demangle.exp: lucid: pow__Fd7complex maintenance demangle pstart__FPciT2 pstart(char *, int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: pstart__FPciT2 maintenance demangle put__7ostreamFc ostream::put(char) (gdb) PASS: gdb.c++/demangle.exp: lucid: put__7ostreamFc maintenance demangle read__7istreamFPci istream::read(char *, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: read__7istreamFPci maintenance demangle resetiosflags__FR3iosl resetiosflags(ios &, long) (gdb) PASS: gdb.c++/demangle.exp: lucid: resetiosflags__FR3iosl maintenance demangle restore_errno__FRi restore_errno(int &) (gdb) PASS: gdb.c++/demangle.exp: lucid: restore_errno__FRi maintenance demangle rs_complicated__7istreamFRUc istream::rs_complicated(unsigned char &) (gdb) PASS: gdb.c++/demangle.exp: lucid: rs_complicated__7istreamFRUc maintenance demangle rs_complicated__7istreamFRc istream::rs_complicated(char &) (gdb) PASS: gdb.c++/demangle.exp: lucid: rs_complicated__7istreamFRc maintenance demangle seekg__7istreamFl8seek_dir istream::seekg(long, seek_dir) (gdb) PASS: gdb.c++/demangle.exp: lucid: seekg__7istreamFl8seek_dir maintenance demangle seekoff__12strstreambufFl8seek_diri strstreambuf::seekoff(long, seek_dir, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: seekoff__12strstreambufFl8seek_diri maintenance demangle seekoff__9streambufFlQ2_3ios12ios_seek_diri streambuf::seekoff(long, ios::ios_seek_dir, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: seekoff__9streambufFlQ2_3ios12ios_seek_diri maintenance demangle seekpos__9streambufFli streambuf::seekpos(long, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: seekpos__9streambufFli maintenance demangle set_new_handler__FPFv_v set_new_handler(void (*)(void)) (gdb) PASS: gdb.c++/demangle.exp: lucid: set_new_handler__FPFv_v maintenance demangle setb__9streambufFPcT1i streambuf::setb(char *, char *, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: setb__9streambufFPcT1i maintenance demangle setb__FR3iosi setb(ios &, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: setb__FR3iosi maintenance demangle setbuf__11fstreambaseFPci fstreambase::setbuf(char *, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: setbuf__11fstreambaseFPci maintenance demangle setbuf__9streambufFPUci streambuf::setbuf(unsigned char *, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: setbuf__9streambufFPUci maintenance demangle setbuf__9streambufFPciT2 streambuf::setbuf(char *, int, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: setbuf__9streambufFPciT2 maintenance demangle setf__3iosFlT1 ios::setf(long, long) (gdb) PASS: gdb.c++/demangle.exp: lucid: setf__3iosFlT1 maintenance demangle setfill__FR3iosi setfill(ios &, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: setfill__FR3iosi maintenance demangle setg__9streambufFPcN21 streambuf::setg(char *, char *, char *) (gdb) PASS: gdb.c++/demangle.exp: lucid: setg__9streambufFPcN21 maintenance demangle setp__9streambufFPcT1 streambuf::setp(char *, char *) (gdb) PASS: gdb.c++/demangle.exp: lucid: setp__9streambufFPcT1 maintenance demangle sputn__9streambufFPCci streambuf::sputn(char const *, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: sputn__9streambufFPCci maintenance demangle str__FPCci str(char const *, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: str__FPCci maintenance demangle tie__3iosFP7ostream ios::tie(ostream *) (gdb) PASS: gdb.c++/demangle.exp: lucid: tie__3iosFP7ostream maintenance demangle uconv10__FUlPc uconv10(unsigned long, char *) (gdb) PASS: gdb.c++/demangle.exp: lucid: uconv10__FUlPc maintenance demangle write__7ostreamFPCci ostream::write(char const *, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: write__7ostreamFPCci maintenance demangle xget__7istreamFPc istream::xget(char *) (gdb) PASS: gdb.c++/demangle.exp: lucid: xget__7istreamFPc maintenance demangle xsgetn__9streambufFPci streambuf::xsgetn(char *, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: xsgetn__9streambufFPci maintenance demangle xsputn__9streambufFPCci streambuf::xsputn(char const *, int) (gdb) PASS: gdb.c++/demangle.exp: lucid: xsputn__9streambufFPCci maintenance demangle _Utf390_1__1_9223372036854775807__9223372036854775 Can't demangle "_Utf390_1__1_9223372036854775807__9223372036854775" (gdb) PASS: gdb.c++/demangle.exp: lucid: _Utf390_1__1_9223372036854775807__9223372036854775 set demangle-style gnu (gdb) PASS: gdb.c++/demangle.exp: gnu: set demangle-style show demangle-style The current C++ demangling style is "gnu". (gdb) PASS: gdb.c++/demangle.exp: gnu: check demangling style maintenance demangle Abort__FP6EditoriPCc Abort(Editor *, int, char const *) (gdb) PASS: gdb.c++/demangle.exp: gnu: Abort__FP6EditoriPCc maintenance demangle AddAlignment__9ivTSolverUiP12ivInteractorP7ivTGlue ivTSolver::AddAlignment(unsigned int, ivInteractor *, ivTGlue *) (gdb) PASS: gdb.c++/demangle.exp: gnu: AddAlignment__9ivTSolverUiP12ivInteractorP7ivTGlue maintenance demangle Append__15NameChooserViewPCc NameChooserView::Append(char const *) (gdb) PASS: gdb.c++/demangle.exp: gnu: Append__15NameChooserViewPCc maintenance demangle ArrowheadIntersects__9ArrowLineP9ArrowheadR6BoxObjP7Graphic ArrowLine::ArrowheadIntersects(Arrowhead *, BoxObj &, Graphic *) (gdb) PASS: gdb.c++/demangle.exp: gnu: ArrowheadIntersects__9ArrowLineP9ArrowheadR6BoxObjP7Graphic maintenance demangle AtEnd__13ivRubberGroup ivRubberGroup::AtEnd(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: AtEnd__13ivRubberGroup maintenance demangle BgFilter__9ivTSolverP12ivInteractor ivTSolver::BgFilter(ivInteractor *) (gdb) PASS: gdb.c++/demangle.exp: gnu: BgFilter__9ivTSolverP12ivInteractor maintenance demangle BitPatterntoa__FRC10BitPatternccc BitPatterntoa(BitPattern const &, char, char, char) (gdb) PASS: gdb.c++/demangle.exp: gnu: BitPatterntoa__FRC10BitPatternccc maintenance demangle Check__6UArrayi UArray::Check(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: Check__6UArrayi maintenance demangle CoreConstDecls__8TextCodeR7ostream TextCode::CoreConstDecls(ostream &) (gdb) PASS: gdb.c++/demangle.exp: gnu: CoreConstDecls__8TextCodeR7ostream maintenance demangle Detach__8StateVarP12StateVarView StateVar::Detach(StateVarView *) (gdb) PASS: gdb.c++/demangle.exp: gnu: Detach__8StateVarP12StateVarView maintenance demangle Done__9ComponentG8Iterator Component::Done(Iterator) (gdb) PASS: gdb.c++/demangle.exp: gnu: Done__9ComponentG8Iterator maintenance demangle DrawDestinationTransformedImage__FP7_XImageiiT0iiUlUiiiUiUlUlP4_XGCRC13ivTransformeriiii DrawDestinationTransformedImage(_XImage *, int, int, _XImage *, int, int, unsigned long, unsigned int, int, int, unsigned int, unsigned long, unsigned long, _XGC *, ivTransformer const &, int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: DrawDestinationTransformedImage__FP7_XImageiiT0iiUlUiiiUiUlUlP4_XGCRC13ivTransformeriiii maintenance demangle Edit__12StringEditorPCcii StringEditor::Edit(char const *, int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: Edit__12StringEditorPCcii maintenance demangle Effect__11RelateManipR7ivEvent RelateManip::Effect(ivEvent &) (gdb) PASS: gdb.c++/demangle.exp: gnu: Effect__11RelateManipR7ivEvent maintenance demangle FilterName__FPCc FilterName(char const *) (gdb) PASS: gdb.c++/demangle.exp: gnu: FilterName__FPCc maintenance demangle Filter__6PSTextPCci PSText::Filter(char const *, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: Filter__6PSTextPCci maintenance demangle FindColor__7CatalogPCciii Catalog::FindColor(char const *, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: FindColor__7CatalogPCciii maintenance demangle FindFixed__FRP4CNetP4CNet FindFixed(CNet *&, CNet *) (gdb) PASS: gdb.c++/demangle.exp: gnu: FindFixed__FRP4CNetP4CNet maintenance demangle FindFont__7CatalogPCcN21 Catalog::FindFont(char const *, char const *, char const *) (gdb) PASS: gdb.c++/demangle.exp: gnu: FindFont__7CatalogPCcN21 maintenance demangle Fix48_abort__FR8twolongs Fix48_abort(twolongs &) (gdb) PASS: gdb.c++/demangle.exp: gnu: Fix48_abort__FR8twolongs maintenance demangle GetBarInfo__15iv2_6_VScrollerP13ivPerspectiveRiT2 iv2_6_VScroller::GetBarInfo(ivPerspective *, int &, int &) (gdb) PASS: gdb.c++/demangle.exp: gnu: GetBarInfo__15iv2_6_VScrollerP13ivPerspectiveRiT2 maintenance demangle GetBgColor__C9ivPainter ivPainter::GetBgColor(void) const (gdb) PASS: gdb.c++/demangle.exp: gnu: GetBgColor__C9ivPainter maintenance demangle Iisdouble__FPC6IntRep Iisdouble(IntRep const *) (gdb) PASS: gdb.c++/demangle.exp: gnu: Iisdouble__FPC6IntRep maintenance demangle InsertBody__15H_PullrightMenuii H_PullrightMenu::InsertBody(int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: InsertBody__15H_PullrightMenuii maintenance demangle InsertCharacter__9TextManipc TextManip::InsertCharacter(char) (gdb) PASS: gdb.c++/demangle.exp: gnu: InsertCharacter__9TextManipc maintenance demangle InsertToplevel__7ivWorldP12ivInteractorT1 ivWorld::InsertToplevel(ivInteractor *, ivInteractor *) (gdb) PASS: gdb.c++/demangle.exp: gnu: InsertToplevel__7ivWorldP12ivInteractorT1 maintenance demangle InsertToplevel__7ivWorldP12ivInteractorT1iiUi ivWorld::InsertToplevel(ivInteractor *, ivInteractor *, int, int, unsigned int) (gdb) PASS: gdb.c++/demangle.exp: gnu: InsertToplevel__7ivWorldP12ivInteractorT1iiUi maintenance demangle IsADirectory__FPCcR4stat IsADirectory(char const *, stat &) (gdb) PASS: gdb.c++/demangle.exp: gnu: IsADirectory__FPCcR4stat maintenance demangle IsAGroup__FP11GraphicViewP11GraphicComp IsAGroup(GraphicView *, GraphicComp *) (gdb) PASS: gdb.c++/demangle.exp: gnu: IsAGroup__FP11GraphicViewP11GraphicComp maintenance demangle IsA__10ButtonCodeUl ButtonCode::IsA(unsigned long) (gdb) PASS: gdb.c++/demangle.exp: gnu: IsA__10ButtonCodeUl maintenance demangle ReadName__FR7istreamPc ReadName(istream &, char *) (gdb) PASS: gdb.c++/demangle.exp: gnu: ReadName__FR7istreamPc maintenance demangle Redraw__13StringBrowseriiii StringBrowser::Redraw(int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: Redraw__13StringBrowseriiii maintenance demangle Rotate__13ivTransformerf ivTransformer::Rotate(float) (gdb) PASS: gdb.c++/demangle.exp: gnu: Rotate__13ivTransformerf maintenance demangle Rotated__C13ivTransformerf ivTransformer::Rotated(float) const (gdb) PASS: gdb.c++/demangle.exp: gnu: Rotated__C13ivTransformerf maintenance demangle Round__Ff Round(float) (gdb) PASS: gdb.c++/demangle.exp: gnu: Round__Ff maintenance demangle SetExport__16MemberSharedNameUi MemberSharedName::SetExport(unsigned int) (gdb) PASS: gdb.c++/demangle.exp: gnu: SetExport__16MemberSharedNameUi maintenance demangle Set__14ivControlState13ControlStatusUi ivControlState::Set(ControlStatus, unsigned int) (gdb) PASS: gdb.c++/demangle.exp: gnu: Set__14ivControlState13ControlStatusUi maintenance demangle Set__5DFacePcii DFace::Set(char *, int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: Set__5DFacePcii maintenance demangle VConvert__9ivTSolverP12ivInteractorRP8TElementT2 ivTSolver::VConvert(ivInteractor *, TElement *&, TElement *&) (gdb) PASS: gdb.c++/demangle.exp: gnu: VConvert__9ivTSolverP12ivInteractorRP8TElementT2 maintenance demangle VConvert__9ivTSolverP7ivTGlueRP8TElement ivTSolver::VConvert(ivTGlue *, TElement *&) (gdb) PASS: gdb.c++/demangle.exp: gnu: VConvert__9ivTSolverP7ivTGlueRP8TElement maintenance demangle VOrder__9ivTSolverUiRP12ivInteractorT2 ivTSolver::VOrder(unsigned int, ivInteractor *&, ivInteractor *&) (gdb) PASS: gdb.c++/demangle.exp: gnu: VOrder__9ivTSolverUiRP12ivInteractorT2 maintenance demangle Valid__7CatalogPCcRP4Tool Catalog::Valid(char const *, Tool *&) (gdb) PASS: gdb.c++/demangle.exp: gnu: Valid__7CatalogPCcRP4Tool maintenance demangle _10PageButton$__both PageButton::__both (gdb) PASS: gdb.c++/demangle.exp: gnu: _10PageButton$__both maintenance demangle _3RNG$singleMantissa RNG::singleMantissa (gdb) PASS: gdb.c++/demangle.exp: gnu: _3RNG$singleMantissa maintenance demangle _5IComp$_release IComp::_release (gdb) PASS: gdb.c++/demangle.exp: gnu: _5IComp$_release maintenance demangle _$_10BitmapComp BitmapComp::~BitmapComp(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: _$_10BitmapComp maintenance demangle _$_9__io_defs __io_defs::~__io_defs(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: _$_9__io_defs maintenance demangle _$_Q23foo3bar foo::bar::~bar(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: _$_Q23foo3bar maintenance demangle _$_Q33foo3bar4bell foo::bar::bell::~bell(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: _$_Q33foo3bar4bell maintenance demangle __10ivTelltaleiP7ivGlyph ivTelltale::ivTelltale(int, ivGlyph *) (gdb) PASS: gdb.c++/demangle.exp: gnu: __10ivTelltaleiP7ivGlyph maintenance demangle __10ivViewportiP12ivInteractorUi ivViewport::ivViewport(int, ivInteractor *, unsigned int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __10ivViewportiP12ivInteractorUi maintenance demangle __10ostrstream ostrstream::ostrstream(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: __10ostrstream maintenance demangle __10ostrstreamPcii ostrstream::ostrstream(char *, int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __10ostrstreamPcii maintenance demangle __11BasicDialogiPCcP13ivButtonStateN22Ui BasicDialog::BasicDialog(int, char const *, ivButtonState *, char const *, char const *, unsigned int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __11BasicDialogiPCcP13ivButtonStateN22Ui maintenance demangle __11BitmapTablei BitmapTable::BitmapTable(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __11BitmapTablei maintenance demangle __12ViewportCodeP12ViewportComp ViewportCode::ViewportCode(ViewportComp *) (gdb) PASS: gdb.c++/demangle.exp: gnu: __12ViewportCodeP12ViewportComp maintenance demangle __12iv2_6_BorderiPCci iv2_6_Border::iv2_6_Border(int, char const *, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __12iv2_6_BorderiPCci maintenance demangle __12iv2_6_Borderii iv2_6_Border::iv2_6_Border(int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __12iv2_6_Borderii maintenance demangle __12ivBackgroundiP7ivGlyphPC7ivColor ivBackground::ivBackground(int, ivGlyph *, ivColor const *) (gdb) PASS: gdb.c++/demangle.exp: gnu: __12ivBackgroundiP7ivGlyphPC7ivColor maintenance demangle __12ivBreak_Listl ivBreak_List::ivBreak_List(long) (gdb) PASS: gdb.c++/demangle.exp: gnu: __12ivBreak_Listl maintenance demangle __14TextInteractoriPCcUi TextInteractor::TextInteractor(int, char const *, unsigned int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __14TextInteractoriPCcUi maintenance demangle __14iv2_6_MenuItemiP12ivInteractor iv2_6_MenuItem::iv2_6_MenuItem(int, ivInteractor *) (gdb) PASS: gdb.c++/demangle.exp: gnu: __14iv2_6_MenuItemiP12ivInteractor maintenance demangle __14iv2_6_MenuItemiPCcP12ivInteractor iv2_6_MenuItem::iv2_6_MenuItem(int, char const *, ivInteractor *) (gdb) PASS: gdb.c++/demangle.exp: gnu: __14iv2_6_MenuItemiPCcP12ivInteractor maintenance demangle __20DisplayList_IteratorR11DisplayList DisplayList_Iterator::DisplayList_Iterator(DisplayList &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __20DisplayList_IteratorR11DisplayList maintenance demangle __3fooRT0 foo::foo(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __3fooRT0 maintenance demangle __3fooiN31 foo::foo(int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __3fooiN31 maintenance demangle __3fooiPCc foo::foo(int, char const *) (gdb) PASS: gdb.c++/demangle.exp: gnu: __3fooiPCc maintenance demangle __3fooiRT0iT2iT2 foo::foo(int, foo &, int, foo &, int, foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __3fooiRT0iT2iT2 maintenance demangle __6GetOptiPPcPCc GetOpt::GetOpt(int, char **, char const *) (gdb) PASS: gdb.c++/demangle.exp: gnu: __6GetOptiPPcPCc maintenance demangle __6KeyMapPT0 KeyMap::KeyMap(KeyMap *) (gdb) PASS: gdb.c++/demangle.exp: gnu: __6KeyMapPT0 maintenance demangle __7ivWorldPCcRiPPcPC12ivOptionDescPC14ivPropertyData ivWorld::ivWorld(char const *, int &, char **, ivOptionDesc const *, ivPropertyData const *) (gdb) PASS: gdb.c++/demangle.exp: gnu: __7ivWorldPCcRiPPcPC12ivOptionDescPC14ivPropertyData maintenance demangle __7procbufPCci procbuf::procbuf(char const *, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __7procbufPCci maintenance demangle __8ArrowCmdP6EditorUiUi ArrowCmd::ArrowCmd(Editor *, unsigned int, unsigned int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __8ArrowCmdP6EditorUiUi maintenance demangle __9F_EllipseiiiiP7Graphic F_Ellipse::F_Ellipse(int, int, int, int, Graphic *) (gdb) PASS: gdb.c++/demangle.exp: gnu: __9F_EllipseiiiiP7Graphic maintenance demangle __9FrameDataP9FrameCompi FrameData::FrameData(FrameComp *, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __9FrameDataP9FrameCompi maintenance demangle __9HVGraphicP9CanvasVarP7Graphic HVGraphic::HVGraphic(CanvasVar *, Graphic *) (gdb) PASS: gdb.c++/demangle.exp: gnu: __9HVGraphicP9CanvasVarP7Graphic maintenance demangle __Q23foo3bar foo::bar::bar(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: __Q23foo3bar maintenance demangle __Q33foo3bar4bell foo::bar::bell::bell(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: __Q33foo3bar4bell maintenance demangle __aa__3fooRT0 foo::operator&&(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __aa__3fooRT0 maintenance demangle __aad__3fooRT0 foo::operator&=(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __aad__3fooRT0 maintenance demangle __ad__3fooRT0 foo::operator&(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __ad__3fooRT0 maintenance demangle __adv__3fooRT0 foo::operator/=(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __adv__3fooRT0 maintenance demangle __aer__3fooRT0 foo::operator^=(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __aer__3fooRT0 maintenance demangle __als__3fooRT0 foo::operator<<=(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __als__3fooRT0 maintenance demangle __amd__3fooRT0 foo::operator%=(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __amd__3fooRT0 maintenance demangle __ami__3fooRT0 foo::operator-=(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __ami__3fooRT0 maintenance demangle __aml__3FixRT0 Fix::operator*=(Fix &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __aml__3FixRT0 maintenance demangle __aml__5Fix16i Fix16::operator*=(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __aml__5Fix16i maintenance demangle __aml__5Fix32RT0 Fix32::operator*=(Fix32 &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __aml__5Fix32RT0 maintenance demangle __aor__3fooRT0 foo::operator|=(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __aor__3fooRT0 maintenance demangle __apl__3fooRT0 foo::operator+=(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __apl__3fooRT0 maintenance demangle __ars__3fooRT0 foo::operator>>=(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __ars__3fooRT0 maintenance demangle __as__3fooRT0 foo::operator=(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __as__3fooRT0 maintenance demangle __cl__3fooRT0 foo::operator()(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __cl__3fooRT0 maintenance demangle __cl__6Normal Normal::operator()(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: __cl__6Normal maintenance demangle __cl__6Stringii String::operator()(int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __cl__6Stringii maintenance demangle __cm__3fooRT0 foo::operator, (foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __cm__3fooRT0 maintenance demangle __co__3foo foo::operator~(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: __co__3foo maintenance demangle __dl__3fooPv foo::operator delete(void *) (gdb) PASS: gdb.c++/demangle.exp: gnu: __dl__3fooPv maintenance demangle __dv__3fooRT0 foo::operator/(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __dv__3fooRT0 maintenance demangle __eq__3fooRT0 foo::operator==(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __eq__3fooRT0 maintenance demangle __er__3fooRT0 foo::operator^(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __er__3fooRT0 maintenance demangle __ge__3fooRT0 foo::operator>=(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __ge__3fooRT0 maintenance demangle __gt__3fooRT0 foo::operator>(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __gt__3fooRT0 maintenance demangle __le__3fooRT0 foo::operator<=(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __le__3fooRT0 maintenance demangle __ls__3fooRT0 foo::operator<<(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __ls__3fooRT0 maintenance demangle __ls__FR7ostreamPFR3ios_R3ios operator<<(ostream &, ios &(*)(ios &)) (gdb) PASS: gdb.c++/demangle.exp: gnu: __ls__FR7ostreamPFR3ios_R3ios maintenance demangle __ls__FR7ostreamR3Fix operator<<(ostream &, Fix &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __ls__FR7ostreamR3Fix maintenance demangle __lt__3fooRT0 foo::operator<(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __lt__3fooRT0 maintenance demangle __md__3fooRT0 foo::operator%(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __md__3fooRT0 maintenance demangle __mi__3fooRT0 foo::operator-(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __mi__3fooRT0 maintenance demangle __ml__3fooRT0 foo::operator*(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __ml__3fooRT0 maintenance demangle __mm__3fooi foo::operator--(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __mm__3fooi maintenance demangle __ne__3fooRT0 foo::operator!=(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __ne__3fooRT0 maintenance demangle __ne__FRC7ComplexT0 operator!=(Complex const &, Complex const &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __ne__FRC7ComplexT0 maintenance demangle __ne__FRC7Complexd operator!=(Complex const &, double) (gdb) PASS: gdb.c++/demangle.exp: gnu: __ne__FRC7Complexd maintenance demangle __ne__FRC9SubStringRC6String operator!=(SubString const &, String const &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __ne__FRC9SubStringRC6String maintenance demangle __nt__3foo foo::operator!(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: __nt__3foo maintenance demangle __nw__3fooi foo::operator new(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __nw__3fooi maintenance demangle __oo__3fooRT0 foo::operator||(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __oo__3fooRT0 maintenance demangle __opPc__3foo foo::operator char *(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: __opPc__3foo maintenance demangle __opi__3foo foo::operator int(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: __opi__3foo maintenance demangle __or__3fooRT0 foo::operator|(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __or__3fooRT0 maintenance demangle __pl__3fooRT0 foo::operator+(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __pl__3fooRT0 maintenance demangle __pp__3fooi foo::operator++(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __pp__3fooi maintenance demangle __rf__3foo foo::operator->(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: __rf__3foo maintenance demangle __rm__3fooRT0 foo::operator->*(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __rm__3fooRT0 maintenance demangle __rs__3fooRT0 foo::operator>>(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __rs__3fooRT0 maintenance demangle __vc__3fooRT0 foo::operator[](foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __vc__3fooRT0 maintenance demangle _gsub__6StringRC5RegexPCci String::_gsub(Regex const &, char const *, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: _gsub__6StringRC5RegexPCci maintenance demangle _new_Fix__FUs _new_Fix(unsigned short) (gdb) PASS: gdb.c++/demangle.exp: gnu: _new_Fix__FUs maintenance demangle _vt.foo foo virtual table (gdb) PASS: gdb.c++/demangle.exp: gnu: _vt.foo maintenance demangle _vt.foo.bar foo::bar virtual table (gdb) PASS: gdb.c++/demangle.exp: gnu: _vt.foo.bar maintenance demangle _vt$foo foo virtual table (gdb) PASS: gdb.c++/demangle.exp: gnu: _vt$foo maintenance demangle _vt$foo$bar foo::bar virtual table (gdb) PASS: gdb.c++/demangle.exp: gnu: _vt$foo$bar maintenance demangle append__7ivGlyphPT0 ivGlyph::append(ivGlyph *) (gdb) PASS: gdb.c++/demangle.exp: gnu: append__7ivGlyphPT0 maintenance demangle arg__FRC7Complex arg(Complex const &) (gdb) PASS: gdb.c++/demangle.exp: gnu: arg__FRC7Complex maintenance demangle clearok__FP7_win_sti clearok(_win_st *, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: clearok__FP7_win_sti maintenance demangle complexfunc2__FPFPc_i complexfunc2(int (*)(char *)) (gdb) PASS: gdb.c++/demangle.exp: gnu: complexfunc2__FPFPc_i maintenance demangle complexfunc3__FPFPFPl_s_i complexfunc3(int (*)(short (*)(long *))) (gdb) PASS: gdb.c++/demangle.exp: gnu: complexfunc3__FPFPFPl_s_i maintenance demangle complexfunc4__FPFPFPc_s_i complexfunc4(int (*)(short (*)(char *))) (gdb) PASS: gdb.c++/demangle.exp: gnu: complexfunc4__FPFPFPc_s_i maintenance demangle complexfunc5__FPFPc_PFl_i complexfunc5(int (*(*)(char *))(long)) (gdb) PASS: gdb.c++/demangle.exp: gnu: complexfunc5__FPFPc_PFl_i maintenance demangle complexfunc6__FPFPi_PFl_i complexfunc6(int (*(*)(int *))(long)) (gdb) PASS: gdb.c++/demangle.exp: gnu: complexfunc6__FPFPi_PFl_i maintenance demangle complexfunc7__FPFPFPc_i_PFl_i complexfunc7(int (*(*)(int (*)(char *)))(long)) (gdb) PASS: gdb.c++/demangle.exp: gnu: complexfunc7__FPFPFPc_i_PFl_i maintenance demangle contains__C9BitStringRC10BitPattern BitString::contains(BitPattern const &) const (gdb) PASS: gdb.c++/demangle.exp: gnu: contains__C9BitStringRC10BitPattern maintenance demangle contains__C9BitStringRC12BitSubStringi BitString::contains(BitSubString const &, int) const (gdb) PASS: gdb.c++/demangle.exp: gnu: contains__C9BitStringRC12BitSubStringi maintenance demangle contains__C9BitStringRT0 BitString::contains(BitString const &) const (gdb) PASS: gdb.c++/demangle.exp: gnu: contains__C9BitStringRT0 maintenance demangle div__FPC6IntRepT0P6IntRep div(IntRep const *, IntRep const *, IntRep *) (gdb) PASS: gdb.c++/demangle.exp: gnu: div__FPC6IntRepT0P6IntRep maintenance demangle div__FPC6IntReplP6IntRep div(IntRep const *, long, IntRep *) (gdb) PASS: gdb.c++/demangle.exp: gnu: div__FPC6IntReplP6IntRep maintenance demangle div__FRC8RationalT0R8Rational div(Rational const &, Rational const &, Rational &) (gdb) PASS: gdb.c++/demangle.exp: gnu: div__FRC8RationalT0R8Rational maintenance demangle divide__FRC7IntegerT0R7IntegerT2 divide(Integer const &, Integer const &, Integer &, Integer &) (gdb) PASS: gdb.c++/demangle.exp: gnu: divide__FRC7IntegerT0R7IntegerT2 maintenance demangle divide__FRC7IntegerlR7IntegerRl divide(Integer const &, long, Integer &, long &) (gdb) PASS: gdb.c++/demangle.exp: gnu: divide__FRC7IntegerlR7IntegerRl maintenance demangle enable__14DocumentViewerPCcUi DocumentViewer::enable(char const *, unsigned int) (gdb) PASS: gdb.c++/demangle.exp: gnu: enable__14DocumentViewerPCcUi maintenance demangle foo__FiN30 foo(int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: foo__FiN30 maintenance demangle foo__FiR3fooiT1iT1 foo(int, foo &, int, foo &, int, foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: foo__FiR3fooiT1iT1 maintenance demangle foo___3barl bar::foo_(long) (gdb) PASS: gdb.c++/demangle.exp: gnu: foo___3barl maintenance demangle insert__15ivClippingStacklRP8_XRegion ivClippingStack::insert(long, _XRegion *&) (gdb) PASS: gdb.c++/demangle.exp: gnu: insert__15ivClippingStacklRP8_XRegion maintenance demangle insert__16ChooserInfo_ListlR11ChooserInfo ChooserInfo_List::insert(long, ChooserInfo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: insert__16ChooserInfo_ListlR11ChooserInfo maintenance demangle insert__17FontFamilyRepListlRP15ivFontFamilyRep FontFamilyRepList::insert(long, ivFontFamilyRep *&) (gdb) PASS: gdb.c++/demangle.exp: gnu: insert__17FontFamilyRepListlRP15ivFontFamilyRep maintenance demangle leaveok__FP7_win_stc leaveok(_win_st *, char) (gdb) PASS: gdb.c++/demangle.exp: gnu: leaveok__FP7_win_stc maintenance demangle left_mover__C7ivMFKitP12ivAdjustableP7ivStyle ivMFKit::left_mover(ivAdjustable *, ivStyle *) const (gdb) PASS: gdb.c++/demangle.exp: gnu: left_mover__C7ivMFKitP12ivAdjustableP7ivStyle maintenance demangle matches__C9BitStringRC10BitPatterni BitString::matches(BitPattern const &, int) const (gdb) PASS: gdb.c++/demangle.exp: gnu: matches__C9BitStringRC10BitPatterni maintenance demangle matches__C9SubStringRC5Regex SubString::matches(Regex const &) const (gdb) PASS: gdb.c++/demangle.exp: gnu: matches__C9SubStringRC5Regex maintenance demangle overload1arg__FSc overload1arg(signed char) (gdb) PASS: gdb.c++/demangle.exp: gnu: overload1arg__FSc maintenance demangle overload1arg__FUc overload1arg(unsigned char) (gdb) PASS: gdb.c++/demangle.exp: gnu: overload1arg__FUc maintenance demangle overload1arg__FUi overload1arg(unsigned int) (gdb) PASS: gdb.c++/demangle.exp: gnu: overload1arg__FUi maintenance demangle overload1arg__FUl overload1arg(unsigned long) (gdb) PASS: gdb.c++/demangle.exp: gnu: overload1arg__FUl maintenance demangle overload1arg__FUs overload1arg(unsigned short) (gdb) PASS: gdb.c++/demangle.exp: gnu: overload1arg__FUs maintenance demangle overload1arg__Fc overload1arg(char) (gdb) PASS: gdb.c++/demangle.exp: gnu: overload1arg__Fc maintenance demangle overload1arg__Fd overload1arg(double) (gdb) PASS: gdb.c++/demangle.exp: gnu: overload1arg__Fd maintenance demangle overload1arg__Ff overload1arg(float) (gdb) PASS: gdb.c++/demangle.exp: gnu: overload1arg__Ff maintenance demangle overload1arg__Fi overload1arg(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: overload1arg__Fi maintenance demangle overload1arg__Fl overload1arg(long) (gdb) PASS: gdb.c++/demangle.exp: gnu: overload1arg__Fl maintenance demangle overload1arg__Fs overload1arg(short) (gdb) PASS: gdb.c++/demangle.exp: gnu: overload1arg__Fs maintenance demangle overload1arg__Fv overload1arg(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: overload1arg__Fv maintenance demangle overloadargs__Fi overloadargs(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: overloadargs__Fi maintenance demangle overloadargs__Fii overloadargs(int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: overloadargs__Fii maintenance demangle overloadargs__Fiii overloadargs(int, int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: overloadargs__Fiii maintenance demangle overloadargs__Fiiii overloadargs(int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: overloadargs__Fiiii maintenance demangle overloadargs__Fiiiii overloadargs(int, int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: overloadargs__Fiiiii maintenance demangle overloadargs__Fiiiiii overloadargs(int, int, int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: overloadargs__Fiiiiii maintenance demangle overloadargs__Fiiiiiii overloadargs(int, int, int, int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: overloadargs__Fiiiiiii maintenance demangle overloadargs__Fiiiiiiii overloadargs(int, int, int, int, int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: overloadargs__Fiiiiiiii maintenance demangle overloadargs__Fiiiiiiiii overloadargs(int, int, int, int, int, int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: overloadargs__Fiiiiiiiii maintenance demangle overloadargs__Fiiiiiiiiii overloadargs(int, int, int, int, int, int, int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: overloadargs__Fiiiiiiiiii maintenance demangle overloadargs__Fiiiiiiiiiii overloadargs(int, int, int, int, int, int, int, int, int, int, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: overloadargs__Fiiiiiiiiiii maintenance demangle pick__13ivCompositionP8ivCanvasRC12ivAllocationiR5ivHit ivComposition::pick(ivCanvas *, ivAllocation const &, int, ivHit &) (gdb) PASS: gdb.c++/demangle.exp: gnu: pick__13ivCompositionP8ivCanvasRC12ivAllocationiR5ivHit maintenance demangle pointer__C11ivHScrollerRC7ivEventRC12ivAllocation ivHScroller::pointer(ivEvent const &, ivAllocation const &) const (gdb) PASS: gdb.c++/demangle.exp: gnu: pointer__C11ivHScrollerRC7ivEventRC12ivAllocation maintenance demangle poke__8ivRasterUlUlffff ivRaster::poke(unsigned long, unsigned long, float, float, float, float) (gdb) PASS: gdb.c++/demangle.exp: gnu: poke__8ivRasterUlUlffff maintenance demangle polar__Fdd polar(double, double) (gdb) PASS: gdb.c++/demangle.exp: gnu: polar__Fdd maintenance demangle read__10osStdInputRPCc osStdInput::read(char const *&) (gdb) PASS: gdb.c++/demangle.exp: gnu: read__10osStdInputRPCc maintenance demangle scale__13ivTransformerff ivTransformer::scale(float, float) (gdb) PASS: gdb.c++/demangle.exp: gnu: scale__13ivTransformerff maintenance demangle scanw__12CursesWindowPCce CursesWindow::scanw(char const *,...) (gdb) PASS: gdb.c++/demangle.exp: gnu: scanw__12CursesWindowPCce maintenance demangle scmp__FPCcT0 scmp(char const *, char const *) (gdb) PASS: gdb.c++/demangle.exp: gnu: scmp__FPCcT0 maintenance demangle sgetn__7filebufPci filebuf::sgetn(char *, int) (gdb) PASS: gdb.c++/demangle.exp: gnu: sgetn__7filebufPci maintenance demangle shift__FP5_FrepiT0 shift(_Frep *, int, _Frep *) (gdb) PASS: gdb.c++/demangle.exp: gnu: shift__FP5_FrepiT0 maintenance demangle test__C6BitSeti BitSet::test(int) const (gdb) PASS: gdb.c++/demangle.exp: gnu: test__C6BitSeti maintenance demangle test__C6BitSetii BitSet::test(int, int) const (gdb) PASS: gdb.c++/demangle.exp: gnu: test__C6BitSetii maintenance demangle testbit__FRC7Integerl testbit(Integer const &, long) (gdb) PASS: gdb.c++/demangle.exp: gnu: testbit__FRC7Integerl maintenance demangle text_source__8Documentl Document::text_source(long) (gdb) PASS: gdb.c++/demangle.exp: gnu: text_source__8Documentl maintenance demangle variance__6Erlangd Erlang::variance(double) (gdb) PASS: gdb.c++/demangle.exp: gnu: variance__6Erlangd maintenance demangle vform__8iostreamPCcPc iostream::vform(char const *, char *) (gdb) PASS: gdb.c++/demangle.exp: gnu: vform__8iostreamPCcPc maintenance demangle view__14DocumentViewerP8ItemViewP11TabularItem DocumentViewer::view(ItemView *, TabularItem *) (gdb) PASS: gdb.c++/demangle.exp: gnu: view__14DocumentViewerP8ItemViewP11TabularItem maintenance demangle xy_extents__11ivExtensionffff ivExtension::xy_extents(float, float, float, float) (gdb) PASS: gdb.c++/demangle.exp: gnu: xy_extents__11ivExtensionffff maintenance demangle zero__8osMemoryPvUi osMemory::zero(void *, unsigned int) (gdb) PASS: gdb.c++/demangle.exp: gnu: zero__8osMemoryPvUi maintenance demangle _2T4$N T4::N (gdb) PASS: gdb.c++/demangle.exp: gnu: _2T4$N maintenance demangle _Q22T42t1$N T4::t1::N (gdb) PASS: gdb.c++/demangle.exp: gnu: _Q22T42t1$N maintenance demangle get__2T1 T1::get(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: get__2T1 maintenance demangle get__Q22T11a T1::a::get(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: get__Q22T11a maintenance demangle get__Q32T11a1b T1::a::b::get(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: get__Q32T11a1b maintenance demangle get__Q42T11a1b1c T1::a::b::c::get(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: get__Q42T11a1b1c maintenance demangle get__Q52T11a1b1c1d T1::a::b::c::d::get(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: get__Q52T11a1b1c1d maintenance demangle put__2T1i T1::put(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: put__2T1i maintenance demangle put__Q22T11ai T1::a::put(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: put__Q22T11ai maintenance demangle put__Q32T11a1bi T1::a::b::put(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: put__Q32T11a1bi maintenance demangle put__Q42T11a1b1ci T1::a::b::c::put(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: put__Q42T11a1b1ci maintenance demangle put__Q52T11a1b1c1di T1::a::b::c::d::put(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: put__Q52T11a1b1c1di maintenance demangle bar__3fooPv foo::bar(void *) (gdb) PASS: gdb.c++/demangle.exp: gnu: bar__3fooPv maintenance demangle bar__3fooPCv foo::bar(void const *) (gdb) PASS: gdb.c++/demangle.exp: gnu: bar__3fooPCv maintenance demangle bar__C3fooPv foo::bar(void *) const (gdb) PASS: gdb.c++/demangle.exp: gnu: bar__C3fooPv maintenance demangle bar__C3fooPCv foo::bar(void const *) const (gdb) PASS: gdb.c++/demangle.exp: gnu: bar__C3fooPCv maintenance demangle __eq__3fooRT0 foo::operator==(foo &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __eq__3fooRT0 maintenance demangle __eq__3fooRC3foo foo::operator==(foo const &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __eq__3fooRC3foo maintenance demangle __eq__C3fooR3foo foo::operator==(foo &) const (gdb) PASS: gdb.c++/demangle.exp: gnu: __eq__C3fooR3foo maintenance demangle __eq__C3fooRT0 foo::operator==(foo const &) const (gdb) PASS: gdb.c++/demangle.exp: gnu: __eq__C3fooRT0 maintenance demangle elem__t6vector1Zdi vector::elem(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: elem__t6vector1Zdi maintenance demangle elem__t6vector1Zii vector::elem(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: elem__t6vector1Zii maintenance demangle __t6vector1Zdi vector::vector(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __t6vector1Zdi maintenance demangle __t6vector1Zii vector::vector(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __t6vector1Zii maintenance demangle _$_t6vector1Zdi vector::~vector(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: _$_t6vector1Zdi maintenance demangle _$_t6vector1Zii vector::~vector(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: _$_t6vector1Zii maintenance demangle __nw__t2T11ZcUi T1::operator new(unsigned int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __nw__t2T11ZcUi maintenance demangle __nw__t2T11Z1tUi T1::operator new(unsigned int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __nw__t2T11Z1tUi maintenance demangle __dl__t2T11ZcPv T1::operator delete(void *) (gdb) PASS: gdb.c++/demangle.exp: gnu: __dl__t2T11ZcPv maintenance demangle __dl__t2T11Z1tPv T1::operator delete(void *) (gdb) PASS: gdb.c++/demangle.exp: gnu: __dl__t2T11Z1tPv maintenance demangle __t2T11Zci T1::T1(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __t2T11Zci maintenance demangle __t2T11Zc T1::T1(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: __t2T11Zc maintenance demangle __t2T11Z1ti T1::T1(int) (gdb) PASS: gdb.c++/demangle.exp: gnu: __t2T11Z1ti maintenance demangle __t2T11Z1t T1::T1(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: __t2T11Z1t maintenance demangle __Q2t4List1Z10VHDLEntity3Pix List::Pix::Pix(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: __Q2t4List1Z10VHDLEntity3Pix maintenance demangle __Q2t4List1Z10VHDLEntity3PixPQ2t4List1Z10VHDLEntity7element List::Pix::Pix(List::element *) (gdb) PASS: gdb.c++/demangle.exp: gnu: __Q2t4List1Z10VHDLEntity3PixPQ2t4List1Z10VHDLEntity7element maintenance demangle __Q2t4List1Z10VHDLEntity3PixRCQ2t4List1Z10VHDLEntity3Pix List::Pix::Pix(List::Pix const &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __Q2t4List1Z10VHDLEntity3PixRCQ2t4List1Z10VHDLEntity3Pix maintenance demangle __Q2t4List1Z10VHDLEntity7elementRC10VHDLEntityPT0 List::element::element(VHDLEntity const &, List::element *) (gdb) PASS: gdb.c++/demangle.exp: gnu: __Q2t4List1Z10VHDLEntity7elementRC10VHDLEntityPT0 maintenance demangle __Q2t4List1Z10VHDLEntity7elementRCQ2t4List1Z10VHDLEntity7element List::element::element(List::element const &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __Q2t4List1Z10VHDLEntity7elementRCQ2t4List1Z10VHDLEntity7element maintenance demangle __cl__C11VHDLLibraryGt4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntity VHDLLibrary::operator()(PixX >) const (gdb) PASS: gdb.c++/demangle.exp: gnu: __cl__C11VHDLLibraryGt4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntity maintenance demangle __cl__Ct4List1Z10VHDLEntityRCQ2t4List1Z10VHDLEntity3Pix List::operator()(List::Pix const &) const (gdb) PASS: gdb.c++/demangle.exp: gnu: __cl__Ct4List1Z10VHDLEntityRCQ2t4List1Z10VHDLEntity3Pix maintenance demangle __ne__FPvRCQ2t4List1Z10VHDLEntity3Pix operator!=(void *, List::Pix const &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __ne__FPvRCQ2t4List1Z10VHDLEntity3Pix maintenance demangle __ne__FPvRCt4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntity operator!=(void *, PixX > const &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __ne__FPvRCt4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntity maintenance demangle __t4List1Z10VHDLEntityRCt4List1Z10VHDLEntity List::List(List const &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __t4List1Z10VHDLEntityRCt4List1Z10VHDLEntity maintenance demangle __t4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntity PixX >::PixX(void) (gdb) PASS: gdb.c++/demangle.exp: gnu: __t4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntity maintenance demangle __t4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntityP14VHDLLibraryRepGQ2t4List1Z10VHDLEntity3Pi x PixX >::PixX(VHDLLibraryRep *, List::Pix) (gdb) PASS: gdb.c++/demangle.exp: gnu: __t4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntityP14VHDLLibraryRepGQ2t4List1Z10VHDLEntity3Pix maintenance demangle __t4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntityRCt4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4 List1Z10VHDLEntity PixX >::PixX(PixX > const &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __t4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntityRCt4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntity maintenance demangle nextE__C11VHDLLibraryRt4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntity VHDLLibrary::nextE(PixX > &) const (gdb) PASS: gdb.c++/demangle.exp: gnu: nextE__C11VHDLLibraryRt4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntity maintenance demangle next__Ct4List1Z10VHDLEntityRQ2t4List1Z10VHDLEntity3Pix List::next(List::Pix &) const (gdb) PASS: gdb.c++/demangle.exp: gnu: next__Ct4List1Z10VHDLEntityRQ2t4List1Z10VHDLEntity3Pix maintenance demangle _GLOBAL_$D$set global destructors keyed to set (gdb) PASS: gdb.c++/demangle.exp: gnu: _GLOBAL_$D$set maintenance demangle _GLOBAL_$I$set global constructors keyed to set (gdb) PASS: gdb.c++/demangle.exp: gnu: _GLOBAL_$I$set maintenance demangle __as__t5ListS1ZUiRCt5ListS1ZUi ListS::operator=(ListS const &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __as__t5ListS1ZUiRCt5ListS1ZUi maintenance demangle __cl__Ct5ListS1ZUiRCQ2t5ListS1ZUi3Vix ListS::operator()(ListS::Vix const &) const (gdb) PASS: gdb.c++/demangle.exp: gnu: __cl__Ct5ListS1ZUiRCQ2t5ListS1ZUi3Vix maintenance demangle __cl__Ct5SetLS1ZUiRCQ2t5SetLS1ZUi3Vix SetLS::operator()(SetLS::Vix const &) const (gdb) PASS: gdb.c++/demangle.exp: gnu: __cl__Ct5SetLS1ZUiRCQ2t5SetLS1ZUi3Vix maintenance demangle __t10ListS_link1ZUiRCUiPT0 ListS_link::ListS_link(unsigned int const &, ListS_link *) (gdb) PASS: gdb.c++/demangle.exp: gnu: __t10ListS_link1ZUiRCUiPT0 maintenance demangle __t10ListS_link1ZUiRCt10ListS_link1ZUi ListS_link::ListS_link(ListS_link const &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __t10ListS_link1ZUiRCt10ListS_link1ZUi maintenance demangle __t5ListS1ZUiRCt5ListS1ZUi ListS::ListS(ListS const &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __t5ListS1ZUiRCt5ListS1ZUi maintenance demangle next__Ct5ListS1ZUiRQ2t5ListS1ZUi3Vix ListS::next(ListS::Vix &) const (gdb) PASS: gdb.c++/demangle.exp: gnu: next__Ct5ListS1ZUiRQ2t5ListS1ZUi3Vix maintenance demangle __ne__FPvRCQ2t5SetLS1ZUi3Vix operator!=(void *, SetLS::Vix const &) (gdb) PASS: gdb.c++/demangle.exp: gnu: __ne__FPvRCQ2t5SetLS1ZUi3Vix maintenance demangle __t8ListElem1Z5LabelRt4List1Z5Label ListElem