This is the mail archive of the gdb-patches@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]

Re: [PATCH] Let gdbserver doesn't tell GDB it support target-side breakpoint conditions and commands if it doesn't support 'Z' packet


On 12/12/2013 12:55 PM, Pedro Alves wrote:
> 2013-12-12  Pedro Alves  <palves@redhat.com>
> 	    Hui Zhu  <hui@codesourcery.com>
> 
> 	PR gdb/16101
> 	* breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
> 	bp_err_string.  Don't mark the location shlib_disabled if the
> 	error thrown wasn't a generic or memory error.  Catch errors
> 	thrown while inserting breakpoints in overlayed code.  Output
> 	error message of software breakpoints.
> 	* remote.c (remote_insert_breakpoint): If this breakpoint has
> 	target-side commands but this stub doesn't support Z0 packets,
> 	throw NOT_SUPPORTED_ERROR error.
> 	* exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
> 	* target.h (target_insert_breakpoint): Extend comment.
> 	(target_insert_hw_breakpoint): Add comment.

I've pushed this one in.

-- 
Pedro Alves


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