aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2009-03-17 Add a target_ops parameter to the to_kill method in struct target_ops.Joel Brobecker17-44/+63
* target.h (struct target_ops): Add a "target_ops *" parameter to method to_kill. (target_kill): Remove macro. Add declaration. * target.c (debug_to_kill): Delete, no longer necessary. (target_kill): New function. (update_current_target): Stop inheriting the to_kill method. Do not de_fault it to no_process either. (setup_target_debug): Do not set current_target.to_kill. * gnu-nat.c, go32-nat.c, hpux-thread.c, inf-ptrace.c, inf-ttrace.c, linux-nat.c, monitor.c, nto-procfs.c, procfs.c, remote-m32r-sdi.c, remote-mips.c, remote-sim.c, remote.c, windows-nat.c: Update accordingly.
2009-03-17 * amd64-linux-nat.c (si_timerid,si_overrun): Provide definition forDoug Evans2-0/+14
glibc 2.3.2 and earlier.
2009-03-17 * frame.c (get_prev_frame_1): Do not perform the inner_frameJoel Brobecker2-12/+25
sanity check if this_frame is not NORMAL. (frame_id_inner): Update the description of this function.
2009-03-17* gdb.texinfo: Change the introduce of "disassemble-next-line".Hui Zhu2-3/+7
2009-03-17* stack.c: Change the introduce of "disassemble-next-line".Hui Zhu2-6/+10
2009-03-17 * mi/mi-main.h (mi_print_timing_maybe): Add strict prototype,Pedro Alves2-2/+7
declare as extern.
2009-03-17Add missing space.Pedro Alves1-1/+1
2009-03-17* gdb.texinfo: Add documentation for disassemble-next-line.Hui Zhu2-1/+20
2009-03-17 *stack.c: Include valprint.h.Hui Zhu2-0/+103
(disassemble_next_line): New enum. (show_disassemble_next_line): New function. Show the current value of disassemble-next-line. (gdb_disassembly_stub_args): New struct for argument passing between function do_gdb_disassembly and function gdb_disassembly_stub. (gdb_disassembly_stub): New function. Helper for gdb_disassembly. (do_gdb_disassembly): New function. Use TRY_CATCH to catch the exception from the gdb_disassembly because it will be broken by filter sometime. (print_frame_info): If disassemble-next-line is set to auto or on and doesn't have the line debug messages for $pc, output the next instruction. If disassemble-next-line is set to on and there is line debug messages, output assembly codes for next line. (_initialize_stack): Make the "set disassemble-next-line" command an auto-boolean command. Change its class to class_stack. Place it in the top level set list. Extend help to describe the auto mode.
2009-03-17 * infrun.c (normal_stop): Don't overwrite old_chain.Pedro Alves2-2/+6
2009-03-17*** empty log message ***gdbadmin1-1/+1
2009-03-16 * remote-mips.c (mips_load): Replace call to regcache_set_valid_p,Joel Brobecker2-3/+9
which is undefined, by call to regcache_invalidate, which should do what the original author wanted to do.
2009-03-16 * remote-mips.c (mips_mourn_inferior): Add missing ops parameter.Joel Brobecker2-3/+9
(mips_create_inferior): Likewise.
2009-03-16 * go32-nat.c (go32_create_inferior): Add missing ops parameter.Joel Brobecker2-1/+6
2009-03-16 * darwin-nat.c (darwin_resume): Fix a compiler warning whenJoel Brobecker2-1/+6
building on x86_64-darwin.
2009-03-16 * configure.tgt: Add handling for x86_64-darwin.Joel Brobecker2-1/+5
2009-03-16gdb/Jan Kratochvil2-0/+5
* auxv.c (fprint_target_auxv): New TAG for AT_RANDOM.
2009-03-16 * gdb.texinfo (Commands In Python): Remove tindex entries.Thiago Jung Bauermann2-2/+4
2009-03-16*** empty log message ***gdbadmin1-1/+1
2009-03-15 * aix-thread.c (aix_thread_thread_alive, aix_thread_pid_to_str):Joel Brobecker2-2/+9
Use the ops parameter to get to the target beneath, rather than using the current_target global. Using the current_target global was an unintended accident.
2009-03-15 Fix an error happening while loading symbols from a core fileJoel Brobecker2-1/+10
(on AIX). * rs6000-nat.c (xcoff_relocate_symtab): Use target_has_execution to detect whether we're debugging a core file or not.
2009-03-15 Modernize the aix-thread later by getting rid of the base_targetJoel Brobecker2-31/+42
global. This brings back to life the AIX port which was otherwise crashing all the time. * aix-thread.c (base_target): Delete. (pd_enable): Do not set base_target. (aix_thread_attach): Use find_target_beneath instead of base_target. (aix_thread_detach, aix_thread_resume, aix_thread_wait) (aix_thread_fetch_registers, aix_thread_store_registers), (aix_thread_xfer_partial, aix_thread_mourn_inferior) (aix_thread_thread_alive, aix_thread_pid_to_str): Likewise. (aix_thread_kill): Delete. Does not seem necessary. (init_aix_thread_ops): Do not set aix_thread_ops.to_kill.
2009-03-15gdb/Jan Kratochvil7-10/+191
* stack.c (return_command <retval_exp>): New variables retval_expr and old_chain. Inline parse_and_eval to initialize retval_expr. Check RETVAL_EXPR for UNOP_CAST and set RETURN_TYPE to the RETURN_VALUE type if RETURN_TYPE is NULL. gdb/doc/ * gdb.texinfo (Returning): New description for missing debug info. gdb/testsuite/ * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
2009-03-15*** empty log message ***gdbadmin1-1/+1
2009-03-14 Fix a racy FAIL.Jan Kratochvil2-57/+68
* gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with code from `follow parent, print pids'. (`follow child, print pids', `follow parent, print pids'): Call it. Replace `gdb_test "break..."' by gdb_breakpoint.
2009-03-142009-03-14 Pedro Alves <pedro@codesourcery.com>Pedro Alves6-8/+116
gdb/ * remote.c (PACKET_qAttached): New. (remote_query_attached): New. (remote_add_inferior): Add new `attached' argument. Handle it. (remote_notice_new_inferior, remote_start_remote): Adjust to pass -1 to remote_add_inferior in new parameter. (extended_remote_attach_1): Adjust to pass 1 to remote_add_inferior in the new parameter. (extended_remote_create_inferior_1): Adjust to pass 0 to remote_add_inferior in the new parameter. (_initialize_remote): Add "set/show remote query-attached-packet" commands. 2009-03-14 Pedro Alves <pedro@codesourcery.com> gdb/gdbserver/ * server.c (handle_query): Handle "qAttached". 2009-03-14 Pedro Alves <pedro@codesourcery.com> gdb/doc/ * gdb.texinfo (Remote Configuration): Document query-attached. (General Query Packets): Document qAttached.
2009-03-14*** empty log message ***gdbadmin1-1/+1
2009-03-13 * symtab.c (lookup_symbol_in_language): Use a cleanup.Tom Tromey2-5/+8
2009-03-13 * exceptions.h: Clean up some comments on catch_exceptions usage.Doug Evans3-22/+31
* exceptions.c: Ditto. Plus mark catch_errors as superseded by catch_exceptions.
2009-03-13 * gdb.mi/mi-cli.exp: Adjust for output difference inVladimir Prus2-4/+26
sync and async modes.
2009-03-13 * Makefile.in, hostio-errno.c, errno.c, xtensa-xtregs.c: Change toNathan Sidwell5-12/+12
GPLv3, update license URL.
2009-03-13 * source.c (source_full_path_of): Constify parameter filename.Joel Brobecker3-2/+9
* defs.h (source_full_path_of): Update declaration accordingly.
2009-03-13 * ada-lang.c (ada_evaluate_subexp): Merge case BINOP_REM andJoel Brobecker2-17/+9
BINOP_MOD cases with the handling of case BINOP_DIV and BINOP_MUL. Remove useless op value checks when EVAL_AVOID_SIDE_EFFECTS.
2009-03-13 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out codeJoel Brobecker2-19/+6
that was checked in by mistake. Remove loading of ada.exp, since this is not necessary in this case.
2009-03-13 * gdb.ada/ptype_arith_binop.exp: New testcase.Joel Brobecker2-0/+59
2009-03-13 * ada-lang.c (ada_evaluate_subexp) <BINOP_DIV>: make sure toJoel Brobecker2-1/+9
promote the operands when noside is EVAL_AVOID_SIDE_EFFECTS.
2009-03-13Fix the author name in the last entry.Joel Brobecker1-1/+1
2009-03-13 * ada-tasks.c (ada_task_is_alive): Move up and make static.Joel Brobecker3-11/+14
* ada-lang.h (ada_task_is_alive): Remove declaration.
2009-03-13 * ada-lang.c (ada_delta): Change the type of numerators andJoel Brobecker2-7/+23
denominators to DOUBLEST, as they may not fit into a long. (scaling_factor): Ditto.
2009-03-13Improve the last changelog entry.Joel Brobecker1-2/+1
2009-03-13 * language.c (lang_bool_type): Return a builtin bool type in theJoel Brobecker2-1/+6
Ada case.
2009-03-13 * ada-lang.c (ada_evaluate_subexp) [OP_VAR_VALUE]: For taggedJoel Brobecker2-1/+18
types, if we are unable to determine the actual symbol type from its tag, then use the static approximation instead.
2009-03-13*** empty log message ***gdbadmin1-1/+1
2009-03-12 * gdb.ada/mod_from_name: New testcase.Joel Brobecker3-0/+87
2009-03-12 Fix crash printing packed record with packed array.Joel Brobecker2-1/+57
* ada-lang.c (ada_modulus_from_name): New function. (ada_modulus): In the case where the type length is bigger than the size of the type used to hold the bounds, try determining the modulus from the type name. (ada_value_primitive_packed_val): Fix bug in the computation of ntarg causing an out-of-buffer invalid access.
2009-03-12 * gdb.ada/tick_last_segv: New testcase.Joel Brobecker3-0/+72
2009-03-12 Fix segfault when printing short_integer'last.Joel Brobecker2-2/+14
* ada-lang.c (ada_find_any_type): Search in the primitive types if a symbol could not be found.
2009-03-12 * ada-tasks.c (task_states,long_task_states): Add new statesJoel Brobecker2-5/+17
Activating and Acceptor_Delay_Sleep. Update the description of state Acceptor_Sleep.
2009-03-12 Fix a build failure on Darwin following some changes inJoel Brobecker2-6/+15
the profile of some target_ops methods. * darwin-nat.c (darwin_kill_inferior): Add target_ops parameter where missing. (darwin_stop_inferior, darwin_detach): Likewise.
2009-03-12 * gdb.mi/mi-cli.exp: Remove debug print.Vladimir Prus2-1/+4