summaryrefslogtreecommitdiff
path: root/gdb
Commit message (Collapse)AuthorAgeFilesLines
* * i386-tdep.c (i386_supply_fpregset): Support floating-pointMark Kettenis2003-10-302-1/+15
| | | | | registers in `fxsave' format. (i386_regset_from_core_section): Deal with ".reg-xfp" sections.
* * i386-linux-tdep.c (i386_linux_gregset_reg_offset): New variable.Mark Kettenis2003-10-302-0/+52
| | | | | (i386_linux_init_abi): Initialize TDEP->gregset_reg_offset, TDEP->gregset_num_regs and tdep->sizeof_gregset.
* * i386-linux-tdep.c (i386_linux_sc_reg_offset): Don't explicitlyMark Kettenis2003-10-302-7/+9
| | | | | | | specify size of array. (i386_linux_init_abi): Remove initialization of TDEP->num_xmm_regs. Use I386_LINUX_NUM_REGS for number of registers. Use ARRAY_SIZE to initialize TDEP->sc_num_regs.
* * config/i386/fbsd64.mt (TDEPFILES): Add corelow.o.Mark Kettenis2003-10-303-2/+6
| | | | | * config/i386/fbsd64.mh (NATDEPFILES): Remove corelow.o and core-regset.o.
* * fbsd-proc.c (fbsd_make_corefile_notes): Put a "FreeBSD" label inMark Kettenis2003-10-302-0/+10
| | | | the ELF header.
* *** empty log message ***gdbadmin2003-10-301-1/+1
|
* * config/i386/fbsd.mt (TDEPFILES): Add corelow.o.Mark Kettenis2003-10-293-2/+6
| | | | | * config/i386/fbsd.mh (NATDEPFILES): Remove corelow.o and core-regset.o.
* * fbsd-proc.c (fbsd_make_corefile_notes): Remove unecessary casts.Mark Kettenis2003-10-292-16/+9
|
* * corelow.c: Include "arch-utils.h", "regset.h" andMark Kettenis2003-10-292-2/+56
| | | | | | | | | | | | | "gdb_assert.h". (core_gdbarch): New variable. (sniff_core_bfd): Don't sniff if we have support for register sets in CORE_GDBARCH. (core_close): Reset CORE_GDBARCH. (core_open): Initialize CORE_GDBARCH. (get_core_register_section): Use register sets if they are supported by CORE_GDBARCH. (get_core_registers): Don't print error message if we have support for register sets in CORE_GDBARCH.
* 2003-10-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-10-292-2/+13
| | | | | * ppc-linux-tdep.c (_initialize_ppc_linux_tdep): Instead of the default PPC machine, register 32-bit and 64-bit PPC, and rs6k.
* * objfiles.h (clear_objfile_data): New prototype.Mark Kettenis2003-10-294-0/+15
| | | | | * objfiles.c (clear_objfile_data): New function. * symfile.c (reread_symbols): Clear per-objfile data.
* *** empty log message ***gdbadmin2003-10-291-1/+1
|
* * gdb.texinfo (The F request packet, The F reply packet): RenamedJim Blandy2003-10-282-4/+11
| | | | | | from "The `F' request packet" and "The `F' reply packet", to make texi2dvi happy. (File-I/O remote protocol extension): Update menu entries, too.
* 2003-10-28 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-10-282-14/+24
| | | | | | | | | | * symfile.c (symbol_file_add_with_addrs_or_offsets): Switch to use printf_unfiltered instead of printf_filtered for output messages. (add_symbol_file_command): Ditto. (reread_symbols): Ditto. (overlay_auto_command): Ditto. (overlay_manual_command): Ditto. (overlay_off_command): Ditto.
* *** empty log message ***gdbadmin2003-10-281-1/+1
|
* * arch-utils.c (deprecated_select_gdbarch_hack): New function.Mark Kettenis2003-10-273-4/+68
| | | | | | | (gdbarch_from_bfd): New function. (set_gdbarch_from_file): Re-implement using gdbarch_from_bfd and deprecated_select_gdbarch_hack. * arch-utils.h (gdbarch_from_bfd): New prototype.
* s/post date/commit date/ for change logAndrew Cagney2003-10-271-1/+1
|
* 2003-10-24 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-10-272-9/+12
| | | | | | * osabi.c (gdbarch_init_osabi): Use info.bfd_arch_info instead of arch_info. Use warning instead of fprintf_filtered. Do not use deprecated bfd_printable_arch_mach.
* 2003-10-26 Michael Chastain <mec@shout.net>Michael Chastain2003-10-272-0/+46
| | | | | * gdb.texinfo (Thread Stops): Document the issue with premature return from system calls in multi-threaded programs.
* Revert small portion of previous commit. (Delete a #if 0 and #endif that IKevin Buettner2003-10-271-2/+0
| | | | had added for testing.)
* * frv-tdep.c (frv_register_raw_size, frv_register_virtual_size):Kevin Buettner2003-10-272-21/+21
| | | | | | | | | | | | | | | | Delete. (frv_register_type): Rename from frv_register_virtual_type. Add ``struct gdbarch *'' parameter. (frv_gdbarch_init): Delete calls to the following functions: set_gdbarch_deprecated_size(), set_gdbarch_deprecated_register_bytes(), set_gdbarch_deprecated_register_raw_size(), set_gdbarch_deprecated_max_register_raw_size(), set_gdbarch_deprecated_register_virtual_size(), set_gdbarch_deprecated_max_register_virtual_size(), set_gdbarch_deprecated_register_virtual_size(), set_gdbarch_deprecated_register_virtual_type(). Add call to function set_gdbarch_register_type().
* *** empty log message ***gdbadmin2003-10-271-1/+1
|
* Fix typo.Mark Kettenis2003-10-261-1/+1
|
* * i386-tdep.h (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM,Mark Kettenis2003-10-263-9/+18
| | | | | | | | | FDOFF_REGNUM): Remove defines. * win32-nat.c (do_child_fetch_inferior_registers): Include "i387-tdep.h". (do_child_fetch_inferior_registers): Use I387_FISEG_ST0_REGNUM and I387_FOP_REGNUM instead of FCS_REGNUM and FOP_REGNUM. Define and undefine I387_ST0_REGNUM.
* * i386-tdep.h (FPU_REG_RAW_SIZE): Remove define.Mark Kettenis2003-10-263-3/+5
| | | | | * x86-64-tdep.c (x86_64_store_return_value): Use I386_MAX_REGISTER_SIZE instead of FPU_REG_RAW_SIZE.
* Change register numbers to enumartion values.Mark Kettenis2003-10-263-15/+24
| | | | | | | | | * i386-tdep.h (enum i386_regnum): New. (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, I386_EBP_REGNUM, I386_IP_REGNUM, I386_EFLAGS_REGNUM, I386_ST0_REGNUM): Remove defines. * i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM, I386_EDI_REGNUM): Remove defines.
* *** empty log message ***gdbadmin2003-10-261-1/+1
|
* *** empty log message ***gdbadmin2003-10-251-1/+1
|
* 2003-10-24 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-10-245-5/+48
| | | | | | | | | * target.c: Include "gdbcore.h". (get_target_memory, get_target_memory_unsigned): New functions. * target.h (get_target_memory, get_target_memory_unsigned): Declare. * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): Use get_target_memory_unsigned. * Makefile.in (target.o): Update dependencies.
* 2003-10-22 Michael Chastain <mec@shout.net>Michael Chastain2003-10-242-0/+29
| | | | * gdb.mi/pthreads.c: Add copyright notice.
* Index: mi/ChangeLogAndrew Cagney2003-10-2424-40/+54
| | | | | | | | | | | | | | | | | | | 2003-10-24 Andrew Cagney <cagney@redhat.com> * tui-out.c: Fix "fortunatly"[sic]. Index: doc/ChangeLog 2003-10-24 Andrew Cagney <cagney@redhat.com> * annotate.texinfo: Fix "fortunatly"[sic]. 2003-10-24 Andrew Cagney <cagney@redhat.com> * osabi.c (gdbarch_init_osabi): Fix typos, and "fortunatly"[sic]. * PROBLEMS, arch-utils.c, cli-out.c, command.h: Ditto. * complaints.c, cris-tdep.c, disasm.c, dwarf2-frame.c: Ditto. * frame.c, frame.h, infcall.c, infcmd.c, infrun.c: Ditto. * kod.c, mips-tdep.c, regcache.c, regcache.h, remote.c: Ditto.
* 2003-10-24 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-10-242-3/+16
| | | | | * osabi.c (gdbarch_init_osabi): Add comment on 32-bit vs 64-bit. (can_run_code_for): Use the OO term "singleton".
* *** empty log message ***gdbadmin2003-10-241-1/+1
|
* 2003-10-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-10-235-111/+110
| | | | | | | | | | * Makefile.in (stack.o): Add $(regcache_h). * stack.c: Include "regcache.h" (return_command): Rewrite. Use get_frame_id and get_selected_frame. Eliminate "deprecated_selected_frame". Warn about unhandled return-values. * value.h (set_return_value): Delete declaration. * values.c (set_return_value): Delete function.
* 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-10-232-45/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ia64-tdep.c: (ia64_frame_cache): Add new prev_cfm field. (pseudo_regs): Add comment regarding register stack registers. (ia64_alloc_frame_cache): Initialize new prev_cfm field to 0. (floatformat_valid): New static routine. (floatformat_ia64_ext): Add name field and set up is_valid routine to floatformat_valid(). (examine_prologue): For the previous cfm, use frame_unwind_register() if the cfm is not stored in a register-stack register. Save the previous cfm value in the prev_cfm field. Add debug output. (ia64_frame_this_id): Use frame_id_build_special() to also register the bsp. Add debug output. (ia64_sigtramp_frame_this_id): Ditto. (ia64_frame_prev_register): Look at cache saved_regs for a few more registers and also add some checks for framelessness before accepting current register values for fields such as return address. For cfm, use the cached prev_cfm field if available. Add comment to explain PSR logic. Add debug output. (ia64_sigtramp_frame_init_saved_regs): Save the bsp and sp addresses as part of initialization. (ia64_sigtramp_frame_cache): Hard-code stack size as it can't be calculated. Cache the bsp and cfm values. (ia64_sigtramp_frame_prev_register): Add logic to this routine out instead of using ia64_frame_prev_register() which doesn't expect most registers to be saved. The saved values for bsp and sp can be taken from the cache. Add debug output. (ia64_push_dummy_call): Use frame_id_build_special() to also register the bsp.
* * osabi.c (gdbarch_init_osabi): A handler is okay if it's for anJim Blandy2003-10-232-7/+35
| | | | | | architecture the current arch can run code for --- but not if it's a superset. (can_run_code_for): New function.
* * MAINTAINERS: Move myself from paper trail section back to writeJim Wilson2003-10-232-1/+6
| | | | after approval section.
* 2003-10-22 Michael Chastain <mec@shout.net>Michael Chastain2003-10-232-0/+28
| | | | * gdb.threads/pthreads.c: Add copyright notice.
* 2003-10-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-10-2311-32/+85
| | | | | | | | | | | | | | | | | | * exec.h: New file. * win32-nat.c: Include "exec.h". * solib.c: Include "exec.h". * target.h (build_section_table): Delete declaration. * somsolib.c: Include "exec.h". (exec_ops): Delete extern declaration. * rs6000-nat.c: Update copyright. Include "exec.h". (exec_ops): Delete extern declaration. * pa64solib.c: Update copyright. Include "exec.h". (exec_ops): Delete extern declaration. * exec.c: Update copyright. Include "exec.h". * corelow.c: Update dependencies. Include "exec.h". * Makefile.in (exec_h): Define. (exec.o, somsolib.o): Update dependencies. (pa64solib.o, corelow.o): Update dependencies.
* 2003-10-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-10-234-36/+123
| | | | | | | | | | | | | | * target.c: Include "gdb_assert.h" (target_read): Call "target_read_partial", not "target_write_partial". (default_read_partial, default_write_partial): New function. (target_read_partial, target_write_partial): Simplify, assume that there is always a read/write method. (update_current_target, add_target): Always set "to_read_partial" and "to_write_partial". (target_write, target_read): Fail on a zero byte transfer. * Makefile.in (target.o): Update dependencies. * target.h: Update copyright date. (target_object): Fix typo.
* 2003-10-23 Kei Sakamoto <sakamoto.kei@renesas.com>Kazuhiro Inaoka2003-10-232-3/+9
| | | | | * gdb.texinfo (Contributors to GDB): Replace "Renesas" with "Hitachi" and "Mitsubishi".
* *** empty log message ***gdbadmin2003-10-231-1/+1
|
* 2003-10-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-10-2212-36/+66
| | | | | | | | | | | | | | | | | * gdbarch.sh (convert_from_func_ptr_addr): Convert to a pure multi-arch method, add "targ" parameter. (struct target_ops): Declare. * gdbarch.h, gdbarch.c: Re-generate. * Makefile.in (c-valprint.o): Update dependencies. * arch-utils.h: Update copyright. (convert_from_func_ptr_addr_identity): Declare. * arch-utils.c (convert_from_func_ptr_addr_identity): New function. * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update. * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Upate. * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): Update. * infcall.c (find_function_addr, call_function_by_hand): Update. * c-valprint.c: Include "target.h". (print_function_pointer_address): Update.
* 2003-10-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-10-224-27/+43
| | | | | | | | | | | | * target.c (target_close): New function. (debug_to_close): Use "target_close". (push_target): Use "target_close". (unpush_target): Use "target_close". (pop_target): Use "target_close". * target.h (struct target_ops): Add "to_xclose". (target_open): Delete macro. Move comment to "to_open". (target_close): Replace macro with function that takes a target. * top.c (quit_target): Pass "current_target" to "target_close".
* *** empty log message ***gdbadmin2003-10-221-1/+1
|
* 2003-10-21 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-10-216-35/+21
| | | | | | | | | | * minsyms.c (lookup_minimal_symbol_text): Remove unused parameter. Remove SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code. * symtab.h (lookup_minimal_symbol_text): Update. * breakpoint.c (create_overlay_event_breakpoint, create_longjmp_breakpoint): Update callers. * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Update caller. * symtab.c (find_pc_sect_line): Ditto.
* 2003-10-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-10-212-2/+4
| | | | * target.c (errno): Delete extern declaration.
* 2003-10-20 Michael Chastain <mec@shout.net>Michael Chastain2003-10-212-0/+52
| | | | * gdb.base/gdb1056.exp: New test script.
* *** empty log message ***gdbadmin2003-10-211-1/+1
|
* 2003-10-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-10-202-26/+32
| | | | | | * ia64-tdep.c: Change all occurrences of DEPRECATED_REGISTER_RAW_SIZE to use register_size() instead. (ia64_frame_prev_register): Minor whitespace change.