aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-08-102002-08-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-6/+40
* regcache.c (regcache_dump): Compare the register offset with REGISTER_BYTE. * arch-utils.c (generic_register_byte): New function. * arch-utils.h (generic_register_byte): Declare. * gdbarch.sh (REGISTER_BYTE): Default to generic_register_byte. * gdbarch.h, gdbarch.c: Regenerate.
2002-08-10Oversights in previous checkin.Michael Snyder2-6/+1
2002-08-10Shh, revert unintended commit.Andrew Cagney2-18/+0
2002-08-102002-08-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-2/+283
* regcache.c: Include "gdbcmd.h" (_initialize_regcache): Add commands "maintenance print registers", "maintenance print raw-registers" and "maintenance print cooked-registers". (enum regcache_dump_what): Define. (dump_endian_bytes): New function. (regcache_dump): New function. (regcache_print): New function. (maintenance_print_registers): New function. (maintenance_print_raw_registers): New function. (maintenance_print_cooked_registers): New function. * Makefile.in (regcache.o): Update dependencies.
2002-08-102002-08-09 Michael Snyder <msnyder@redhat.com>Michael Snyder2-26/+273
* mips-tdep.c (ROUND_DOWN, ROUND_UP): Move to global scope. (mips_push_arguments): Correct some comments. Use paddr_nz for printing addresses in debug output. Replace static allocation using MAX_REGISTER_RAW_SIZE with alloca. (mips_n32n64_push_arguments): New function, cloned from mips_push_arguments and tuned for the n32/n64 ABI. (mips_push_register): Buffer needs dynamic allocation. (mips_print_register): Ditto. (do_gp_register_row): Ditto. (mips_store_return_value): Ditto. (mips_gdbarch_init): Set gdbarch_push_arguments per ABI.
2002-08-10*** empty log message ***gdbadmin1-1/+1
2002-08-10daily updateAlan Modra1-1/+1
2002-08-092002-08-09 Don Howard <dhoward@redhat.com>Don Howard2-5/+18
* memattr.c (mem_info_command): Print special case of upper bound as max CORE_ADDR + 1.
2002-08-092002-08-08 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+6
* mips-tdep.c (mips_n32n64_use_struct_convention): N32 only returns structs by ref if they're too big to fit in two registers.
2002-08-09Fix minor formatting problem in previous patch.Kevin Buettner1-2/+1
2002-08-09 * mips-tdep.c (mips_init_extra_frame_info): Initialize SP_REGNUM'sKevin Buettner2-3/+26
saved regs value. (read_next_frame_reg): Call FRAME_INIT_SAVED_REGS instead of mips_find_saved_regs(). (mips_pop_frame): Likewise.
2002-08-09 * blockframe.c (frame_saved_regs_register_unwind): ReviseKevin Buettner2-1/+11
PC_IN_CALL_DUMMY assertion to only apply when generic dummy frames are in use.
2002-08-09 * remote.c: (remote_wait, remote_async_wait): Add check for awatchGrace Sainsbury4-35/+199
T-packets; the 'a' is not taken as a register number. (remote_check_watch_resources, remote_stopped_by_watchpoint) (remote_stopped_data_address): New functions; add to target vector. (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Change prototypes to match other implementations of this function. replace integer argument with pointer -- the length field in the Z-packet is the length of what is pointed to or 1 if pointer is null. Add to target vector. (remote_insert_watchpoint, remote_remove_watchpoint): Add to target vector. From Mark Salter: * remote.c (remote_wait): Add support to extract optional watchpoint information from T-packet. Ignore unrecognized optional info in T-packet. (remote_async_wait): Ditto. doc: From Mark Salter: * gdb.texinfo (Protocol): Document T packet extension to allow watchpoint address reporting.
2002-08-09 * cli/cli-dump.c: Change fopen modes to use binary open modesCorinna Vinschen2-13/+18
as defined in include/fopen-bin.h throughout.
2002-08-09Oops - omitted from previous deltaNick Clifton1-0/+32
2002-08-09Add QNX Neutrino PowerPC support and common up QNX functionsNick Clifton24-363/+1291
2002-08-09Updated Swedish translationNick Clifton6-166/+1095
2002-08-09 * config/tc-i386.h: Reorganize.Alan Modra2-82/+83
2002-08-09* config/tc-mips.c (macro): Handle a register plus a 16-bitMaciej W. Rozycki6-3/+26
immediate offset in "dla" and "la" expansions. * gas/mips/empic.d: Treat "addiu" and "daddiu" as equivalent when $0 is source. * mips-opc.c (mips_builtin_opcodes): Remove "dla" and "la" as aliases to "daddiu" and "addiu".
2002-08-09 * elfxx-mips.c (mips_elf_global_got_index): Avoid segfault ifThiemo Seufer2-2/+10
g->global_gotsym is NULL.
2002-08-09Add the missing space.H.J. Lu1-1/+1
2002-08-092002-08-08 H.J. Lu <hjl@gnu.org>H.J. Lu13-0/+60
* ld-elfvers/vers.exp: Add vers22. * ld-elfvers/vers22.c: New. * ld-elfvers/vers22.dsym: New. * ld-elfvers/vers22.map: New. * ld-elfvers/vers22.ver: New. * ld-elfvers/vers22a.c: New. * ld-elfvers/vers22a.dsym: New. * ld-elfvers/vers22a.sym: New. * ld-elfvers/vers22a.ver: New. * ld-elfvers/vers22b.c: New. * ld-elfvers/vers22b.dsym: New. * ld-elfvers/vers22b.ver: New.
2002-08-092002-08-08 H.J. Lu <hjl@gnu.org>H.J. Lu2-4/+12
* elflink.h (elf_add_default_symbol): Don't warn a defintion overrides an indirect versioned symbol.
2002-08-09 * configure.in: bfd_gas=yes for all i386 targets. Formatting.Alan Modra3-884/+798
Remove "bfd_gas=yes" from target table when covered later. Consolidate some entries. * configure: Regenerate
2002-08-092002-08-08 Michael Snyder <msnyder@redhat.com>Michael Snyder2-9/+13
* mips-tdep.c: Minor whitespace and indentation clean-ups.
2002-08-09 * doublest.c (store_floating): Avoid floatformat_from_doublest()Kevin Buettner2-0/+6
assertion failure by returning early after a warning.
2002-08-09 * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()Jakub Jelinek5-51/+219
at start of insn, pass it to output_disp and output_imm. (output_disp): Added arguments. If _GLOBAL_OFFSET_TABLE_ is seen in displacement for R_386_32 reloc, use R_386_GOTPC and compute properly addend. (output_imm): Added arguments. Compute properly addend for R_386_GOTPC. (md_apply_fix3): Remove R_386_GOTPC handling. * testsuite/gas/i386/gotpc.s: New. * testsuite/gas/i386/gotpc.d: New. * testsuite/gas/i386/i386.exp: Add gotpc test.
2002-08-09daily updateAlan Modra1-1/+1
2002-08-09*** empty log message ***gdbadmin1-1/+1
2002-08-08Multiarch FRAME_INIT_SAVED_REGS for mips.Kevin Buettner1-0/+8
2002-08-08 * mips-tdep.c (mips_find_saved_regs): Make static.Kevin Buettner2-14/+19
(mips_frame_init_saved_regs): New function. (mips_gdbarch_init): Setup FRAME_INIT_SAVED_REGS method. * config/mips/tm-mips.h (FRAME_INIT_SAVED_REGS): Delete macro. (mips_find_saved_regs): Delete declaration.
2002-08-082002-08-06 Michael Snyder <msnyder@redhat.com>Michael Snyder1-2/+0
* config/mips/tm-mips.h: Remove #define USE_STRUCT_CONVENTION.
2002-08-08 * elf32-i386.c (elf_i386_relocate_section): Fill in proper addendJakub Jelinek2-2/+11
for R_386_TLS_TPOFF32 relocs against symndx 0.
2002-08-08* remote.c (remote_wait, remote_async_wait): ChangeGrace Sainsbury2-4/+10
thread_num from int to ULONGEST. (unpack_varlen_hex): Change result parameter from int * to ULONGEST *.
2002-08-082002-08-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-15/+12
* configure.tgt: Replace powerpc-*-sysv*, powerpc-*-elf*, powerpcle-*-eabi*, powerpcle-*-sysv* and powerpcle-*-elf* with powerpc*-*-*. * MAINTAINERS: Remove redundant rs6000-ibm-aix4.1 target.
2002-08-082002-08-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-45/+15
* gcore.c (override_derive_stack_segment): Delete variable. (preempt_derive_stack_segment): Delete function. (derive_stack_segment): Delete function. (default_derive_stack_segment): Renamed to derive_stack_segment. (override_derive_heap_segment): Delete variable. (preempt_derive_heap_segment): Delete function. (derive_heap_segment): Delete function. (default_derive_heap_segment): Rename to derive_heap_segment.
2002-08-08Check symbols with undefine version.H.J. Lu14-53/+152
2002-08-082002-08-06 Michael Snyder <msnyder@redhat.com>Michael Snyder2-5/+37
* config/mips/tm-mips.h: Remove #define USE_STRUCT_CONVENTION. * mips-tdep.c (mips_EABI_use_struct_convention, mips_OABI_use_struct_convention, mips_NABI_use_struct_convention): New functions. (mips_use_struct_convention): Delete. (mips_gdbarch_init): set use_gdbarch_convention.
2002-08-08 * elflink.h (elf_link_output_extsym): Don't output symbols fromAlan Modra2-3/+6
SEC_EXCLUDE sections.
2002-08-08 * aoutx.h (aout_link_write_symbols): Correct handling of warning syms.Alan Modra2-2/+6
2002-08-08daily updateAlan Modra1-1/+1
2002-08-08*** empty log message ***gdbadmin1-1/+1
2002-08-07merge from gccDJ Delorie2-81/+33
2002-08-072002-08-06 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+47
* mips-tdep.c: gdbarch-ify reg_struct_has_addr. (mips_eabi_reg_struct_has_addr, mips_n32n64_reg_struct_has_addr, mips_o32_reg_struct_has_addr): New functions. (mips_gdbarch_init): Set gdbarch reg_struct_has_addr.
2002-08-072002-08-07 Andrew Cagney <ac131313@redhat.com>Andrew Cagney5-221/+20
* regcache.c (pseudo_register): Delete function. (fetch_register): Delete function. (store_register): Delete function. (regcache_raw_read, legacy_read_register_gen): Use target_fetch_registers instead of fetch_register. (legacy_write_register_gen, regcache_raw_write): Use target_store_register instead of store_register. (write_register_bytes): Ditto. * gdbarch.sh (FETCH_PSEUDO_REGISTER): Delete. (STORE_PSEUDO_REGISTER): Delete. * gdbarch.h, gdbarch.c: Regenerate.
2002-08-07Only search for an interworking bfd if there are input bfds.Nick Clifton2-10/+17
2002-08-07 * cli/cli-dump.c (add_dump_command): Explicitely use "b" flag toCorinna Vinschen2-2/+7
write dump file binary.
2002-08-07 * elf64-ppc.c (edit_opd): Arrange to drop symbols for discarded .opdAlan Modra2-1/+22
entries.
2002-08-07 * elfxx-mips.c (mips_elf_create_dynamic_relocation): Cast signednessThiemo Seufer2-1/+7
mismatch.
2002-08-07 * elfxx-mips.c (ABI_64_P): Remove superfluous check.Thiemo Seufer2-1/+5