aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2005-11-10* MAINTAINERS: Mark m68k-elf, sparc-elf and vax-netbsd as noMark Kettenis2-6/+8
longer broken.
2005-11-10*** empty log message ***gdbadmin1-1/+1
2005-11-092005-11-09 Randolph Chung <tausq@debian.org>Randolph Chung2-2/+6
* gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
2005-11-092005-11-09 Randolph Chung <tausq@debian.org>Randolph Chung2-2/+8
* hppa-linux-nat.c (_initialize_hppa_linux_nat): Use hppa_linux_{store,fetch}_inferior_registers instead of arm_linux_{store,fetch}_inferior_registers.
2005-11-092005-11-08 Kei Sakamoto <sakamoto.kei@renesas.com>Kazuhiro Inaoka2-3/+9
* remote-m32r-sdi.c: Update copyright years. (m32r_resume): Write DBT at word-aligned addresses. (m32r_wait): Use SDI_WRITE_MEMORY to remove DBT.
2005-11-09gdb.base/break.exp: Fix a comment typo.Wu Zhou2-1/+5
2005-11-09*** empty log message ***gdbadmin1-1/+1
2005-11-082005-11-08 Kei Sakamoto <sakamoto.kei@renesas.com>Kazuhiro Inaoka4-23/+43
* m32r-linux-tdep.c (linux_sigtramp_code): Use 'gdb_byte' instead of 'unsigned char'. (m32r_linux_sigtramp_start): Likewise. (linux_rt_sigtramp_code): Likewise. (m32r_linux_rt_sigtramp_start): Likewise. (m32r_linux_sigtramp_frame_prev_register): Use 'gdb_byte *' instead of 'void *'. * m32r-tdep.c (m32r_memory_insert_breakpoint): Use 'gdb_byte' instead of 'char'. (m32r_memory_remove_breakpoint): Likewise. (m32r_breakpoint_from_pc): Likewise. (m32r_store_return_value): Likewise. (decode_prologue): Likewise. (m32r_push_dummy_call): Likewise. (m32r_return_value): Use 'gdb_byte *' instead of 'void *'. * remote-m32r-sdi.c (m32r_xfer_memory): Use 'gdb_byte' instead of 'char'.
2005-11-08 * ia64-tdep.c (floatformat_valid): Change type of `from' fromKevin Buettner2-1/+6
`const char *' to `const void *'.
2005-11-08Various gdb_byte related changes for FRV targets.Kevin Buettner4-26/+50
2005-11-08*** empty log message ***gdbadmin1-1/+1
2005-11-072005-10-24 Paul Gilliam <pgilliam@us.ibm.comPaul Gilliam2-15/+33
* ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Copy code from ppc_sysv_abi_return_value() to handle a vector return value.
2005-11-072005-11-07 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs5-8/+20
* main.h (return_child_result, return_child_result_value): Declare. * infrun.c: Include main.h. (print_stop_reason): Remove declaration of return_child_result_value. * top.c: Include main.h. (quit_force): Remove declarations of return_child_result_value and return_child_result. * Makefile.in (top.o, infrun.o): Add main.h to dependencies.
2005-11-072005-11-07 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2-1/+5
* Makefile.in (tui-winsource.o): Add gdb_assert.h to dependencies.
2005-11-072005-11-07 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs4-7/+61
* main.c (captured_main): Define struct cmdarg. Change type of cmdarg. Add new options --eval-command and alias -ex. Adjust --command to use the new struct cmdarg. Execute commands given with --eval-command. (print_gdb_help): Add new options --eval-command, -ex and mention -x. docs/ * gdb.texinfo (Choosing files): Add --eval-command.
2005-11-072005-11-07 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs1-0/+8
* main.c (main): Use INTERP_TUI instead of "tui". Set interpreter to INTERP_INSIGHT when '-w' given. * interps.h (INTERP_INSIGHT): New define. * tui/tui-interp.c (_initialize_tui_interp): Use INTERP_TUI instead of "tui".
2005-11-072005-11-07 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs3-4/+10
* main.c (main): Use INTERP_TUI instead of "tui". Set interpreter to INTERP_INSIGHT when '-w' given. * interps.h (INTERP_INSIGHT): New define. * tui/tui-interp.c (_initialize_tui_interp): Use INTERP_TUI instead of "tui".
2005-11-07*** empty log message ***gdbadmin1-1/+1
2005-11-06*** empty log message ***gdbadmin1-1/+1
2005-11-05*** empty log message ***gdbadmin1-1/+1
2005-11-042005-11-04 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs6-8/+54
* infrun.c (print_stop_reason): Set return_child_result_value on exit. * main.c (return_child_result): New variable. (return_child_result_value): Likewise. (captured_main): Add option --return-child-result. Replace call to target_detach and exit (in batch mode) with quit_force. (print_gdb_help): Add option --return-child-result. * top.c (quit_force): Return child result if appropriate. docs/ * gdb.texinfo (Choosing modes): Add --return-child-result.
2005-11-042005-11-03 Wu Zhou <woodzltc@cn.ibm.com>Elena Zannoni2-0/+30
Checked in by Elena Zannoni <ezannoni@redhat.com> * dwarf2read.c (read_structure_type): Add IBM XL C++ specific code to set TYPE_VPTR_FIELDNO and TYPE_VPTR_BASETYPE of a virtual class if a field named "__vfp" is found.
2005-11-042005-11-03 Jim Blandy <jimb@redhat.com>Elena Zannoni3-0/+278
Checked in by Elena Zannoni <ezannoni@redhat.com> * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
2005-11-042005-11-03 Jim Blandy <jimb@redhat.com>Elena Zannoni2-21/+47
Checked in by Elena Zannoni <ezannoni@redhat.com> * dwarf2read.c (file_full_name): Cope with file numbers that are out of range for the given line header.
2005-11-042005-11-03 Daniel Jacobowitz <dan@codesourcery.com>Elena Zannoni2-38/+78
Checked in by Elena Zannoni <ezannoni@redhat.com> * elfread.c (elf_symtab_read): Add number_of_symbols and symbol_table as arguments. Do not load the symbol table here. (elf_symfile_read): Load the static and dynamic symbol tables here, before calling elf_symtab_read. Also load any synthetic symbols and process those.
2005-11-042005-11-03 Andrew Cagney <cagney@gnu.org>Elena Zannoni2-5/+29
Checked in by Elena Zannoni <ezannoni@redhat.com> * dwarf2loc.c (dwarf2_evaluate_loc_desc): Handle DW_OP_piece reads.
2005-11-04*** empty log message ***gdbadmin1-1/+1
2005-11-03 * linux-nat.c (linux_nat_resume): Add more debugging messages. DoDaniel Jacobowitz2-1/+48
not short-circuit resuming all threads if the signal will be ignored in linux_nat_wait.
2005-11-03*** empty log message ***gdbadmin1-1/+1
2005-11-02 * configure.srv (x86_64-*-linux*): Turn on thread_db support.Daniel Jacobowitz3-1/+53
* linux-x86-64-low.c (x86_64_breakpoint, x86_64_breakpoint_len) (x86_64_get_pc, x86_64_set_pc, x86_64_breakpoint_at): New. (the_low_target): Update.
2005-11-022005-11-02 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs5-18/+35
* monitor.c (monitor_xfer_memory): Change char to gdb_byte. (monitor_insert_breakpoint): Likewise. (monitor_remove_breakpoint): Likewise. * remote-e7000.c (e7000_xfer_inferior_memory): Likewise. * sh-tdep.c (sh_return_value_nofpu): Change void to gdb_byte. (sh_return_value_fpu): Likewise. (sh_pseudo_register_read): Likewise. (sh_pseudo_register_write): Likewise. (sh_frame_prev_register): Likewise. * sh64-tdep.c (sh64_extract_return_value): Change char to gdb_byte. (sh64_return_value): Change void to gdb_byte. (sh64_pseudo_register_read): Likewise. (sh64_pseudo_register_write): Likewise. (sh64_frame_prev_register): Likewise.
2005-11-02 * gdb.arch/gdb1558.c: Include stdio.h.Corinna Vinschen2-1/+7
2005-11-02 * event-top.c (gdb_setup_readline): Add missing type in externJoel Brobecker2-1/+6
declaration.
2005-11-02*** empty log message ***gdbadmin1-1/+1
2005-11-01 * rs6000-tdep.c (rs6000_gdbarch_init): On GNU/Linux, assume thatPaul Gilliam2-1/+17
bfd_mach_ppc64 has altivec unit, just like bfd_mach_ppc.
2005-11-012005-11-01 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs11-71/+119
* tui/tui-data.h (tui_line_or_address): Encapsulate the union in a struct with a tag. (tui_source_element, tui_source_info): Update. * tui/tui-disasm.c, tui/tui-source.c: Update to use the tagged union. * tui/tui-source.h, tui/tui-stack.c, tui/tui-win.c: Likewise. * tui/tui-winsource.c, tui/tui-data.c, tui/tui-layout.c: Likewise. * tui/tui-winsource.h: Likewise.
2005-11-01* win32-nat.c (CYGWIN_SIGNAL_STRING): Delete.Christopher Faylor3-64/+94
(_CYGWIN_SIGNAL_STRING): Define if not already defined in cygwin.h. (win32_add_thread): Use XZALLOC rather than xmalloc/memset. (register_loaded_dll): Ditto. (handle_load_dll): Call solib_add here. (handle_unload_dll): Ditto. (info_dll_command): Delete. (handle_output_debug_string): Use official _CYGWIN_SIGNAL_STRING. (win32_current_sos): Duplicate table to pass off to caller rather than deleting our version. (set_win32_aliases): New function. (_initialize_win32_nat): Remove local handling of "info shared". Set deprecated_init_ui_hook to allow late setting of "info dll" alias.
2005-11-012005-11-01 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs5-1/+37
* event-top.c (gdb_setup_readline): Don't set gdb_stdout when --batch-silent option was given. * main.c (batch_silent): New variable. (captured_main): Add new option --batch-silent. (print_gdb_help): Likewise. doc/ * gdb.texinfo (Choosing modes): Add --batch-silent.
2005-11-01* NEWS: Mention VAX floating point support.Mark Kettenis2-0/+8
2005-11-01* win32-nat.c (get_relocated_section_addrs): Reinstate.Christopher Faylor4-109/+648
(solib_symbols_add): New function. (lm_info): Remove end_addr field. (register_loaded_dll): Don't try to find end_addr since gdb will do this automatically now. Make so_original_name == so_name for now. Eliminate strcpy by using so_name directly. Read in symbols if new paramater "readsyms" is true. (handle_load_dll): Pass auto_solib_add to register_loaded_dll to control when symbols should be read. (win32_free_so): Don't free objfile here. (win32_create_inferior_hook): New function. (handle_unload_dll): Remove left-over cruft. (win32_special_symbol_handling): New (dummy) function. (map_single_dll_code_section): Reinstate. (dll_code_sections_add): Reinstate. (core_section_load_dll_symbols): Reinstate. Don't issue an error on duplicate attempts to read same dll. Make sure that UNIX-like name is used to register DLL. (win32_current_sos): Handle core files. Reset private list before passing start of list pointer to gdb. (init_win32_ops): Fill out (currently unused) solib_create_inferior_hook. Fill out special_symbol_handling. * config/i386/tm-cygwin.h: Remove most special solib stuff.
2005-11-01* win32-nat.c: Remove comment intended only for debugging.Christopher Faylor3-2/+4
2005-11-01*** empty log message ***gdbadmin1-1/+1
2005-10-31* doublest.c (floatformat_normalize_byteorder): HandleMark Kettenis4-41/+62
floatformat_vax. (convert_doublest_to_floatformat): Use floatformat_normalize_byteorder to swap bytes if necessary. * vax-tdep.c: Include floatformat.h. (vax_gdbarch_init): Set float_format, double_format, long_double_format and long_double_bit. * Makefile.in (vax-tdep.o): Update dependencies.
2005-10-31Change child_ to win32_ throughout.Christopher Faylor3-950/+433
* win32-nat.c (win32_ops): New variable. (win32_so_ops): Ditto. (psapi_get_dll_name): Make function static. (struct so_stuff): Delete. (struct lm_info): New struct. (solib_start, solib_end): Redefine as struct so_list. (safe_symbol_file_add_stub): Use so_list rather than so_stuff. (register_loaded_dll): Ditto. Special-case ntdll.dll. Fill in lm_info field of so_list with information previously stored in so_stuff. (get_image_name): Make function static. (max_dll_name_len): Make variable static. (win32_free_so): New function. (win32_current_sos): Ditto. (win32_relocate_section_addresses): Ditto. (handle_unload_dll): Use so_list rather than so_stuff. Call free_so to delete shared library. (solib_address): Delete function. (child_solib_loaded_library_pathname): Ditto. (win32_clear_solib): Rename from child_clear_solibs. Use so_list rather than so_stuff. Just clear win32-specific stuff. (get_relocated_section_addrs): Delete. (solib_symbols_add): Ditto. (info_dll_command): Make static. Use lm_info field from so_list to retrieve load address. (fake_create_process): Make function static. (win32_xfer_memory): Ditto. (win32_kill_inferior): Ditto. (win32_resume): Ditto. (cygwin_pid_to_str): Ditto. (do_initial_win32_stuff): Use win32_ops rather than deprecated_child_ops. (child_detach): Ditto. (win32_mourn_inferior): Ditto. (_initialize_win32_nat): Ditto. (init_win32_ops): Ditto. Fill out win32_so_ops and set current_target_so_ops to win32_so_ops. (core_dll_symbols_add): Delete. (map_single_dll_code_section): Ditto. (dll_code_sections_add): Ditto. (core_section_load_dll_symbols): Ditto. (child_solib_add): Ditto.
2005-10-31* gdb.asm/asm-source.exp: Use -e instead of --entry.Mark Kettenis2-1/+5
2005-10-312005-10-31 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2-22/+30
* tui/tui-command.c (tui_dispatch_ctrl_char): Test output of getenv() before using it.
2005-10-31* gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.Mark Kettenis2-7/+11
2005-10-31*** empty log message ***gdbadmin1-1/+1
2005-10-30*** empty log message ***gdbadmin1-1/+1
2005-10-29* hppa-tdep.h (HPPA_INSN_SIZE): New define.Mark Kettenis3-20/+27
* hppa-hpux-tdep.c (hppa_hpux_search_pattern) (hppa64_hpux_search_dummy_call_sequence): Rewrite to avoid assumption on sizeof(unsigned).