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] S/390 port modernization 1/4


Ulrich Weigand <weigand@i1.informatik.uni-erlangen.de> writes:
> Jim Blandy wrote:
> 
> > The regset_from_core_section stuff is done exactly the way the i386
> > and x86-64 do it, so I won't criticize it.  But there are two things I
> > wonder about:
> > 
> > - Since core file formats are really OS-specific (ABI's often don't
> >   specify them), wouldn't it make more sense for the *-nat.c file to
> >   register an OS/ABI handler, and have that handler register the
> >   regset_from_core_section method?
> 
> Defining the core file format in *-nat.c would mean that a cross-gdb
> wouldn't understand core files, right?

I think you're right.  I guess that answers my question.


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