:

 

 

 

 

:

:flags 29000041

r1 51a800

rp 7f6ce597

:

:r3

7f7f0000

r4 1

 

r5 7f7f06f4

:

:r6 7f7f06fc

r7 7f7f0800

r8 7f7f0800

:

:r9

40006b10

r10

0

r11 40004b78

:

:r12

1

 

r13

0

r14 0

:

:r15

0

 

r16

40003fb8

r17 4

:

:

 

 

 

 

:

*>32

 

print_average (my_list, first, last);

33

 

print_average (my_list, first, last - 3);

34

}

 

 

 

35

 

 

 

 

36

 

 

 

 

37

 

 

 

 

----------------------------------------------------------------------

 

 

 

File: average.c Procedure: main Line: 32 pc: 0x3524

Breakpoint 1, main () at average.c:32 (gdb) la asm

(gdb) la split

(gdb) la regs

(gdb) la src

(gdb) la regs (gdb)

By default, the Source pane can scroll. To change the focus so that you can scroll in the Register pane, use the focus command (abbreviated foc or fs):

fs regs

or

foc next

If you then use the Page Down key to scroll in the Register pane, the window looks like this:

-------------------------------------------------------------------------

 

 

 

 

flags 29000041

r1 51a800

rp 7f6ce597

r3

7f7f0000

r4 1

r5

7f7f06f4

r6 7f7f06fc

r7 7f7f0800

r8 7f7f0800

r9

40006b10

r10 0

r11

40004b78

r12

 

1

r13 0

r14

0

r15

 

0

r16 40003fb8

r17

4

-------------------------------------------------------------------------

 

 

 

 

*>:32

 

print_average (my_list, first, last);

 

:

:33

 

print_average (my_list, first, last - 3);

:

:34

}

 

 

 

:

:35

 

 

 

 

:

:36

 

 

 

 

:

:37

 

 

 

 

:

:

 

 

 

 

:

File: average.c

Procedure: main

Line: 32

pc: 0x3524

 

(gdb) la asm

 

 

 

 

15.5 Changing pane focus 249

Page 249
Image 249
HP gnu source-level debugger 5992-4701 manual Fs regs Foc next