remote/2200: Unable to work with targets not supporting 'P' packets

trevor@pp.org.pl trevor@pp.org.pl
Wed Nov 15 21:08:00 GMT 2006


>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:



More information about the Gdb-prs mailing list