How to get gdb to run continuously

View: New views
2 Messages — Rating Filter:   Alert me  

How to get gdb to run continuously

by parag-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have run a script and I dont want gdb to manually press enter all
the time

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


due to this , teh script is asking me to press thousands of enters,
whenevr it stops
can this be done with

the script is something like the following

while (1)
cont
display a->b
end


_______________________________________________
bug-gdb mailing list
bug-gdb@...
http://lists.gnu.org/mailman/listinfo/bug-gdb

Re: How to get gdb to run continuously

by parag-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sep 8, 2:34 pm, parag <parag.p...@...> wrote:

> I have run a script and I dont want gdb to manually press enter all
> the time
>
> ---Type <return> to continue, or q <return> to quit---
>
> due to this , teh script is asking me to press thousands of enters,
> whenevr it stops
> can this be done with
>
> the script is something like the following
>
> while (1)
> cont
> display a->b
> end

I got the answer
set height 100000
and it will show at least 100000 line before stopping :)
_______________________________________________
bug-gdb mailing list
bug-gdb@...
http://lists.gnu.org/mailman/listinfo/bug-gdb