[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs, gdb and runsparc.
From: |
Tom Tromey |
Subject: |
Re: Emacs, gdb and runsparc. |
Date: |
Mon, 24 Nov 2008 16:08:17 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
>>>>> ">" == kidologie <richwellum@gmail.com> writes:
>> The simulator being used is runsol/runsparc. Outside of emacs, I would
>> do 'runsparc gdb ./<image>' and this works fine. But through emacs I
>> am having issues. For example:
>> I think what's going on essentially is that, gdb emacs is being handed
>> an additional command: runsol, which it is interpreting as being the
>> debugger. The additional file names are treated as files to be
>> debugged. By pre-pending the fully-qualified path, emacs is forcing
>> the change to the CWD to that path.
Yeah. I've been bit by this myself.
>> So I think I need an emacs hook to handle this integration? An
>> alternative is to actually copy 'gdb' to the working directory and
>> then this works: M-x gdb: runsparc ./gdb ./<image>
One workaround would be a shell script which invokes 'runsparc gdb $@'.
Tom