all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#7575: gdb command history saving
@ 2010-12-06 16:49 Pete Beardmore
  2010-12-07  1:28 ` Glenn Morris
  2022-01-31 16:51 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 7+ messages in thread
From: Pete Beardmore @ 2010-12-06 16:49 UTC (permalink / raw)
  To: 7575

Hi.

When GDB is used through emacs, command history is not saved to my  
.gdbhist file on gdb 'quit'.

I use a MinGW/msys/bash environment. When gdb is used from the shell  
prompt, the settings in .gdbinit are sufficient to ensure ~/.gdbhist  
(or h:/install/MinGW/msys/1.0/home/pbeardm1/.gdbhist ..I've  
experimented with both) is successfully written to with the GDB  
command history.

When i use GNU emacs 23.2.1 (i386-mingw-nt5.1.2600) from this shell  
and start the debugger within, having typed a few arbitrary commands  
to populate the command history / ring, i quit the debugger and ..

..observe a time stamp change on the correct .gdbhist file ..BUT find  
its content exactly as it was previously i.e. with nothing appended.

I expect to see my last GDB commands written to the file.

Note: through emacs, this file is not read either ..which makes me  
think that i haven't tweaked 'input ring' settings to use this file as  
a 'ring source' or something. I enquired on the IRC channel and got  
tumbleweeds ..hence i call this a 'bug' (quotes) to leave room for the  
possibility of it being a trivial config issue!

Thanks.





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

end of thread, other threads:[~2022-03-01 15:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-06 16:49 bug#7575: gdb command history saving Pete Beardmore
2010-12-07  1:28 ` Glenn Morris
2011-03-09  9:02   ` Glenn Morris
2011-06-02 17:58   ` Pete Beardmore
2011-06-02 21:50     ` Glenn Morris
2022-01-31 16:51 ` Lars Ingebrigtsen
2022-03-01 15:46   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.