emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdba probs


From: Stefan Monnier
Subject: Re: gdba probs
Date: Wed, 11 Dec 2002 09:11:30 -0500

>  > I understand that.  But the `M-x gdb' subset of `M-x gdba' should still
>  > work if you pass `-fullname'.  The rest of course won't, but that's OK:
>  > you get what you asked for.
> If by `should work' you mean `should be made to work' then that would be nice.

Yes, that's what I meant.

> If you want one command to to work in both cases you really need to set
> gud-marker-filter appropriately to either gud-gdb-marker-filter or
> gdba-marker-filter before sending *any* commands to GDB.

I feel like it must be possible to have a single filter deal with both cases.
The worst case would be to have a `gud-gdb-undecided-marker-filer' which
would call either one of the two filters or could even replace itself with
the appropriate filter once it has determined which case it's dealing with.

> Perhaps this could be done by parsing options given to GDB.

The command might be "./script" or "make debug" and the options passed
to gdb are then hidden in the script or the makefile, so I don't
think it's a good alternative.  Any kind of massage-args thing should be
avoided if possible.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]