This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Newb] Stepping into cc1plus from gcc


Alexandre Oliva <aoliva@redhat.com> writes:

> On Mar 21, 2004, Andreas Schwab <schwab@suse.de> wrote:
> 
> > Alexandre Oliva <aoliva@redhat.com> writes:
> 
> >> But then you have to know the command line passed to cc1plus.  And
> >> what if gdb doesn't support --args, or if you want to use emacs and it
> >> doesn't support gdb --args?
> 
> > You don't want to use such an old gdb anyway.
> 
> But I do want to use gdb within emacs

ok. I have to ask. In emacs I type 'M-x gdb', and it responds:
    'Run gdb (like this): gdb ' and I add
    '--args /usr/local/gcc-3.3.3/lib/gcc-lib/i386-unknown-freebsd5.2/3.3.3/cc1plus ... '
    and it works happily. I am using emacs 21.2.1 and gdb 5.2.1 . 

Does this not work for you? 
    


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]