This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
remote/2200: Unable to work with targets not supporting 'P' packets
- From: trevor at pp dot org dot pl
- To: gdb-gnats at sources dot redhat dot com
- Date: 15 Nov 2006 21:03:11 -0000
- Subject: remote/2200: Unable to work with targets not supporting 'P' packets
- Reply-to: trevor at pp dot org dot pl
>Number: 2200
>Category: remote
>Synopsis: Unable to work with targets not supporting 'P' packets
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 15 21:08:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: trevor@pp.org.pl
>Release: gdb-6.5 gdb-cvs
>Organization:
>Environment:
>Description:
Register fetch in func. remote_fetch_registers() in the first approach is to be done through 'p' packet, and if that fails, the 'p' packet is marked as unsupported. But it doesn't work, because fetch_register_using_p throws exception when fails and the support is never marked as disabled.
>How-To-Repeat:
try to get any register from remote target not supporting 'p' packets.
>Fix:
Change exception throw (through error()) in fetch_register_using_p into warning() and return right value to remote_fetch_registers().
>Release-Note:
>Audit-Trail:
>Unformatted: