This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
cli/1693: Don't prompt for continue if logging and logging redirection is on
- From: lee at bustech dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 25 Jun 2004 19:20:25 -0000
- Subject: cli/1693: Don't prompt for continue if logging and logging redirection is on
- Reply-to: lee at bustech dot com
>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: