2008-08-05 Phil Muldoon <pmuldoon@redhat.com>

* breakpoint.c (create_longjmp_breakpoint): Remove unused struct
	breakpoint.
	(set_longjmp_breakpoint): Likewise.
This commit is contained in:
Michael Snyder 2008-08-06 04:25:11 +00:00
parent d3ae097c44
commit ef0d312a8f
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2008-08-05 Phil Muldoon <pmuldoon@redhat.com>
* breakpoint.c (create_longjmp_breakpoint): Remove unused struct
breakpoint.
(set_longjmp_breakpoint): Likewise.
2008-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR build/2490

View File

@ -4466,7 +4466,6 @@ create_internal_breakpoint (CORE_ADDR address, enum bptype type)
static void
create_longjmp_breakpoint (char *func_name)
{
struct breakpoint *b;
struct minimal_symbol *m;
if ((m = lookup_minimal_symbol_text (func_name, NULL)) == NULL)
@ -4482,8 +4481,6 @@ create_longjmp_breakpoint (char *func_name)
void
set_longjmp_breakpoint (void)
{
struct breakpoint *b;
if (gdbarch_get_longjmp_target_p (current_gdbarch))
{
create_longjmp_breakpoint ("longjmp");