This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob/commit] breakpoint.c -- whitespace tweaks
- From: Michael Snyder <msnyder at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 13 Jan 2005 15:36:46 -0800
- Subject: [ob/commit] breakpoint.c -- whitespace tweaks
- Organization: Red Hat, Inc.
2005-01-13 Michael Snyder <msnyder@redhat.com>
* breakpoint.c: Whitespace tweaks.
Index: breakpoint.c
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.190
diff -p -r1.190 breakpoint.c
*** breakpoint.c 13 Jan 2005 22:08:26 -0000 1.190
--- breakpoint.c 13 Jan 2005 23:34:16 -0000
*************** int deprecated_exception_support_initial
*** 316,322 ****
unloaded. */
#ifndef SOLIB_CREATE_CATCH_UNLOAD_HOOK
! #define SOLIB_CREATE_CATCH_UNLOAD_HOOK(pid,tempflag,filename,cond_string) \
error ("catch of library unloads not yet implemented on this platform")
#endif
--- 316,322 ----
unloaded. */
#ifndef SOLIB_CREATE_CATCH_UNLOAD_HOOK
! #define SOLIB_CREATE_CATCH_UNLOAD_HOOK(pid, tempflag, filename, cond_string) \
error ("catch of library unloads not yet implemented on this platform")
#endif
*************** solib_load_unload_1 (char *hookname, int
*** 4461,4468 ****
char **canonical = (char **) NULL;
int thread = -1; /* All threads. */
! /* Set a breakpoint on the specified hook. */
! sals = decode_line_1 (&hookname, 1, (struct symtab *) NULL, 0, &canonical, NULL);
addr_end = hookname;
if (sals.nelts == 0)
--- 4461,4469 ----
char **canonical = (char **) NULL;
int thread = -1; /* All threads. */
! /* Set a breakpoint on the specified hook. */
! sals = decode_line_1 (&hookname, 1, (struct symtab *) NULL,
! 0, &canonical, NULL);
addr_end = hookname;
if (sals.nelts == 0)
*************** void
*** 4536,4542 ****
create_solib_unload_event_breakpoint (char *hookname, int tempflag,
char *dll_pathname, char *cond_string)
{
! solib_load_unload_1 (hookname,tempflag, dll_pathname,
cond_string, bp_catch_unload);
}
--- 4537,4543 ----
create_solib_unload_event_breakpoint (char *hookname, int tempflag,
char *dll_pathname, char *cond_string)
{
! solib_load_unload_1 (hookname, tempflag, dll_pathname,
cond_string, bp_catch_unload);
}
*************** delete_breakpoint (struct breakpoint *bp
*** 6723,6729 ****
A real solution to this problem might involve reference counts in bp's,
and/or giving them pointers back to their referencing bpstat's, and
teaching delete_breakpoint to only free a bp's storage when no more
! references were extent. A cheaper bandaid was chosen. */
if (bpt->type == bp_none)
return;
--- 6724,6730 ----
A real solution to this problem might involve reference counts in bp's,
and/or giving them pointers back to their referencing bpstat's, and
teaching delete_breakpoint to only free a bp's storage when no more
! references were extent. A cheaper bandaid was chosen. */
if (bpt->type == bp_none)
return;
*************** delete_breakpoint (struct breakpoint *bp
*** 6747,6753 ****
isn't actually running. target_enable_exception_callback for a
null target ops vector gives an undesirable error message, so we
check here and avoid it. Since currently (1997-09-17) only HP-UX aCC's
! exceptions are supported in this way, it's OK for now. FIXME */
if (ep_is_exception_catchpoint (bpt) && target_has_execution)
{
/* Format possible error msg */
--- 6748,6754 ----
isn't actually running. target_enable_exception_callback for a
null target ops vector gives an undesirable error message, so we
check here and avoid it. Since currently (1997-09-17) only HP-UX aCC's
! exceptions are supported in this way, it's OK for now. FIXME */
if (ep_is_exception_catchpoint (bpt) && target_has_execution)
{
/* Format possible error msg */
*************** enable_breakpoint (struct breakpoint *bp
*** 7526,7532 ****
/* The enable command enables the specified breakpoints (or all defined
breakpoints) so they once again become (or continue to be) effective
! in stopping the inferior. */
static void
enable_command (char *args, int from_tty)
--- 7527,7533 ----
/* The enable command enables the specified breakpoints (or all defined
breakpoints) so they once again become (or continue to be) effective
! in stopping the inferior. */
static void
enable_command (char *args, int from_tty)