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]

Re: [PATCH]: memory region attributes


"J.T. Conklin" wrote:
> 
> One possibility is to expose the default attribute.  At the present,
> it is wholly contained within memattr.c.  But we could expose it for
> now so that it could be passed when no other attribute can be found.
> 

What about a "struct mem_attrib *get_default_mem_attrib (void)"
function?

Maybe some "set" functions to set, for instance, the mem_access_width
and other fields without having to know about the structure internals.
This would be used by the several interpreters (cli, gdbtk, guile, mi
etc.)
to implement their incarnations of the "mem" command.


-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9

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