aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-03-152004-03-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-38/+4
* cris-tdep.c (bfd_lookup_symbol): Delete unused function.
2004-03-15 * Makefile.in (frv-linux-tdep.o): Add dependencies.Kevin Buettner6-2/+416
* frv-linux-tdep.c: New file. * frv-tdep.c (struct gdbarch_tdep): Add new field ``sigcontext_reg_addr''. (frv_set_sigcontext_reg_addr, frv_sigtramp,frame_cache) (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register) (frv_sigramp_frame_sniffer): New functions. (frv_sigtramp_frame_unwind): New static global. (frv_gdbarch_init): Hook in ABI-specific overrides. Hook up frame sniffers. * frv-tdep.h (frv_set_sigcontext_reg_addr): New function. * config/frv/frv.mt (TDEPFILES): Add frv-linux-tdep.o.
2004-03-15 * ppc-opc.c (powerpc_opcodes): Add BOOKE versions of mfsprg.Aldy Hernandez2-0/+8
2004-03-15 * frv-tdep.c (frv_analyze_prologue): Terminate prologue scan,Kevin Buettner2-1/+12
but not via a call to error(), when unable to read memory.
2004-03-15 * frv-tdep.c (frv_call_dummy_words): Delete.Kevin Buettner2-5/+5
(frv_frame_unwind_cache): Delete unused variable, ``prev_sp''.
2004-03-15 * elf-hppa.h (elf_hppa_relocate_section): Pass input_bfd instead ofDave Anglin3-8/+17
input_section in calls to get_dyn_name. * elf64-hppa.c (get_dyn_name): Change type of first argument to "bfd *". Use section id of first section in input BFD to build dynamic name for local symbols. (elf64_hppa_check_relocs): Pass abfd in call to get_dyn_name.
2004-03-15Index: ChangeLogAndrew Cagney2-30/+56
2004-03-15 Andrew Cagney <cagney@redhat.com> * infrun.c (handle_step_into_function, step_over_function): Only update and use STEP_FRAME_ID when the system is using legacy frames. Update comments.
2004-03-15 * bfd-in.h (bfd_int64_t, bfd_uint64_t): New types.Alan Modra17-522/+589
(BFD_HOST_64_BIT, BFD_HOST_U_64_BIT): Don't define here. (bfd_getb64, bfd_getl64, bfd_get_bits): Return bfd_uint64_t. (bfd_getb_signed_64, bfd_getl_signed_64): Return bfd_int64_t. (bfd_putb64, bfd_putl64, bfd_put_bits): Accept bfd_uint64_t. * configure.in (HOST_U_64BIT_TYPE): Set when sizeof long is 8. (BFD_HOST_64_BIT_DEFINED, BFD_HOST_64_BIT, BFD_HOST_U_64_BIT): Set when using long. * libbfd.c (EIGHT_GAZILLION, COERCE64): Use bfd_int64_t. (bfd_getb64): Return bfd_uint64_t. Enable when BFD_HOST_64_BIT. (bfd_getl64, bfd_getb_signed_64, bfd_getl_signed_64): Likewise. (bfd_putb64): Accept bfd_uint64_t. Enable when BFD_HOST_64_BIT. (bfd_putl64, bfd_put_bits, bfd_get_bits): Likewise. * dwarf2.c (struct attribute): Use bfd_int64_t and bfd_uint64_t. (read_8_bytes, read_indirect_string, read_address): Likewise. (read_abbrevs, parse_comp_unit): Likewise. * targets.c (struct bfd_target): Likewise. * aix386-core.c (NO_GET64, NO_PUT64, NO_GETS64): Define and use. * hppabsd-core.c: Likewise. Formatting. * hpux-core.c: Likewise. * irix-core.c: Likewise. * netbsd-core.c: Likewise. * osf-core.c: Likewise. * ptrace-core.c: Likewise. * sco5-core.c: Likewise. * trad-core.c: Likewise. * configure: Regenerate. * bfd-in2.h: Regenerate.
2004-03-15 * sparc-dis.c (print_insn_sparc): Update getword prototype.Alan Modra2-10/+14
2004-03-15 * objdump.c (struct SFILE): Replace current pointer with posNathan Sidwell2-39/+33
offset, rename size to alloc. (objdump_sprintf): Avoid unnecessary copies in the common case (disassemble_bytes): Keep sfile live throughout the function. Adjust usage appropriately.
2004-03-15 * bfd-in.h (bfd_getb64, bfd_getl64): Replace bfd_byte* with void*.Alan Modra19-403/+375
(bfd_getb32, bfd_getl32, bfd_getb16, bfd_getl16): Likewise. (bfd_getb_signed_64, bfd_getl_signed_64): Likewise. (bfd_getb_signed_32, bfd_getl_signed_32): Likewise. (bfd_getb_signed_16, bfd_getl_signed_16): Likewise. (bfd_putb64, bfd_putl64, bfd_putb32, bfd_putl32): Likewise. (bfd_putb16, bfd_putl16, bfd_get_bits, bfd_put_bits): Likewise. * libbfd.c: Likewise in function definitions. (bfd_put_8): Mask with 0xff rather than casting to char. (bfd_putb16, bfd_putl16, bfd_putb32, bfd_putl32): Likewise. (bfd_putb64, bfd_putl64, bfd_put_bits): Likewise. (H_PUT_64, H_PUT_32, H_PUT_16, H_PUT_8): Remove casts, simplify. (H_PUT_S64, H_PUT_S32, H_PUT_S16, H_PUT_S8): Likewise. (H_GET_64, H_GET_32, H_GET_16, H_GET_8): Likewise. (H_GET_S64, H_GET_S32, H_GET_S16, H_GET_S8): Likewise. * libaout.h (H_PUT_64 H_PUT_32, H_PUT_16): Remove casts, simplify. (H_PUT_S64, H_PUT_S32, H_PUT_S16): Likewise. (H_GET_64, H_GET_32, H_GET_16): Likewise. (H_GET_S64, H_GET_S32, H_GET_S16): Likewise. * archive.c (do_slurp_coff_armap): Update swap prototype. * coff-tic54x.c (tic54x_getl32): Replace bfd_byte* with void*. (tic54x_getl_signed_32): Likewise. (tic54x_putl32): Likewise. Mask with 0xff rather than casting to char. * mach-o.c (bfd_mach_o_read_header): Update get32 prototype. * pdp11.c (bfd_getp32): Make static, replace bfd_byte* with void*. (bfd_getp_signed_32, bfd_putp32): Likewise. * targets.c (struct bfd_target): Use void* in place of bfd_byte* for bfd_getx64, bfd_getx_signed_64, bfd_putx64, bfd_getx32, bfd_getx_signed_32, bfd_putx32, bfd_getx16, bfd_getx_signed_16, bfd_putx16, bfd_h_getx64, bfd_h_getx_signed_64, bfd_h_putx64, bfd_h_getx32, bfd_h_getx_signed_32, bfd_h_putx32, bfd_h_getx16, bfd_h_getx_signed_16, bfd_h_putx16. * aix386-core.c (NO_GET, NO_GETS, NO_PUT): Update prototypes. * hppabsd-core.c: Similarly. Rename NO_SIGNED_GET to NO_GETS. * hpux-core.c: Likewise. * irix-core.c: Likewise. * netbsd-core.c: Likewise. * osf-core.c: Likewise. * ptrace-core.c: Likewise. * sco5-core.c: Likewise. * trad-core.c: Likewise. * bfd-in2.h: Regenerate.
2004-03-15 * gas/i386/padlock.s: Pad with .p2align.Alan Modra3-1/+9
* gas/i386/padlock.d: Adjust.
2004-03-15 * config.bfd: Add x86-64 vector to NetBSD/i386 if 64bit BFD isAlan Modra2-3/+9
selected.
2004-03-15*** empty log message ***gdbadmin1-1/+1
2004-03-14daily updateAlan Modra1-1/+1
2004-03-14* amd64-linux-tdep.h: Remove file.Mark Kettenis5-152/+63
* amd64-linux-tdep.c: Don't include "inferior.h" and "amd64-linux-tdep.h". Include "frame.h" and "solib-svr4.h". (USER_R15, USER_R14, USER_R13, USER_R12, USER_RBP, USER_RBX) (USER_R11, USER_R10, USER_R9, USER_R8, USER_RAX, USER_RCX) (USER_RDX, USER_RSI, USER_RDI, USER_RIP, USER_CS, USER_EFLAGS) (USER_RSP, USER_SS, USER_DS, USER_ES, USER_FS, USER_GS): Remove macros. (user_to_gdb_regmap): Remove variable. (amd64_linux_gregset_reg_offset): New variable. (amd64_core_fns): Remove variable. (fetch_core_registers): Remove function. (amd64_linux_supply_gregset, amd64_linux_fill_gregset): Remove functions. (_initialize_amd64_linux_tdep): Don't set add_core_fns. * amd64-linux-nat.c: Don't include "amd64-linux-tdep.h". * Makefile.in (amd64_linux_tdep_h): Remove. (amd64-linux-nat.o): Update dependencies. (amd64-linux-tdep.o): Update dependencies.
2004-03-14* amd64-linux-nat.c (GETFPREGS_SUPPLIES): Remove macro.Mark Kettenis2-82/+39
(fetch_regs, fetch_fpregs, store_regs, store_fpregs): Remove functions. (fetch_inferior_registers, store_inferior_registers): Rewrite.
2004-03-14* amd64-tdep.h (amd64_fill_fxsave): Remove prototype.Mark Kettenis3-18/+5
* amd64-tdep.c (amd64_fill_fxsave): Remove function.
2004-03-14 * dwarf2read.c (read_structure_type): Rename fromDaniel Jacobowitz2-46/+116
read_structure_scope. Don't create a symbol or call process_die. Return immediately if die->type is set. Call read_type_die before dwarf2_add_member_fn. (process_structure_scope): New function. (read_enumeration_type, process_enumeration_scope): New functions, broken out from read_enumeration. Don't create the enumeration type if it has already been created. (read_enumeration): Removed. (process_die): Call read_structure_type, process_structure_scope, read_enumeration_type, and process_enumeration_scope. Just call new_symbol for base and subrange types. Add a comment about other type dies. (read_type_die): Call read_enumeration_type. (add_partial_structure, new_symbol): Update comments.
2004-03-14*** empty log message ***gdbadmin1-1/+1
2004-03-13daily updateAlan Modra1-1/+1
2004-03-13 * m68hc11-tdep.c (m68hc11_register_name): Get soft reg information.Stephane Carrez2-0/+6
2004-03-13 * tui/tui-win.h (tui_get_cmd_list): Declare.Stephane Carrez8-619/+436
* tui/tui-win.c (tui_command): New function. (tui_get_cmd_list): New function. (_initialize_tui_win): Moved initialization of tui command in tui_get_cmd_list. * tui/tui-data.c (init_content_element): Setup new data members. (init_win_info): Likewise. (free_content_elements): Free it. * tui/tui-data.h (struct tui_data_element): Store the register content to print. (struct tui_data_info): Keep the current register group. * tui/tui-layout.c (tui_set_layout): Update call to tui_show_registers. * tui/tui-regs.h (tui_show_registers): Update prototype. (tui_toggle_float_regs, tui_calculate_regs_column_count): Remove. (tui_resize_all): No need to calculate anything for register window. * tui/tui-regs.c (tui_calculate_regs_column_count): Remove. (tui_set_register_element, tui_set_general_regs_content): Remove. (tui_set_special_regs_content): Remove. (tui_set_general_and_special_regs_content): Remove. (tui_set_float_regs_content): Remove. (tui_reg_value_has_changed, tui_get_register_raw_value): Remove. (tui_set_regs_content): Remove. (tui_toggle_float_regs, _tui_toggle_float_regs_command): Remove. (tui_v_show_registers_command_support): Remove. (tui_show_registers): Use a reggroup to specify the registers to show. (tui_show_register_group): New function. (tui_display_registers_from): Compute the layout of register window and refresh with new API; be sure to delete old register windows. (tui_check_register_values): Update to use tui_get_register and tui_display_data. (tui_display_register): Just refresh the register window part. (tui_register_format): Format registers and save in tui_data_element. (tui_get_register): New to combine tui_reg_value_has_changed and tui_get_register_raw_value; fix to use the new gdb API. (tui_show_float_command): Renamed tui_reg_float_command. (tui_show_general_command): Renamed tui_reg_general_command. (tui_show_special_command): Renamed tui_reg_system_command. (_initialize_tui_regs): Remove unused commands.
2004-03-13* NEWS (New native configurations): Mention OpenBSD/amd64.Mark Kettenis2-0/+3
2004-03-13* config/i386/nm-fbsd.h: Include "config/nm-bsd.h".Mark Kettenis7-44/+52
(PTRACE_ARG3_TYPE, FETCH_INFERIOR_REGISTERS, ATTACH_DETACH): Remove defines. * config/i386/nm-fbsd64.h: Likewise. * config/i386/nm-obsd.h: Likewise. * config/sparc/nm-fbsd.h: Likewise. Update copyright year. * config/alpha/nm-fbsd.h: Likewise. Update copyright year.
2004-03-13* config.bfd: Add x86_64-*-openbsd*.Mark Kettenis4-77/+88
* configure.in (x86_64-*-openbsd*): Set COREFILE to netbsd-core.lo. * configure: Regenerate.
2004-03-132004-03-12 Eric Botcazou <ebotcazou@gcc.gnu.org>Nathanael Nerode3-2/+9
Paolo Bonzini <bonzini@gnu.org> PR bootstrap/14522 * configure.in: Cope with shells that do not support unquoted ^ * configure: Regenerate.
2004-03-13Revise ChangeLog entry of previous commit to credit Richard SandifordKevin Buettner1-1/+3
for FR450 support.
2004-03-13Add FR450 support.Kevin Buettner3-0/+25
2004-03-13 * frv-tdep.c, frv-tdep.h (first_gpr_regnum, sp_regnum, fp_regnum)Kevin Buettner3-52/+64
(struct_return_regnum, last_gpr_regnum, first_fpr_regnum) (last_fpr_regnum, pc_regnum, first_spr_regnum, psr_regnum, ccr_regnum) (cccr_regnum, fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum) (tbr_regnum, brr_regnum, dbar0_regnum, dbar1_regnum, dbar2_regnum) (dbar3_regnum, lr_regnum, lcr_regnum, iacc0h_regnum, iacc0l_regnum) (last_spr_regnum, frv_num_regs, first_pseudo_regnum, iacc0_regnum) (last_pseudo_regnum, frv_num_pseudo_regs): Move constant (enum) definitions from frv-tdep.c to frv-tdep.h.
2004-03-13Add shared library support for FR-V FDPIC ABI.Kevin Buettner7-1/+1327
2004-03-13Fix typo in Makefile.in; commit ChangeLog entries for previous change.Kevin Buettner2-1/+15
2004-03-13Add support for FDPIC executables.Kevin Buettner3-1/+99
2004-03-13*** empty log message ***gdbadmin1-1/+1
2004-03-12daily updateAlan Modra1-1/+1
2004-03-12* solib-svr4.h: Change SOLIB_SVR4 wrapper into SOLIB_SVR4_HMark Kettenis2-3/+8
wrapper.
2004-03-12 * linux-low.c: Include <errno.h>. Remove extern declaration ofDaniel Jacobowitz2-2/+6
errno.
2004-03-12 * gdbreplay.c, server.h, utils.c: Update copyright years.Daniel Jacobowitz4-3/+7
2004-03-12 * read.c (s_leb128): Call md_flush_pending_output.Bob Wilson2-0/+8
2004-03-122004-03-12 David Carlton <carlton@kealia.com>David Carlton4-0/+132
* gdb.cp/pr-1553.exp: New. Tests for PR c++/1553. * gdb.cp/pr-1553.cc: Ditto. * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third pass branch.
2004-03-122004-03-12 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-0/+5
* gdb.cp/templates.exp: Accept more template types.
2004-03-122004-03-12 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2-0/+6
* i386.h (i386_optab): Added xstore as an alias for xstorerng.
2004-03-122004-03-12 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2-13/+6
* i386-dis.c (GRPPLOCK): Delete. (grps): Detele GRPPLOCK entry.
2004-03-122004-03-12 Michal Ludvig <mludvig@suse.cz>Michal Ludvig4-0/+43
* gas/i386/padlock.s, gas/i386/padlock.d: New tests for VIA PadLock instructions. * gas/i386/i386.exp: Run padlock tests.
2004-03-12 * i386-dis.c (OP_M, OP_0f0e, OP_0fae, NOP_Fixup): New functions.Alan Modra4-44/+91
(M, Mp): Use OP_M. (None, PADLOCK_SPECIAL, PADLOCK_0): Delete. (GRPPADLCK): Define. (dis386): Use NOP_Fixup on "nop". (dis386_twobyte): Use GRPPADLCK on opcode 0xa7. (twobyte_has_modrm): Set for 0xa7. (padlock_table): Delete. Move to.. (grps): ..here, using OP_0f07. Use OP_Ofae on lfence, mfence and clflush. (print_insn): Revert PADLOCK_SPECIAL code. (OP_E): Delete sfence, lfence, mfence checks. * gas/i386/katmai.d: Revert last change.
2004-03-12Ignore data-only sections when checking interworking statusNick Clifton2-3/+21
2004-03-12 * i386-dis.c (grps): Use INVLPG_Fixup instead of OP_E for invlpg.Jakub Jelinek4-5/+32
(INVLPG_Fixup): New function. (PNI_Fixup): Remove ATTRIBUTE_UNUSED from sizeflag. * opcode/i386.h (i386_optab): Remove CpuNo64 from sysenter and sysexit.
2004-03-122004-03-12 Michal Ludvig <mludvig@suse.cz>Michal Ludvig7-11/+91
* gas/config/tc-i386.c (output_insn): Handle PadLock instructions. * gas/config/tc-i386.h (CpuPadLock): New define. (CpuUnknownFlags): Added CpuPadLock. * include/opcode/i386.h (i386_optab): Added xstore/xcrypt insns. * opcodes/i386-dis.c (PADLOCK_SPECIAL, PADLOCK_0): New defines. (dis386_twobyte): Opcode 0xa7 is PADLOCK_0. (padlock_table): New struct with PadLock instructions. (print_insn): Handle PADLOCK_SPECIAL.
2004-03-12opcodes/Alan Modra4-6/+21
* i386-dis.c (grps): Use clflush by default for 0x0fae/7. (OP_E): Twiddle clflush to sfence here. gas/testsuite/ * gas/i386/katmai.d: Adjust for clflush change.
2004-03-12*** empty log message ***gdbadmin1-1/+1