This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

Paging problem with gdb


Hi,

One problem which I have encountered with gdb is with paging. When I
set 10 breakpoints with a set of commands associated with each one of
them...after printing about 80 lines (not sure), gdb prompts the user with

"---Type <return> to continue, or q <return> to quit---  "

I am not sure how to turn this prompting off. I tried "set paginnation
off" but didnt work. Any suggestions? Also, how can I enable loggin
within gdb?

My breakpoints are defined in the following format

b function1
commands
silent
disable breakpoints
printf "\n-------------function1--------------\n"
bt 3
printf "idx = %x\n", idx
call func_print (buffer,0,0)
enable breakpoints
printf "\n----------------------------------\n"
cont
end

regards,
Chirayu


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