aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2008-12-14*** empty log message ***gdbadmin1-1/+1
2008-12-13 * gnu-v3-abi.c (vtable_ptrdiff_type): New function.Kevin Buettner3-3/+39
(gnuv3_decode_method_ptr, gnuv3_print_method_ptr) (gnuv3_method_ptr_to_value): Use a better approximation for `ptrdiff_t' instead of `long'. * m32c-tdep.c (m32c_gdbarch_init): Call set_gdbarch_vbit_in_delta(). (m32c_push_dummy_call): Dereference pointer type.
2008-12-13*** empty log message ***gdbadmin1-1/+1
2008-12-12 * linux-low.c (linux_wait_for_process): Don't clobber current_inferiorDoug Evans2-0/+5
in debugging printf.
2008-12-12 * linux-low.c (handle_extended_wait): Simplify, use my_waitpid.Doug Evans2-3/+6
2008-12-12gdbTom Tromey4-10/+85
PR cli/2563: * cli/cli-decode.c (delete_cmd): Add hook-related out parameters. (add_cmd): Update. Install hooks into new command. (add_alias_cmd): Update. gdb/testsuite * gdb.base/commands.exp (redefine_hook_test): New proc. Call it.
2008-12-12gdbTom Tromey4-8/+27
* macroexp.c (get_pp_number): Require digit after leading ".". Correctly handle suffixes. gdb/testsuite * gdb.base/macscp.exp: New regression test.
2008-12-12 * macrocmd.c (macro_define_command): Skip whitespace afterTom Tromey2-4/+12
macro name. (print_one_macro): Print space after macro name.
2008-12-12 * infrun.c (handle_inferior_event): Correctly tag non-executingPedro Alves2-16/+34
threads in multi-process. (normal_stop): Correctly tag stopped threads in multi-process.
2008-12-12 * remote.c (extended_remote_mourn_1): Always callPedro Alves2-4/+8
generic_mourn_inferior.
2008-12-12 * remote.c (remote_detach_1): Don't delete the inferior here.Pedro Alves2-23/+24
(process_stop_reply): Ditto. (extended_remote_kill): Ditto.
2008-12-12 * remote.c (read_ptid): If we don't know about any inferior yet,Pedro Alves2-9/+14
use the pid of magic_null_ptid. (remote_start_remote): In the non-stop mode case, don't set inferior_ptid to magic_null_ptid here.
2008-12-12*** empty log message ***gdbadmin1-1/+1
2008-12-11 * infcmd.c (step_1): Use step_once in the synchronous case too.Pedro Alves2-65/+52
(step_1_continuation): Wrap line. (step_once): Adjust comment. Only install the continuation in async mode.
2008-12-11 * infrun.c (handle_inferior_event): On a TARGET_WAITKIND_EXITED orPedro Alves6-5/+19
TARGET_WAITKIND_SIGNALLED, switch inferior_ptid to the event ptid. * linux_thread_db.c (thread_db_wait): On a TARGET_WAITKIND_EXITED or TARGET_WAITKIND_SIGNALLED, return the ptid the beneath target returned. * inf-ptrace.c (inf_ptrace_wait): Return inferior_ptid instead of minus_one_ptid if the inferior disappeared. * rs6000-nat.c (rs6000_wait): Likewise. * spu-linux-nat.c (spu_child_wait): Likewise.
2008-12-11gdbTom Tromey7-119/+158
PR macros/2564: * c-exp.y (macro_original_text, expansion_obstack, expression_macro_scope): New globals. (scan_macro_expansion): New function. (scanning_macro_expansion): Likewise. (finished_macro_expansion): Likewise. (scan_macro_cleanup): Likewise. (c_parse): Find macro scope. Initialize obstack. * c-lang.h (scan_macro_expansion, scanning_macro_expansion, finished_macro_expansion, expression_macro_lookup_func, expression_macro_lookup_baton): Remove. * c-lang.c (scan_macro_expansion, scanning_macro_expansion, finished_macro_expansion, expression_macro_lookup_func, expression_macro_lookup_baton): Remove. (macro_original_text, macro_expanded_text, c_preprocess_and_parse): Remove. (c_language_defn, cplus_language_defn, asm_language_defn, minimal_language_defn): Use c_parse. gdb/testsuite * gdb.base/macscp.exp: Print "address.addr". * gdb.base/macscp1.c (struct outer): New struct. (address): New global.
2008-12-11*** empty log message ***gdbadmin1-1/+1
2008-12-10 * infcmd.c (until_next_command, finish_backward): Use get_frame_pcPedro Alves2-4/+11
instead of read_pc.
2008-12-10gdbTom Tromey6-36/+114
PR gdb/1815: * cli/cli-decode.c (delete_cmd): Forward declare. (delete_cmd): Now static. Change return type. Remove command from alias chain. Rewrite. (add_cmd): Initialize new fields. Update cmd_pointer on all aliases. (add_alias_cmd): Put command on alias chain. * command.h (delete_cmd): Don't declare. * cli/cli-decode.h (delete_cmd): Don't declare. (struct cmd_list_element) <aliases, alias_chain>: New fields. gdb/testsuite * gdb.base/commands.exp (redefine_backtrace_test): New proc. Call it.
2008-12-10*** empty log message ***gdbadmin1-1/+1
2008-12-09 * linux-low.h (struct process_info): Delete member tid, unused.Doug Evans3-3/+6
* thread-db.c (find_one_thread): Update. (maybe_attach_thread): Update.
2008-12-09 * config.in, configure: Rebuild.Tom Tromey5-4/+89
* configure.ac: Check for locale.h, setlocale. Call AM_LC_MESSAGES. * acinclude.m4: Include lcmessage.m4.
2008-12-09 * remote.c (remote_parse_stop_reply): Use REG only after its NULL check.Jan Kratochvil2-2/+6
2008-12-09*** empty log message ***gdbadmin1-1/+1
2008-12-08 * python/python-value.c (values_in_python): Add specific initializationJoel Brobecker2-1/+8
to NULL to work-around a MacOS linker bug.
2008-12-08 Fix loc_type of `bp_location's created by update_watchpoint.Jan Kratochvil2-13/+20
* breakpoint.c (allocate_bp_location): Remove the bp_type parameter. Replace bp_type by bpt->type. Update prototype. All callers updated. (add_location_to_breakpoint): Remove the bp_type parameter. Replace bp_type by b->type. All callers updated. (set_breakpoint_location_function): Replace bptype by b->type.
2008-12-08*** empty log message ***gdbadmin1-1/+1
2008-12-07 * breakpoint.c (update_global_location_list): Fix the comment.Jan Kratochvil2-1/+5
2008-12-07*** empty log message ***gdbadmin1-1/+1
2008-12-06*** empty log message ***gdbadmin1-1/+1
2008-12-05 * infcmd.c (step_1, step_once): Look up the stepping range basedPedro Alves2-4/+15
on the current frame's PC, not on stop_pc.
2008-12-05 Fix compilation on 32-bit host configurations.Jan Kratochvil2-1/+6
* ia64-tdep.c (ia64_breakpoint_from_pc): Suffix a constant by `LL'.
2008-12-052008-12-05 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+77
* i386-darwin-nat.c (i386_darwin_sstep_at_sigreturn): New function. (amd64_darwin_sstep_at_sigreturn): New function. (darwin_set_sstep): The sigreturn is a special case: the trace flag must be set in the mcontext structure.
2008-12-05 * infcmd.c (step_once): Remove dead code.Pedro Alves2-2/+4
2008-12-05*** empty log message ***gdbadmin1-1/+1
2008-12-04 * infcall.c (call_function_by_hand): Clean up use of local dummy_addr.Doug Evans2-26/+21
2008-12-04 * gdb.server/ext-run.exp: Relax regexp for init program.Doug Evans2-1/+5
2008-12-042008-12-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+11
* gdb.base/macscp.exp: Generate an object file during compilation to work around Darwin dsymutil limitations.
2008-12-04*** empty log message ***gdbadmin1-1/+1
2008-12-03*** empty log message ***gdbadmin1-1/+1
2008-12-02 * infrun.c (handle_inferior_event): Remove redundant resetting ofDoug Evans2-2/+5
stepping_past_singlestep_breakpoint.
2008-12-02 * target.h (target_get_osdata): Describe.Pedro Alves5-54/+83
* osdata.h (make_cleanup_osdata_free): Declare. * osdata.c (osdata_item_clear): Define even if HAVE_LIBEXPAT is not defined. (osdata_free_cleanup): New. (make_cleanup_osdata_free): New. (get_osdata): Fix leak. (info_osdata_command): Use make_cleanup_osdata_free. (info_processes_command): Delete. (_initialize_osdata): Drop undocumented "info processes" alias. * mi/mi-main.c (mi_cmd_list_thread_groups): Fix leak.
2008-12-02gdb/Jan Kratochvil7-10/+98
Fix resolving external references to TLS variables. * findvar.c: Include `objfiles.h'. (read_var_value <LOC_UNRESOLVED>): New variable `obj_section'. Handle SEC_THREAD_LOCAL variables. * printcmd.c (address_info <LOC_UNRESOLVED>): Handle SEC_THREAD_LOCAL variables. gdb/testsuite/ Test resolving external references to TLS variables. * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and FILE2_THREAD_LOCAL. (testfile2, srcfile2): New variables. * gdb.threads/tls.c (file2_thread_local) (function_referencing_file2_thread_local): New. * gdb.threads/tls2.c: New file.
2008-12-02 * infrun.c (handle_inferior_event): Delete unused local tp.Doug Evans2-2/+4
2008-12-02 MI non-stop and multiprocess docs.Vladimir Prus2-18/+375
* gdb.texinfo (GDB/MI): New section 'GDB/MI General Design' (GDB/MI Output Records): New section 'GDB/MI Frame Information' Adjust documentation for *stopped, document =thread-created, =thread-exited, =thread-group-created and =thread-group-exited. (GDB/MI Thread Commands): Document the 'state' field in -thread-info output. (GDB/MI Program Execution): Mention --all and --thread-group options. (GDB/MI Variable Objects): Describe floating and fixed variable objects. (GDB/MI Miscellaneous Commands): Document -list-thread-groups.
2008-12-02 Implement -list-thread-groups --availableVladimir Prus22-7/+1093
* Makefile.in (XMLFILES): Add osdata.dtd. (SFILES): Add osdata.c. (COMMON_OBS): Add osdata.o. * linux-nat.c: Include pwd.h, sys/types.h, gdb_dirent.h and xml-support.h. (linux_nat_xfer_osdata): New function. (linux_xfer_partial): Handle TARGET_OBJECT_OSDATA. * osdata.c: New file. * osdata.h: New file. * remote.c (PACKET_qXfer_osdata): New packet enum. (remote_protocol_features): Add "qXfer:osdata:read". (remote_read_qxfer): Handle TARGET_OBJECT_OSDATA. (extended_remote_can_run): New. (init_extended_remote_ops): Set to_can_run to extended_remote_can_run. (_initialize_remote): Add packet config command for "qXfer:osdata:read". * xml-support.c (obstack_xml_printf): New function. * xml-support.h (obstack_xml_printf): Declare. * target.c (target_get_osdata): New function. * target.h (enum target_object): Add TARGET_OBJECT_OSDATA. (target_os_data): Declare. * features/osdata.dtd: New file. * mi/mi-main.c (mi_list_thread_groups): Handle the --available option.
2008-12-02* infrun.c (proceed): Delete unused local stop_signal.Doug Evans2-1/+4
2008-12-02*** empty log message ***gdbadmin1-1/+1
2008-12-01*** empty log message ***gdbadmin1-1/+1
2008-11-30*** empty log message ***gdbadmin1-1/+1