This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [ob] Eliminate another gdb_suppress_entire_file


> > Should we try to remove all the instances of gdb_suppress_entire_file?
> > I don't remember if there are some cases where it's legit to use them.
> 
> I'd be in favor.
> 
> It's not a bad idea, really.  But the way the GDB testsuite is layed
> out, I think it's impractical - and I know that in practice it doesn't
> work, because it will always provoke an ERROR: Gdb did not load after
> 10 seconds (or something similar to that).

Oh ho, I just did a quick grep, and found 352 occurences.
That's a lot of work... I wonder if we could do that in a mechanical
way. It seems as though replacing this by an error followed by a return
would be OK, but not ideal. 

Hmmm. Perhaps a first step to stop any potential spread would be to
rename it deprecated_gdb_suppress_entire_file.

-- 
Joel


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