aboutsummaryrefslogtreecommitdiff
path: root/gdb
Commit message (Collapse)AuthorAgeFilesLines
* 2009-03-14 Pedro Alves <pedro@codesourcery.com>Pedro Alves2009-03-146-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.
* *** empty log message ***gdbadmin2009-03-141-1/+1
|
* * symtab.c (lookup_symbol_in_language): Use a cleanup.Tom Tromey2009-03-132-5/+8
|
* * exceptions.h: Clean up some comments on catch_exceptions usage.Doug Evans2009-03-133-22/+31
| | | | | * exceptions.c: Ditto. Plus mark catch_errors as superseded by catch_exceptions.
* * gdb.mi/mi-cli.exp: Adjust for output difference inVladimir Prus2009-03-132-4/+26
| | | | sync and async modes.
* * Makefile.in, hostio-errno.c, errno.c, xtensa-xtregs.c: Change toNathan Sidwell2009-03-135-12/+12
| | | | GPLv3, update license URL.
* * source.c (source_full_path_of): Constify parameter filename.Joel Brobecker2009-03-133-2/+9
| | | | * defs.h (source_full_path_of): Update declaration accordingly.
* * ada-lang.c (ada_evaluate_subexp): Merge case BINOP_REM andJoel Brobecker2009-03-132-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.
* * gdb.ada/ptype_arith_binop.exp: Remove some commented-out codeJoel Brobecker2009-03-132-19/+6
| | | | | that was checked in by mistake. Remove loading of ada.exp, since this is not necessary in this case.
* * gdb.ada/ptype_arith_binop.exp: New testcase.Joel Brobecker2009-03-132-0/+59
|
* * ada-lang.c (ada_evaluate_subexp) <BINOP_DIV>: make sure toJoel Brobecker2009-03-132-1/+9
| | | | promote the operands when noside is EVAL_AVOID_SIDE_EFFECTS.
* Fix the author name in the last entry.Joel Brobecker2009-03-131-1/+1
|
* * ada-tasks.c (ada_task_is_alive): Move up and make static.Joel Brobecker2009-03-133-11/+14
| | | | * ada-lang.h (ada_task_is_alive): Remove declaration.
* * ada-lang.c (ada_delta): Change the type of numerators andJoel Brobecker2009-03-132-7/+23
| | | | | denominators to DOUBLEST, as they may not fit into a long. (scaling_factor): Ditto.
* Improve the last changelog entry.Joel Brobecker2009-03-131-2/+1
|
* * language.c (lang_bool_type): Return a builtin bool type in theJoel Brobecker2009-03-132-1/+6
| | | | Ada case.
* * ada-lang.c (ada_evaluate_subexp) [OP_VAR_VALUE]: For taggedJoel Brobecker2009-03-132-1/+18
| | | | | types, if we are unable to determine the actual symbol type from its tag, then use the static approximation instead.
* *** empty log message ***gdbadmin2009-03-131-1/+1
|
* * gdb.ada/mod_from_name: New testcase.Joel Brobecker2009-03-123-0/+87
|
* Fix crash printing packed record with packed array.Joel Brobecker2009-03-122-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.
* * gdb.ada/tick_last_segv: New testcase.Joel Brobecker2009-03-123-0/+72
|
* Fix segfault when printing short_integer'last.Joel Brobecker2009-03-122-2/+14
| | | | | * ada-lang.c (ada_find_any_type): Search in the primitive types if a symbol could not be found.
* * ada-tasks.c (task_states,long_task_states): Add new statesJoel Brobecker2009-03-122-5/+17
| | | | | Activating and Acceptor_Delay_Sleep. Update the description of state Acceptor_Sleep.
* Fix a build failure on Darwin following some changes inJoel Brobecker2009-03-122-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.
* * gdb.mi/mi-cli.exp: Remove debug print.Vladimir Prus2009-03-122-1/+4
|
* Include token in ^running notification for CLI commands.Vladimir Prus2009-03-124-5/+38
| | | | | * mi/mi-main.c (mi_execute_command): Set current_token here. (mi_cmd_execute): Do not set current_token here.
* Fix MI timings.Vladimir Prus2009-03-124-13/+28
| | | | | | | | | * mi/mi-main.c (mi_print_timing_maybe): New. (captured_mi_execute_command): Simplify. Output timings to CLI commands, too. (mi_execute_async_cli_command): Do not print timings. * mi/mi-main.h (mi_print_timing_maybe): Declare. * mi/mi-interp.c (mi_on_normal_stop): Call mi_print_timing_maybe.
* * xcoffread.c (process_linenos): Check if the line in theJoel Brobecker2009-03-122-9/+31
| | | | | include table refers to the main source file and, if so, add them to the main subfile.
* Fix a build failure on AIX introduced after a change in the profileJoel Brobecker2009-03-122-8/+28
| | | | | | | | | of some of the "methods" in the target_ops structure. * aix-thread.c: Add missing target_ops parameter throughout. Implement Ada task switching on AIX. * aix-thread.c (aix_thread_get_ada_task_ptid): New function. (init_aix_thread_ops): Set aix_thread_ops.to_get_ada_task_ptid.
* *** empty log message ***gdbadmin2009-03-121-1/+1
|
* * breakpoint.c (bpstat_check_breakpoint_conditions): UseDaniel Jacobowitz2009-03-113-2/+18
| | | | | | value_mark and value_free_to_mark. * objfiles.c (free_objfile): Call objfile_free_data before freeing the BFD.
* *** empty log message ***gdbadmin2009-03-111-1/+1
|
* * disasm.c (gdb_disassembly): Remove unused argumentHui Zhu2009-03-105-4/+9
| | | | | | | "line_num". * disasm.h (gdb_disassembly): Ditto. * cli/cli-cmds.c (print_disassembly): Ditto. * mi/mi-cmd-disas.c (mi_cmd_disassemble): Ditto.
* *** empty log message ***gdbadmin2009-03-101-1/+1
|
* 2009-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2009-03-094-11/+30
| | | | | | | * solib.c (solib_contains_address_p): New function. (solib_name_from_address): Use it. * printcmd.c (display_uses_solib_p): Use it. * solib.h (solib_contains_address_p): Declare it.
* * varobj.c (free_variable): Call value_free.Jan Kratochvil2009-03-092-0/+6
|
* PR gdb/9873:Jan Kratochvil2009-03-092-21/+152
| | | | | | | | * dwarf2read.c (dwarf_decode_macros): New variable `at_commandline'. Move the variable `macinfo_type' out of the loop. Create a new processing pass before the current one to pre-create `current_file'. New complaint on misplaced zero/non-zero definitions/includes. Skip first DW_MACINFO_start_file with `at_commandline' set.
* * solib.c (reload_shared_libraries): GiveVladimir Prus2009-03-092-0/+28
| | | | | inferior a chance to reset solib breakpoint. Reinit frame cache.
* Minor formatting changeChristopher Faylor2009-03-091-1/+1
|
* *** empty log message ***gdbadmin2009-03-091-1/+1
|
* * windows-nat.c (dr): Redefine to use largest possible integer which holds aChristopher Faylor2009-03-082-2/+42
| | | | | | | pointer. (cygwin_set_dr): Avoid coercion. * windows-nat.c (windows_create_inferior): implement --tty handling on non-cygwin.
* *** empty log message ***gdbadmin2009-03-081-1/+1
|
* *** empty log message ***gdbadmin2009-03-071-1/+1
|
* 2009-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2009-03-066-11/+22
| | | | | | | | | | Rename solib_address to solib_name_from_address. * breakpoint.c (insert_bp_location, disable_breakpoints_in_shlibs) (disable_breakpoints_in_unloaded_shlib): Update. * printcmd.c (display_uses_solib_p): Likewise. * stack.c (print_frame): Likewise. * solib.c: Rename. * solib.h: Rename.
* *** empty log message ***gdbadmin2009-03-061-1/+1
|
* 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2009-03-057-2/+291
| | | | | | | | | * printcmd.c (do_one_display): Reparse exp_string. (display_uses_solib_p): New function. (clear_dangling_display_expressions): New function. (_initialize_printcmd): Add observer. * solib.c (no_shared_libraries): Swap order of calls to clear_solib and objfile_purge_solibs.
* Implement the target-specific part of Ada tasking supportJoel Brobecker2009-03-052-0/+29
| | | | | | | on Tru64. * dec-thread.c (dec_thread_get_ada_task_ptid): New function. (init_dec_thread_ops): Set the to_get_ada_task_ptid method.
* Get rid of the global "base_target" and use "find_target_beneath"Joel Brobecker2009-03-053-24/+54
| | | | | | | | | | | | | | | | | | | to find the underlying target. * dec-thread.c (base_target): Delete. (enable_dec_thread): Remove assignement to base_target. (dec_thread_detach, dec_thread_wait, dec_thread_wait) (dec_thread_fetch_registers, dec_thread_store_registers) (dec_thread_mourn_inferior, dec_thread_pid_to_str): Update the function profile if necessary. Use find_target_beneath to call the same method but from the underlying target, removing the need for "base_target". * dec-thread.c (dec_thread_get_regsets, dec_thread_set_regsets): Fix a copy/paste error in a few debug traces... * solib-osf.c (init_so): Use a simpler method for computing the size of lm_info structure. This also gets rid of warning emitted by the compiler.
* * gdb.texinfo (Background Execution): Better describe the setPedro Alves2009-03-052-27/+25
| | | | | | target-async command. (Maintenance Commands): Delete description of the `maint set/show linux-async' and `maint set/show remote-async' commands.
* gdb/Pedro Alves2009-03-055-3/+95
| | | | | | | | | | | | 2009-03-05 Pedro Alves <pedro@codesourcery.com> * breakpoint.c (check_duplicates_for): Skip permanent breakpoints duplicates of permanent breakpoints. gdb/testsuite/ 2009-03-05 Pedro Alves <pedro@codesourcery.com> * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.