Re: [PATCH] gdb questions: fallback on maps still relevant today ?

Tom Tromey <[email protected]>
Newsgroups gmane.comp.gdb.patches
Message-ID <[email protected]>
>> That´d be fine by me. We might want to do the deprecation dance and
>> then drop from a future release.

Matthieu> What do you mean by "deprecation dance" ?
Matthieu> What would the steps be to get rid of this fallback ?

A kind of normal thing to do would be to warn users that this is going
to happen, and then make the change in release N+1.

Another approach though might be to just remove the code, since it's so
very old, and then have a fallback that warns if smaps is not found but
maps is.

gdb frequently struggles with removing dead code.  We're not always sure
it's truly dead, and some people out there run weird and/or antique
setups.

Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.