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: RFA: ia64 tdep patch


On Oct 22,  3:02pm, Marcel Moolenaar wrote:

> > They are needed because r32 to r127 are not accessible via the PTRACE 
> > interface. They are accessed via the bsp.  Without flagging them as 
> >  pseudo-registers, the regcache code returns 0 for all these registers.
> 
> It depends. For FreeBSD I added ptrace(2) functions to get and set
> stacked registers that are on the kernel stack. The problem more
> generally is that registers above bspstore (but below bsp) are
> not accessable in memory. I think it's better for gdb to keep the
> distinction between stacked registers on the backing store and
> "dirty" stacked registers. The distinction avoids that gdb makes
> assumptions that are only valid on Linux or even only for the native
> code.

Unfortunately, the assumptions that you mention are already in place.
(And have been in place for quite some time).

> BTW: I have partial support for FreeBSD/ia64. I'll send patches as
> soon as I feel that the backtrace is reliable enough.

Patches will most certainly be welcome.  Do you have an FSF copyright
assignment for GDB yet?  If not, you might want to start working on
the paperwork now...

Kevin


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