[PATCH]: memory region attributes
Fernando Nasser
fnasser@redhat.com
Sat Jan 27 14:36:00 GMT 2001
"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
More information about the Gdb-patches
mailing list