[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gdb emacs help newbie
From: |
Nick Roberts |
Subject: |
Re: gdb emacs help newbie |
Date: |
Wed, 28 Feb 2007 10:22:25 +1300 |
> these are the commands I type out
> emacs
> [ESC] x gdb [ENTER]
> gdb a.out
> break 6
> run
> Now the screen has split into 2 and and u see the code of the cpp file
> in the top window and gdb command line in the botton
> window
> I type n and then n to go to the next lines
> The cursor is on line 8 now
> When I try to set a breakpoint using:
> C-c C-b I get the following message "wrong type argument, sequencep,8"
> I get the same message with C-x [SPC]
> I get the same message for other lines and other files i tried
> Any help would be appreciated!!!!
This is a bug with Emacs 21 which is not present in soon-to-be-released Emacs
22. But anyway, if you place the cursor in the _source_ buffer at the line
where you want your program to stop, and do `C-x SPC' or `C-x C-a C-b' then it
should work as you want.
--
Nick http://www.inet.net.nz/~nickrob