This is the mail archive of the gdb@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: FW: Targeting dual Harvard architectures


Jim Blandy <jimb@redhat.com> writes:
> "Ken Dyck" <Ken.Dyck@dspfactory.com> writes:
> > 1. Is it possible to modify gdb to support architectures with multiple
> > memory spaces in a "user friendly" way (where "user friendly" is
> > something like what David Taylor described in
> > http://sources.redhat.com/ml/gdb/2001-02/msg00090.html)? So far my
> > impression is yes.
> 
> Yes --- with the understanding that it's restricted to just distinct
> code and data spaces at the moment --- you can say:
> 
>   x/i (@code char *) 0x1234
>   x/i (@data char *) 0x1234
> 
> and it'll do the right thing, if you define the ADDRESS_TO_POINTER and
> POINTER_TO_ADDRESS methods appropriately.
> 
> (Hey, this isn't in the GDB manual anywhere!)

I've filed a bug about this.


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