(gdb) i ep

Local execution path table for main():

0 0x4000a80:2 (execpath.c:10) (gdb) i gep

Global execution path table:

G0 0x4000a80:2 main (execpath.c:10) (gdb) n

15 if (c) (gdb) i ep

Local execution path table for main():

0 0x4000a80:2 (execpath.c:10) (gdb) i gep

Global execution path table:

G0 0x4000a80:2 main (execpath.c:10) (gdb) n

16 printf("Value of c greater than 0\n"); (gdb) n

Value of c greater than 0

18 printf("All condition checking done\n"); (gdb) i ep

Local execution path table for main():

0 0x4000a80:2 (execpath.c:10)

2 0x4000bd0:2 (execpath.c:16) (gdb) i ep summary

Summary for local execution path table for main()

Size: 3 \*Total Number of Branch Paths in Current Function

Effective entries: 2 \*Number of Branches executed till this instant

Current entry: 2 \* Last executed branch number (gdb) i gep

Global execution path table:

G0 0x4000a80:2 main (execpath.c:10)

G1 0x4000bd0:2 main (execpath.c:16) (gdb) i gep summary

Summary for global execution path table

Size: 65536 \*Maximum execution path entries to be stored

Effective entries: 2 \*Number of global execution path entries

Current entry: 1 \*The last Global Path ID executed (gdb)

14.17 Command to Unwind Beyond 10000 Frames

The number of frames to be unwound by default is set to 10000 so that HP WDB does not run out-of-memory. To enable unwinding beyond 10000 frames, HP WDB supports the set unwind-all-framescommand at the gdb prompt.

Following is the syntax for the unwind-all-framescommand:

set unwind-all-frames [onoff]

where:

on Enables WDB to unwind beyond 10000 frames.

off Disables the limitation on the number of frames.

206 HP-UX Configuration-Specific Information

Page 206
Image 206
HP gnu source-level debugger 5992-4701 manual Command to Unwind Beyond 10000 Frames