2005-01-13 Michael Snyder <msnyder@redhat.com>

* breakpoint.c: Whitespace tweaks.
This commit is contained in:
Michael Snyder 2005-01-13 23:35:54 +00:00
parent 4791eb66b6
commit 1272ad1410
2 changed files with 9 additions and 7 deletions

View File

@ -1,5 +1,6 @@
2005-01-13 Michael Snyder <msnyder@redhat.com> 2005-01-13 Michael Snyder <msnyder@redhat.com>
* breakpoint.c: Whitespace tweaks.
* cli/cli-interp.c: Tweak comments, per coding standard. * cli/cli-interp.c: Tweak comments, per coding standard.
2005-01-13 Andrew Cagney <cagney@gnu.org> 2005-01-13 Andrew Cagney <cagney@gnu.org>

View File

@ -316,7 +316,7 @@ int deprecated_exception_support_initialized = 0;
unloaded. */ unloaded. */
#ifndef SOLIB_CREATE_CATCH_UNLOAD_HOOK #ifndef SOLIB_CREATE_CATCH_UNLOAD_HOOK
#define SOLIB_CREATE_CATCH_UNLOAD_HOOK(pid,tempflag,filename,cond_string) \ #define SOLIB_CREATE_CATCH_UNLOAD_HOOK(pid, tempflag, filename, cond_string) \
error ("catch of library unloads not yet implemented on this platform") error ("catch of library unloads not yet implemented on this platform")
#endif #endif
@ -4461,8 +4461,9 @@ solib_load_unload_1 (char *hookname, int tempflag, char *dll_pathname,
char **canonical = (char **) NULL; char **canonical = (char **) NULL;
int thread = -1; /* All threads. */ int thread = -1; /* All threads. */
/* Set a breakpoint on the specified hook. */ /* Set a breakpoint on the specified hook. */
sals = decode_line_1 (&hookname, 1, (struct symtab *) NULL, 0, &canonical, NULL); sals = decode_line_1 (&hookname, 1, (struct symtab *) NULL,
0, &canonical, NULL);
addr_end = hookname; addr_end = hookname;
if (sals.nelts == 0) if (sals.nelts == 0)
@ -4536,7 +4537,7 @@ void
create_solib_unload_event_breakpoint (char *hookname, int tempflag, create_solib_unload_event_breakpoint (char *hookname, int tempflag,
char *dll_pathname, char *cond_string) char *dll_pathname, char *cond_string)
{ {
solib_load_unload_1 (hookname,tempflag, dll_pathname, solib_load_unload_1 (hookname, tempflag, dll_pathname,
cond_string, bp_catch_unload); cond_string, bp_catch_unload);
} }
@ -6723,7 +6724,7 @@ delete_breakpoint (struct breakpoint *bpt)
A real solution to this problem might involve reference counts in bp's, 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 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 teaching delete_breakpoint to only free a bp's storage when no more
references were extent. A cheaper bandaid was chosen. */ references were extent. A cheaper bandaid was chosen. */
if (bpt->type == bp_none) if (bpt->type == bp_none)
return; return;
@ -6747,7 +6748,7 @@ delete_breakpoint (struct breakpoint *bpt)
isn't actually running. target_enable_exception_callback for a isn't actually running. target_enable_exception_callback for a
null target ops vector gives an undesirable error message, so we 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 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 */ exceptions are supported in this way, it's OK for now. FIXME */
if (ep_is_exception_catchpoint (bpt) && target_has_execution) if (ep_is_exception_catchpoint (bpt) && target_has_execution)
{ {
/* Format possible error msg */ /* Format possible error msg */
@ -7526,7 +7527,7 @@ enable_breakpoint (struct breakpoint *bpt)
/* The enable command enables the specified breakpoints (or all defined /* The enable command enables the specified breakpoints (or all defined
breakpoints) so they once again become (or continue to be) effective breakpoints) so they once again become (or continue to be) effective
in stopping the inferior. */ in stopping the inferior. */
static void static void
enable_command (char *args, int from_tty) enable_command (char *args, int from_tty)