aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-10-30*** empty log message ***gdbadmin1-1/+1
2003-10-29* config/i386/fbsd.mt (TDEPFILES): Add corelow.o.Mark Kettenis3-2/+6
* config/i386/fbsd.mh (NATDEPFILES): Remove corelow.o and core-regset.o.
2003-10-29* fbsd-proc.c (fbsd_make_corefile_notes): Remove unecessary casts.Mark Kettenis2-16/+9
2003-10-29* corelow.c: Include "arch-utils.h", "regset.h" andMark Kettenis2-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-292003-10-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-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.
2003-10-29* objfiles.h (clear_objfile_data): New prototype.Mark Kettenis4-0/+15
* objfiles.c (clear_objfile_data): New function. * symfile.c (reread_symbols): Clear per-objfile data.
2003-10-29*** empty log message ***gdbadmin1-1/+1
2003-10-28* gdb.texinfo (The F request packet, The F reply packet): RenamedJim Blandy2-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-282003-10-28 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-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.
2003-10-28*** empty log message ***gdbadmin1-1/+1
2003-10-27* arch-utils.c (deprecated_select_gdbarch_hack): New function.Mark Kettenis3-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.
2003-10-27s/post date/commit date/ for change logAndrew Cagney1-1/+1
2003-10-272003-10-24 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-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-272003-10-26 Michael Chastain <mec@shout.net>Michael Chastain2-0/+46
* gdb.texinfo (Thread Stops): Document the issue with premature return from system calls in multi-threaded programs.
2003-10-27Revert small portion of previous commit. (Delete a #if 0 and #endif that IKevin Buettner1-2/+0
had added for testing.)
2003-10-27 * frv-tdep.c (frv_register_raw_size, frv_register_virtual_size):Kevin Buettner2-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().
2003-10-27*** empty log message ***gdbadmin1-1/+1
2003-10-26Fix typo.Mark Kettenis1-1/+1
2003-10-26* i386-tdep.h (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM,Mark Kettenis4-12/+28
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.
2003-10-26* i386-tdep.h (FPU_REG_RAW_SIZE): Remove define.Mark Kettenis3-3/+5
* x86-64-tdep.c (x86_64_store_return_value): Use I386_MAX_REGISTER_SIZE instead of FPU_REG_RAW_SIZE.
2003-10-26Change register numbers to enumartion values.Mark Kettenis3-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.
2003-10-26*** empty log message ***gdbadmin1-1/+1
2003-10-25*** empty log message ***gdbadmin1-1/+1
2003-10-242003-10-24 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-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-242003-10-22 Michael Chastain <mec@shout.net>Michael Chastain2-0/+29
* gdb.mi/pthreads.c: Add copyright notice.
2003-10-24Index: mi/ChangeLogAndrew Cagney24-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-242003-10-24 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-3/+16
* osabi.c (gdbarch_init_osabi): Add comment on 32-bit vs 64-bit. (can_run_code_for): Use the OO term "singleton".
2003-10-24*** empty log message ***gdbadmin1-1/+1
2003-10-232003-10-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-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-232003-10-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-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.
2003-10-23* osabi.c (gdbarch_init_osabi): A handler is okay if it's for anJim Blandy2-7/+35
architecture the current arch can run code for --- but not if it's a superset. (can_run_code_for): New function.
2003-10-23* MAINTAINERS: Move myself from paper trail section back to writeJim Wilson2-1/+6
after approval section.
2003-10-232003-10-22 Michael Chastain <mec@shout.net>Michael Chastain2-0/+28
* gdb.threads/pthreads.c: Add copyright notice.
2003-10-232003-10-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney12-32/+86
* 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-232003-10-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-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-232003-10-23 Kei Sakamoto <sakamoto.kei@renesas.com>Kazuhiro Inaoka2-3/+9
* gdb.texinfo (Contributors to GDB): Replace "Renesas" with "Hitachi" and "Mitsubishi".
2003-10-23*** empty log message ***gdbadmin1-1/+1
2003-10-222003-10-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney12-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-222003-10-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-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".
2003-10-22*** empty log message ***gdbadmin1-1/+1
2003-10-212003-10-21 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni6-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-212003-10-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+4
* target.c (errno): Delete extern declaration.
2003-10-212003-10-20 Michael Chastain <mec@shout.net>Michael Chastain2-0/+52
* gdb.base/gdb1056.exp: New test script.
2003-10-21*** empty log message ***gdbadmin1-1/+1
2003-10-202003-10-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-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.
2003-10-202003-10-20 Michael Chastain <mec@shout.net>Michael Chastain2-0/+18
* config/djgpp/fnchange.lst: Add lines for: sim/testsuite/sim/frv/interrupts/Ipipe-fr400.cgs, sim/testsuite/sim/frv/interrupts/Ipipe-fr500.cgs, sim/testsuite/sim/frv/interrupts/badalign-fr550.cgs, sim/testsuite/sim/frv/interrupts/compound-fr550.cgs, sim/testsuite/sim/frv/interrupts/data_store_error-fr550.cgs, sim/testsuite/sim/frv/interrupts/fp_exception-fr550.cgs, sim/testsuite/sim/frv/interrupts/insn_access_error-fr550.cgs.
2003-10-20Err, fix a spacing problem in a ChangeLog entry that I made yesterday.Michael Chastain1-1/+1
I'm not making a ChangeLog entry for this!
2003-10-202003-10-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney10-113/+329
* values.c (register_value_being_returned): Update comments. Use "gdbarch_return_value" when available. (using_struct_return): Ditto. (set_return_value): Ditto. Use "gdbarch_return_value" when available.. Print a warning, and not an error, when an unhandled return type is encountered. * infcmd.c: Include "gdb_assert.h". (print_return_value): When gdbarch_return_value_p, and using struct return, assume that the value is not available. * defs.h (return_value_convention): Define. * gdbarch.sh (gdbarch_return_value): New predicate method. * gdbarch.h, gdbarch.c: Re-generate * ppc-sysv-tdep.c (return_value_convention): Delete definition. Index: doc/ChangeLog 2003-10-20 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Document gdbarch_return_value. Add cross references from USE_STRUCT_CONVENTION, EXTRACT_RETURN_VALUE, and STORE_RETURN_VALUE, and from/to EXTRACT_STRUCT_VALUE_ADDRESS.
2003-10-202003-10-19 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-12/+17
* targets.c: Replace "struct sec" with "struct bfd_section" * syms.c, sparclynx.c, section.c, opncls.c: Ditto. * libcoff-in.h, libbfd-in.h, elfxx-target.h: Ditto. * elf.c, coffgen.c, bfd.c, bfd-in.h, aoutf1.h: Ditto. * aout-tic30.c, aout-target.h: * bfd-in2.h, libcoff.h, libbfd.h: Regenerate. Index: binutils/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * coffgrok.h (coff_section): Replace 'struct sec" with "struct bfd_section". Index: gdb/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * symtab.c: Replace "struct sec" with "struct bfd_section". * objfiles.c, linespec.c, blockframe.c, block.c: Ditto. Index: ld/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * pe-dll.c: Replace "struct sec" with "struct bfd_section". Index: sim/common/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * sim-base.h: Replace "struct sec" with "struct bfd_section".
2003-10-20*** empty log message ***gdbadmin1-1/+1