This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug cli/15841] New: Unify interactivity tests to use input_from_terminal_p
- From: "mbilal at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 15 Aug 2013 07:43:43 +0000
- Subject: [Bug cli/15841] New: Unify interactivity tests to use input_from_terminal_p
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15841
Bug ID: 15841
Summary: Unify interactivity tests to use input_from_terminal_p
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: cli
Assignee: unassigned at sourceware dot org
Reporter: mbilal at codesourcery dot com
Currently incorrectly history file is touched even if no commands get,
added to it.
below is use case for it (enabled history save on).
$ ls -als ~/gdb_history
0 -rw-rw-r-- 1 mbilal mbilal 0 Aug 8 07:14 /home/mbilal/gdb_history
$ date
Thu Aug 8 07:15:53 PKT 2013
$ ./gdb -ex "set history filename ~/gdb_history" < /dev/null
GNU gdb (GDB) 7.6.50.20130807-cvs
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) quit
$ ls -als ~/gdb_history
0 -rw-rw-r-- 1 mbilal mbilal 0 Aug 8 07:15 /home/mbilal/gdb_history
--
You are receiving this mail because:
You are on the CC list for the bug.