This is the mail archive of the gdb-patches@sources.redhat.com 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: [patch/rfc] Obsolete i[3456]86-*-os9k target


> I started changing:
> > if (os8k_stabs)
> <then>
> else
> <else>
> > into:
> > /* OBSOLETE if (os8k_stabs) */
> /* OBSOLETE <then> */
> /* OBSOLETE else */
> <else>
> > but gave up. Some of those if() clauses got pretty weired. Not sure > what the reader maintainers want to do.

I'll try to come up a patch that to 'if 0' those bits. I think that
the indentation and extra curly braces can be fixed later, once we
pull the code out for good. We definitely need to deactivate these parts,
otherwise os9k_stabs would be undefined.
Hmm, another way of disabling it it might be:

if (os9k_stabs) /* OBSOLETE */
...

The reason behind adding the word OBSOLETE is that it makes searching easier - just grep out any line with OBSOLETE in it.

Andrew



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