This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cli/1693: Don't prompt for continue if logging and logging redirection is on


>Number:         1693
>Category:       cli
>Synopsis:       Don't prompt for continue if logging and logging redirection is on
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 25 19:28:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Lee Merrill
>Release:        GNU gdb 6.1.1
>Organization:
>Environment:
Linux leepc.nc.bustech.com 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
This GDB was configured as "i686-pc-linux-gnu".
>Description:
If a user turns on logging, also turns on logging redirection, it would be nice if the prompt-for-continue ceased, so a script that dumps lots of data could run unattended.
>How-To-Repeat:
set logging redirect on
set logging file mytrace.txt
set logging on

# Long script that dumps lots of data...
>Fix:
In prompt_for_continue(), check for logging_redirect set and logging active, and return if they are both set.
>Release-Note:
>Audit-Trail:
>Unformatted:


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