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: [PATCH] gdb: Move DJGPP/go32 bits to their own tdep file


> Cc: gdb-patches@sourceware.org
> From: Pedro Alves <palves@redhat.com>
> Date: Wed, 12 Apr 2017 15:25:56 +0100
> 
> >> Thanks, but why single out go32?  
> > 
> > Because incremental progress.
> 
> Specifically, the "trouble finding djgpp bits" I'm referring to
> happened after you pointed me that djgpp needed a tweak too:
> 
>  https://sourceware.org/ml/gdb-patches/2017-03/msg00538.html
> 
> At first, I didn't see a tdep file and so I thought that I'd have
> to add one, and maybe come up with a djgpp arch sniffer.  It took
> me a few minutes to realize that we already have go32-specific
> tdep bits in the generic i386 file.  So that's my only
> motivation -- exactly to make it easier to spot the djgpp bits
> quicker.  There's no other rationale behind this.  If I'll have to
> go do more things to other ports to get this in, I'm afraid I'll
> just drop the patch, because _I_ will have learned about them and
> know next time where to look.

It's fine with me if you decide to make only that change.  I just
think that if you had this difficulty with go32 bits, someone else
might have the same difficulty with SVR4 bits.  That's why I wrote
what I wrote.


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