This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: mi/495: MI: Implement ui_out_field_core_addr() with core_addr_to_string()
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 7 Jan 2003 23:38:01 -0000
- Subject: Re: mi/495: MI: Implement ui_out_field_core_addr() with core_addr_to_string()
- Reply-to: Andrew Cagney <ac131313 at redhat dot com>
The following reply was made to PR mi/495; it has been noted by GNATS.
From: Andrew Cagney <ac131313@redhat.com>
To: ac131313@redhat.com, gdb-gnats@sources.redhat.com
Cc:
Subject: Re: mi/495: MI: Implement ui_out_field_core_addr() with core_addr_to_string()
Date: Tue, 07 Jan 2003 18:29:04 -0500
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=495
Almost right.
Two changes are required:
- re-implement ui_out_field_core_addr() using core_addr_to_string().
All the MI code (gdb/mi/* I think) can use this method when outputting
an address not intended for user consumption.
- create a new method
ui_out_field_address()
which would be implemented using the not-yet-available
local_address_custom() method and have all gdb/* files which are
outputting an address for user consuption using that.
This cleanup should probably wait until the local_address_custom()
method is available. See PR gdb/529.
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=529
(function name subject to discussion).
Andrew