public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Paging problem with gdb
@ 1999-11-23 10:51 Chirayu Patel
  1999-11-30 23:28 ` Chirayu Patel
  0 siblings, 1 reply; 2+ messages in thread
From: Chirayu Patel @ 1999-11-23 10:51 UTC (permalink / raw)
  To: help-gcc

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Paging problem with gdb
  1999-11-23 10:51 Paging problem with gdb Chirayu Patel
@ 1999-11-30 23:28 ` Chirayu Patel
  0 siblings, 0 replies; 2+ messages in thread
From: Chirayu Patel @ 1999-11-30 23:28 UTC (permalink / raw)
  To: help-gcc

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-11-30 23:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-23 10:51 Paging problem with gdb Chirayu Patel
1999-11-30 23:28 ` Chirayu Patel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).