From: Andrew Cagney <ac131313@cygnus.com>
To: Eli Zaretskii <eliz@is.elta.co.il>
Cc: gdb@sources.redhat.com
Subject: Re: [5.1/mi] Enable MI interface
Date: Wed, 21 Mar 2001 15:59:00 -0000 [thread overview]
Message-ID: <3AA51424.E626A0A8@cygnus.com> (raw)
In-Reply-To: <Pine.SUN.3.91.1010306104531.7922D@is>
Eli Zaretskii wrote:
> So, at the very least, I should review the code in gdb/mi and see that
> it compiles and doesn't do anything that shouldn't be done on
> DOS/Windows.
Yes. It should compile.
The question, does MI make sense under DJGPP should probably also be
considered. The current convention is to include everything. It isn't
for us to decide what someone should or shouldn't use.
> Which reminds me: is there any reasonable way to prevent GDB from
> linking in all those *read.c modules DJGPP users will never need?
> I've never understood why do we have to pull into GDB things like
> mipsread, os9kread, mdebugread, and others, which will never be used.
> (Note that this setup predates multi-arch, so there's got to be some
> reason which doesn't involve multi-arch.) If I don't link those in, I
> might save a significant part of memory footprint, and prevent the
> line number overflow while at that.
At present no. Because the same GDB can be used to debug both native and
remote targets, support for all possible debuging formats is always
included. Yes, some of them don't make much sense.
The same issue arises with the simulator targets. Native GDB's include
simulators even though some people think they are excess baggage.
I think a good time to review these conventions is going to be when
--with-targets=..,.. starts working. At that point, GDB would be able
to contain everything - gaining more than just a few kilos :-) It would
probably make sense to only include the debug formats applicable to the
selected group of targets.
Andrew
next prev parent reply other threads:[~2001-03-21 15:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-21 15:59 Andrew Cagney
2001-03-21 15:59 ` Eli Zaretskii
2001-03-21 15:59 ` Andrew Cagney
2001-03-21 15:59 ` Eli Zaretskii
2001-03-21 15:59 ` Andrew Cagney [this message]
2001-03-21 15:59 ` Eli Zaretskii
[not found] <983824932.9190.ezmlm@sources.redhat.com>
2001-03-21 15:59 ` Jim Ingham
2001-03-21 15:59 ` Eli Zaretskii
2001-03-21 15:59 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3AA51424.E626A0A8@cygnus.com \
--to=ac131313@cygnus.com \
--cc=eliz@is.elta.co.il \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox