aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2008-11-14(set_lang_c): Delete.Doug Evans1-35/+3
(runto_main): If it fails, call fail instead of gdb_suppress_tests.
2008-11-14*** empty log message ***gdbadmin1-1/+1
2008-11-13 * printcmd.c: define PRINTF_HAS_LONG_LONG only if not yet defined.Joel Brobecker2-1/+5
2008-11-13gdb/ChangeLog:Ulrich Weigand2-1/+8
* auxv.c (fprint_target_auxv): Handle AT_BASE_PLATFORM and AT_EXECFN. Re-sort AT_SECURE. include/elf/ChangeLog: * common.h (AT_BASE_PLATFORM, AT_EXECFN): Define.
2008-11-13 * monitor.c (monitor_insert_breakpoint): Remove unused variable `bp'.Jan Kratochvil2-2/+5
2008-11-13 * ia64-tdep.c: Remove commented out #define.Joel Brobecker2-3/+4
2008-11-13 * remote-sim.c (gdbsim_mourn_inferior): Use "target" parameterJoel Brobecker2-1/+7
instead of the "gdbsim_ops" global.
2008-11-13*** empty log message ***gdbadmin1-1/+1
2008-11-12 * infcall.c (call_function_by_hand): Handle inferior exit.Doug Evans5-0/+142
* gdb.base/callexit.exp: New file. * gdb.base/callexit.c: New file.
2008-11-12*** empty log message ***gdbadmin1-1/+1
2008-11-11 * remote-sim.c (gdbsim_create_inferior, gdbsim_mourn_inferior): AddThiago Jung Bauermann2-3/+9
missing struct target_ops argument.
2008-11-112008-11-11 Joel Sherrill <joel.sherrilL@oarcorp.com>Joel Sherrill2-0/+5
* MAINTAINERS: Add myself for write after approval privileges.
2008-11-11 * lib/gdb.exp (GDBFLAGS): Move -nx ...Doug Evans7-32/+51
(INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well. (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations. (default_gdb_start,default_gdb_exit): Ditto. * lib/mi-support.exp (default_mi_gdb_start): Ditto. (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message. * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations. * gdb.base/dbx.exp (dbx_gdb_start): Ditto. * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append. * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
2008-11-11*** empty log message ***gdbadmin1-1/+1
2008-11-10 * gdbtypes.c (copy_type_recursive): Clear new fields.Tom Tromey2-0/+5
2008-11-10 * cli/cli-cmds.c (source_script): Clean up full_pathname. RunTom Tromey2-1/+10
cleanups on early return.
2008-11-10*** empty log message ***gdbadmin1-1/+1
2008-11-09 Kill pthread_ops_hackVladimir Prus28-180/+309
* target.h (struct target_ops): Make to_attach, to_detach, to_create_inferior and to_mourn_inferior accept a pointer to struct target_ops. (target_attach, target_create_inferior, target_create_inferior): Convert from macros to function. Find the right target to invoke a method of. (find_default_attach, find_default_create_inferior): New parameter ops. * corefile.c (core_file_command): Pass target to to_detach. * corelow.c (core_detach): Add 'ops' parameter. * fork-child.c (fork_inferior): Return the pid. Allow init_trace_fun to be NULL. * inf-ptrace (ptrace_ops_hack): Remove. (inf_ptrace_him): Remove, moving all logic into.... (inf_ptrace_create_inferior): ... here. Push the target passed as parameter. (inf_ptrace_mourn_inferior, inf_ptrace_attach, inf_ptrace_detach): Push/pop target passed as parameter, no ptrace_ops_hack. (inf_ptrace_target): Don't remember result. * inferior.h (fork_inferior): Adjust prototype. * linux-nat.c (linux_nat_create_inferior, linux_nat_attach) (linux_nat_detach, linux_nat_mourn_inferior): New parameter ops. Pass it to linux_ops target. * linux-thread-db.c (thread_db_detach, thread_db_mourn_inferior): New parameter ops. Pass it to the target beneath. * remote.c (remote_mourn, extended_remote_mourn, remote_detach) (extended_remote_create_inferior): New parameter ops. Pass it further. * target.c (debug_to_attach, debug_to_detach) (debug_to_mourn_inferior): New parameter ops. (target_create_inferior): New. (update_current_target): Do not inherit to_attach, to_detach, to_create_inferiour, to_mourn_inferior. Do not default to_detach and to_mourn_inferior. (target_detach): Find the right target to use. (target_mourn_inferior): New. (find_default_attach, find_default_create_inferior): New parameter ops. Pass the found target when calling its method. (init_dummy_target): Provide fallback definition of to_detach. (target_attach): New. (debug_to_attach, debug_to_detach, debug_to_create_inferior) (debug_to_mourn_inferiour): New parameter ops. * aix-thread.c: Adjust. * bsd-uthread.c: Adjust. * gnu-nat.c: Adjust. * go32-nat.c: Adjust. * hpux-thread.c: Adjust. * inf-ttrace.c: Ajust. * monitor.c: Adjust. * nto-procfs.c: Adjust. * procfs.c: Adjust. * remote-m32r-sdi.c: Adjust. * remote-mips.c: Adjust. * remote-sim.c: Adjust. * rs6000-nat.c: Adjust. * sol-thread.c: Adjust. * win32-nat.c: Adjust. * dec-thread.c: Adjust.
2008-11-09 * thread.c (print_thread_info): Eliminate now useless checksVladimir Prus2-12/+12
for exited threads.
2008-11-09*** empty log message ***gdbadmin1-1/+1
2008-11-08(coff_symtab_read): Fix a typo in a comment.Eli Zaretskii1-1/+1
2008-11-08*** empty log message ***gdbadmin1-1/+1
2008-11-07fix typo in dateDoug Evans1-1/+1
2008-11-07*** empty log message ***gdbadmin1-1/+1
2008-11-06 * i386-dicos-tdep.c (i386_dicos_init_abi): Set decr_pc_after_breakPedro Alves2-0/+9
to 0.
2008-11-06*** empty log message ***gdbadmin1-1/+1
2008-11-05 * remote.c (notice_new_inferiors): Add a new inferior only whenPedro Alves2-7/+12
we're going to add a new thread.
2008-11-05 * defs.h (add_inferior_continuation)Pedro Alves8-5/+107
(do_all_inferior_continuations) (discard_all_inferior_continuations): Declare. * utils.c (add_inferior_continuation) (do_all_inferior_continuations) (discard_all_inferior_continuations): New. * inferior.h (struct inferior) <continuations>: New field. * inferior.c (free_inferior): Discard all the inferior continuations. * inf-loop.c (inferior_event_handler): Do all current inferior continuations. * infcmd.c (attach_command): Register an inferior continuation instead of a thread continuation. * infrun.c (handle_inferior_event): If stop_soon is STOP_QUIETLY_NO_SIGSTOP, also expect a TARGET_SIGNAL_0.
2008-11-05*** empty log message ***gdbadmin1-1/+1
2008-11-04 * inf-loop.c (inferior_event_handler): On INF_ERROR andPedro Alves3-15/+20
INF_REG_EVENT throwing, don't call target_async or pop_target. Call pop_all_targets_above. * remote.c (remote_close): Call remote_terminal_ours. Don't call signal or target_async.
2008-11-04 * eval.c (evaluate_subexp_standard): Assert that there is atDaniel Jacobowitz2-0/+7
least one array dimension.
2008-11-04*** empty log message ***gdbadmin1-1/+1
2008-11-03 Make attach_command exception-safeVladimir Prus2-0/+10
* infcmd.c (attach_command): Call async_enable_stdin if exception is thrown.
2008-11-03* gdb.base/hashline2.exp: Fix typo.Andreas Schwab3-2/+7
* gdb.base/hashline3.exp: Likewise.
2008-11-03 * gdbarch.sh (has_global_solist): Mention global breakpoints.Pedro Alves3-1/+12
* gdbarch.h: Regenerate.
2008-11-03 * remote.c (remote_start_remote): If the solib list is global,Pedro Alves10-15/+121
fetch libraries and insert breakpoints after connecting. * infcmd.c (post_create_inferior): If the solist is shared between inferiors, no need to refetch it on every new inferior. (detach_command): If the shared library list is shared between inferiors, then don't clear it on every inferior detach. * gdbarch.sh (has_global_solist): New. * i386-dicos-tdep.c (i386_dicos_init_abi): Set gdbarch_has_global_solist. * target.c (target_pre_inferior): If the shared library list is shared between inferiors, then don't clear it here, neither invalidate the memory regions or clear the target description. (target_detach): If the shared library list is shared between inferiors, then don't remove breakpoints from the target here. (target_disconnect): Comment. * solib.c (update_solib_list): Check for null_ptid. * breakpoint.c (insert_breakpoints, update_global_location_list): If the shared library list is shared between inferiors, insert breakpoints even if there's no execution. (breakpoint_init_inferior): If the shared library list is shared between inferiors, don't delete breakpoints or mark them uninserted here. * gdbarch.c, gdbarch.h: Regenerate.
2008-11-03*** empty log message ***gdbadmin1-1/+1
2008-11-02*** empty log message ***gdbadmin1-1/+1
2008-11-01*** empty log message ***gdbadmin1-1/+1
2008-10-31Fix ChangeLog datesTom Tromey1-3/+3
2008-10-31 * inferior.h (inferior_ignoring_leading_exec_events): DeletePedro Alves2-8/+5
declaration.
2008-10-31 * inferior.h (write_inferior_status_register): Delete.Pedro Alves3-14/+5
* infrun.c (write_inferior_status_register): Delete.
2008-10-31*** empty log message ***gdbadmin1-1/+1
2008-10-30gdbTom Tromey5-5/+37
* value.c (coerce_array): Use check_typedef. gdb/testsuite * gdb.base/pointers.exp: Add test. * gdb.base/pointers.c (k, S): New typedefs. (instance): New global.
2008-10-30 * cli/cli-logging.c (handle_redirections): Make a cleanup.Tom Tromey6-4/+26
* reggroups.c (maintenance_print_reggroups): Make a cleanup. * regcache.c (regcache_print): Make a cleanup. * maint.c (maintenance_print_architecture): Make a cleanup. * dummy-frame.c (maintenance_print_dummy_frames): Make a cleanup.
2008-10-30 * utils.c (make_cleanup_close): Use make_cleanup_dtor.Tom Tromey2-2/+6
(do_close_cleanup): Don't free 'fd'.
2008-10-30 * source.c (symtab_to_fullname): Test 'r >= 0'.Tom Tromey4-37/+58
(psymtab_to_fullname): Likewise. (get_filename_and_charpos): Make a cleanup. (forward_search_command): Likewise. (reverse_search_command): Likewise. * exec.c (exec_file_attach): Close scratch_chan on failure. * nto-procfs.c (procfs_open): Make a cleanup. (procfs_pidlist): Likewise. (do_closedir_cleanup): New function.
2008-10-30 * infcmd.c (construct_inferior_arguments): Handle newlinesAndreas Schwab4-4/+33
specially. testsuite/: * gdb.base/args.exp: Add tests for newlines.
2008-10-30 gdb.base/foll-exec.exp: Update the expected output of a coupleJoel Brobecker2-14/+15
of "info breakpoints" tests.
2008-10-30 * breakpoint.h (enum bptype): Delete bp_catch_exec.Joel Brobecker3-117/+92
* breakpoint.c (insert_catchpoint): Remove handling for bp_catch_exec breakpoint kinds. (insert_bp_location, update_breakpoints_after_exec, remove_breakpoint) (ep_is_catchpoint, print_it_typical, bpstat_check_location), (bpstat_check_location, bpstat_what, print_one_breakpoint_location) (print_one_breakpoint_location, user_settable_breakpoint) (breakpoint_address_is_meaningful, adjust_breakpoint_address) (allocate_bp_location, mention, breakpoint_re_set_one) (disable_command, enable_command): Likewise. (create_exec_event_catchpoint): Delete. (insert_catch_exec, remove_catch_exec, breakpoint_hit_catch_exec) (print_it_catch_exec, print_one_catch_exec, print_mention_catch_exec): New functions. (catch_exec_breakpoint_ops): New static global. (catch_exec_command_1): Use create_catchpoint instead of create_exec_event_catchpoint to create the exec catchpoint.