This is the mail archive of the gdb-prs@sourceware.org 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]
Other format: [Raw text]

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


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


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