aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-06-19 * emultempl/ppc64elf.em (build_section_lists): Check return statusAlan Modra2-43/+49
from ppc64_elf_next_input_section.
2003-06-19 * elf64-ppc.c (toc_adjusting_stub_needed): New function.Alan Modra3-83/+134
(ppc64_elf_next_input_section): Use it here to set has_gp_reloc. Return error condition. (ppc64_elf_size_stubs): Restrict toc adjusting stubs to sections that have has_gp_reloc set. (struct ppc_link_hash_table): Add stub_count. (ppc_build_one_stub): Increment it. (ppc64_elf_link_hash_table_create): zmalloc rather than clearing individual fields. * elf64-ppc.h (ppc64_elf_next_input_section): Update prototype.
2003-06-19oops - remove spurious debugging left in previous deltaNick Clifton1-1/+1
2003-06-19When printing DEC_5 values, if the number is bigger than 99999 switch to usingNick Clifton2-11/+43
hexadecimal notation.
2003-06-19* avr-tdep.c: Include frame.h, frame-unwind.h, frame-base.h, andTheodore A. Roth2-424/+649
trad-frame.h. (AVR_MAX_PROLOGUE_SIZE): Increase from 56 to 64. (AVR_ARG1_REGNUM, AVR_ARGN_REGNUM): Define. (AVR_RET1_REGNUM, AVR_RETN_REGNUM): Define. (AVR_PROLOGUE_*): Enumerate prologue types. (struct frame_extra_info): Remove. (struct avr_unwind_cache): Define. (avr_write_sp): Delete function. (avr_read_fp): Ditto. (avr_init_extra_frame_info): Ditto. (avr_pop_frame): Ditto. (avr_frame_saved_pc): Ditto. (avr_saved_pc_after_call): Ditto. (avr_push_return_address): Ditto. (avr_frame_chain): Ditto. (avr_store_struct_return): Ditto. (avr_push_arguments): Ditto. (avr_scan_prologue): Update comments. Changed to set up the info for cache unwinding. Now returns end of prologue PC. (avr_skip_prologue): Better handling of functions lacking a prologue by using avr_scan_prologue. (avr_scan_arg_moves): New function. (avr_saved_regs_unwinder): Ditto. (avr_frame_unwind_cache): Ditto. (avr_unwind_pc): Ditto. (avr_frame_this_id): Ditto. (avr_frame_prev_register): Ditto. (avr_frame_p): Ditto. (avr_frame_base_address ): Ditto. (avr_unwind_dummy_id): Ditto. (avr_push_dummy_code): Ditto. (push_stack_item): Ditto. (pop_stack_item): Ditto. (avr_push_dummy_call): Ditto. (struct stack_item): Define. (avr_frame_unwind): Declare structure. (avr_frame_base): Ditto. (avr_gdbarch_init): Remove calls to set_gdbarch_deprecated_init_frame_pc, set_gdbarch_deprecated_target_read_fp, set_gdbarch_deprecated_dummy_write_sp, set_gdbarch_deprecated_fp_regnum, set_gdbarch_deprecated_push_arguments, set_gdbarch_deprecated_push_return_address, set_gdbarch_deprecated_pop_frame, set_gdbarch_deprecated_store_struct_return, set_gdbarch_deprecated_frame_init_saved_regs, set_gdbarch_deprecated_init_extra_frame_info, set_gdbarch_deprecated_frame_chain, set_gdbarch_deprecated_frame_saved_pc, set_gdbarch_deprecated_saved_pc_after_call. Add calls to set_gdbarch_push_dummy_call, set_gdbarch_push_dummy_code, frame_unwind_append_predicate, frame_base_set_default, set_gdbarch_unwind_dummy_id, set_gdbarch_unwind_pc. Wrap a long line.
2003-06-19Replace occurances of testprog with $test_prog. Initialise this variable toNick Clifton2-5/+19
testprog.exe on Cygwin targeted systems.
2003-06-192003-06-18 Corinna Vinschen <vinschen@redhat.com>Michael Snyder2-4/+11
* h8300-tdep.c (h8300s_register_name): Enable MACH and MACL registers for H8/300S. (h8300_print_registers_info): Ditto. (h8300_gdbarch_init): Accommodate register count for H8/300S.
2003-06-19Fix typo.Michael Snyder1-1/+1
2003-06-192003-05-30 Alexandre Oliva <aoliva@redhat.com>Michael Snyder20-88/+3830
* allinsn.exp: Fix typos introduced on 2003-05-27. 2003-05-29 Michael Snyder <msnyder@redhat.com> * tas.s: Use er4 for h8h and h8s, er3 for h8sx. 2003-05-28 Michael Snyder <msnyder@redhat.com> * subs.s: New file. * subx.s: New file. * allinsn.exp: Add new subs and subx tests. * testutils.inc: Simplify (and fix) set_carry_flag. (clear_carry_flag, set_zero_flag, clear_zero_flag...): New macros. * addx.s: Use simplified set_carry_flag. 2003-05-27 Michael Snyder <msnyder@redhat.com> * tas.s: New file. * band.s: New file. * biand.s: New file. * allinsn.exp: Add tas, band, biand tests. * brabc.s: Add abs8 test. * bset.s: Add bset/ne, bclr/ne tests. 2003-05-23 Michael Snyder <msnyder@redhat.com> * and.b.s: Add andc exr. * or.b.s: Add orc.exr. * xor.b.s: Add xor exr. * jmp.s: Fix 8-bit indirect test. Add 7-bit vector test. 2003-05-22 Michael Snyder <msnyder@redhat.com> * stack.s: Add rte/l and rts/l tests. * allinsn.exp: Add stack tests. 2003-05-21 Michael Snyder <msnyder@redhat.com> * stack.s: New file: test stack operations. * stack.s: Add bsr, jsr tests. * stack.s: Add trapa, rte tests. * div.s: Corrections for size of dividend. 2003-05-20 Michael Snyder <msnyder@redhat.com> * mul.s: Corrections for unsigned multiply. * div.s: New file, test div instructions. * allinsn.exp: Add div test. 2003-05-19 Michael Snyder <msnyder@redhat.com> * mul.s: New file, test mul instructions. * allinsn.exp: Add mul test.
2003-06-192003-06-18 Michael Snyder <msnyder@redhat.com>Michael Snyder2-89/+167
* compile.c: Replace "Hitachi" with "Renesas". (decode): Distinguish AV_H8S from AV_H8H. (sim_resume): H8SX can use any register for TAS. (decode): Add support for VECIND. (sim_resume): Implement rte/l and rts/l. (GETSR): New macro (actually old macro reincarnated). (decode): Add handling for IMM2. (sim_resume): Drop extra block around jmp, jsr, rts. Add handling for trapa and rte. For divxu.b, change 0xffff mask to 0xff. (set_h8300h): Add bfd_mach_h8300sxn machine.
2003-06-192003-06-18 Corinna Vinschen <vinschen@redhat.com>Michael Snyder2-4/+9
* sim-main.h (enum h8_regnum): Turn around order of MACH, MACL and SBR, VBR (for benefit of gdb).
2003-06-19 * gdb.texinfo (Remote Debugging): New section "Connecting to aDaniel Jacobowitz2-119/+145
remote target". Document the "detach" and "disconnect" commands. (Server, Netware, Debug Session): Reference "Connecting to a remote target". (GDB/MI Target Manipulation): Document "-target-disconnect".
2003-06-192003-06-05 Michael Snyder <msnyder@redhat.com>Michael Snyder2-6/+33
* compile.c (sim_fetch_register): Handle SBR, VBR, MACH, MACL. (sim_store_register): Ditto.
2003-06-19*** empty log message ***gdbadmin1-1/+1
2003-06-19daily updateAlan Modra1-1/+1
2003-06-18 * config/nm-linux.h (linux_record_stopped_pid): New prototype.Daniel Jacobowitz4-0/+91
* lin-lwp.c (child_wait): Call linux_record_stopped_pid. (lin_lwp_wait): Likewise. Update comments. * linux-nat.c (struct simple_pid_list, add_to_pid_list) (pull_pid_from_list, linux_record_stopped_pid): New.
2003-06-18 * config/tc-ppc.c (ppc_csect): Pass alignment to ppc_change_csect.Alan Modra2-16/+37
(ppc_change_csect): Add align param. Align frag at start of csect. (ppc_section, ppc_named_section): Adjust ppc_change_csect calls. (ppc_frob_section): Align vma.
2003-06-18 * dw2gencfi.c (EH_FRAME_ALIGNMENT): Define if not defined.Jakub Jelinek11-87/+93
(output_cie): Don't pad. (output_fde): Add align argument. Pad to align if not 0. (cfi_finish): Set .eh_frame alignment to EH_FRAME_ALIGNMENT. Pad just last FDE to EH_FRAME_ALIGNMENT. * gas/cfi/cfi-i386.d: Regenerated. * gas/cfi/cfi-common-1.d: Regenerated. * gas/cfi/cfi-common-2.d: Regenerated. * gas/cfi/cfi-common-3.d: Regenerated. * gas/cfi/cfi-x86_64.d: Regenerated. * gas/cfi/cfi-alpha-1.d: Regenerated. * gas/cfi/cfi-alpha-2.d: Regenerated. * gas/cfi/cfi-alpha-3.d: Regenerated.
2003-06-18 * config/tc-s390.c (init_default_arch): Make current_mode_maskMartin Schwidefsky2-8/+21
dependent on s390_arch_size and current_cpu dependent on current_mode_mask.
2003-06-18Add c4x as an architecture variant to tic4x.Nick Clifton5-235/+255
2003-06-18 * elflink.h (elf_gc_record_vtentry): Revert last change. CorrectAlan Modra2-8/+14
size calculation from addend. Round size up.
2003-06-18 * elf32-cris.c (cris_elf_relocate_section) <caseHans-Peter Nilsson2-2/+15
R_CRIS_32_GOTREL>: When linking a program, don't complain about a symbol from a normal object or an undefined weak symbol.
2003-06-18 * ld-cris/locref1.d, ld-cris/locref1.s, ld-cris/locref2.d,Hans-Peter Nilsson5-0/+57
ld-cris/locref2.s: New tests.
2003-06-18 * ld-elfcomm/elfcomm.exp (dump_common1): Use $READELF, not plainHans-Peter Nilsson2-2/+8
readelf as found using default path.
2003-06-18 * config/tc-ppc.c (ppc_elf_suffix): Don't remove symbols other thanAlan Modra2-4/+9
".TOC." from PPC64_TOC relocs.
2003-06-18 * elf64-ppc.c (ppc64_elf_relocate_section): Accept a symbol onAlan Modra2-8/+20
R_PPC64_TOC relocs.
2003-06-18* configure.in: Update testsuite_flags to new location.DJ Delorie3-11/+35
* configure. Regenerate.
2003-06-18 * lib/ld-lib.exp (default_ld_simple_link): Trim ld parms beforeAlan Modra2-2/+16
trying to trim ld path. (default_ld_compile): Likewise for cc.
2003-06-182003-06-17 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou2-2/+6
* mips.igen (do_dmultx): Fix check for negative operands.
2003-06-18bfd/H.J. Lu6-12/+56
2003-06-17 H.J. Lu <hongjiu.lu@intel.com> * section.c (struct sec): Put back kept_section. (STD_SECTION): Put back kept_section initialization. * bfd-in2.h: Regenerate. * elflink.h (elf_link_input_bfd): Also check discarded linkonce sections for relocateable output. Use kept_section to preserve debug information discarded by linkonce. ld/ 2003-06-17 H.J. Lu <hongjiu.lu@intel.com> * ldlang.c (section_already_linked): Put back assignment of kept_section.
2003-06-18daily updateAlan Modra1-1/+1
2003-06-18*** empty log message ***gdbadmin1-1/+1
2003-06-172003-06-17 Roland McGrath <roland@redhat.com>H.J. Lu2-1/+6
* elfxx-ia64.c (elfNN_ia64_relocate_section): Support segment-relative relocation between different segments.
2003-06-17 * lib/ld-lib.exp (default_ld_simple_link): Trim ld path beforeAlan Modra2-2/+10
looking for gcc match. (default_ld_compile): Likewise for cc.
2003-06-17 (sync with gcc)Nathanael Nerode3-4/+5
* Makefile.tpl: Remove BUILD_CC stuff. * Makefile.in: Regenerate.
2003-06-17 * ada-lang.c (scan_discrim_bound): Name first argument.Stephane Carrez2-3/+7
(ada_add_block_symbols): Remove BLOCK_SYM to use local variable declared by ALL_BLOCK_SYMBOLS.
2003-06-17 * ada-tasks.c (find_function_in_inferior): Don't declare it.Stephane Carrez3-6/+11
("regcache.h"): Include it. * ada-lex.l (block_lookup): Replace VAR_NAMESPACE with VAR_DOMAIN.
2003-06-17gdb/Daniel Jacobowitz12-10/+154
* NEWS: Mention gdbserver detach change and "disconnect" command. * infcmd.c (disconnect_command): New function. (_initialize_infcmd): Add ``disconnect'' command. * remote.c (remote_async_detach): Delete. (remote_detach): Merge remote_async_detach. (remote_disconnect): New. (init_remote_ops): Set to_disconnect. (init_remote_cisco_ops): Likewise. (init_remote_async_ops): Likewise. Use remote_detach. * target.c (cleanup_target): Default to_disconnect. (update_current_target): Inherit to_disconnect. (target_disconnect, debug_to_disconnect): New functions. (setup_target_debug): Set to_disconnect. * target.h (struct target_ops): Add to_disconnect. (target_disconnect): Add prototype. gdbserver/ * linux-low.c: Move comment to linux_thread_alive where it belonged. (linux_detach_one_process, linux_detach): New functions. (linux_target_ops): Add linux_detach. * server.c (main): Handle 'D' packet. * target.h (struct target_ops): Add "detach" member. (detach_inferior): Define. mi/ * mi-cmds.c (mi_cmds): Add "-target-disconnect".
2003-06-17 * breakpoint.c (insert_catchpoint): New function.Daniel Jacobowitz2-23/+41
(insert_breakpoints): Use catch_exceptions to call insert_catchpoint. Disable catchpoints if they fail to insert.
2003-06-17 * symfile.c (reread_symbols): Clear sym_private.Daniel Jacobowitz2-0/+5
2003-06-172003-06-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-1/+13
* trad-frame.h (struct frame_info): Add opaque declaration. * remote-fileio.h (struct cmd_list_element): Add opaque declaration. * h8300-tdep.c (h8300s_register_name): Avoid C++ // style comments.
2003-06-17* nto-tdep.c (nto_map_arch_to_cputype): Recognize powerpc.Kris Warkentin2-7/+16
(nto_find_and_open_solib): Likewise. (nto_init_solib_absolute_prefix): Likewise. (_initialize_nto_tdep): Fix indentation.
2003-06-17 * remote.c (remote_prepare_to_store): Replace call toDaniel Jacobowitz2-5/+14
deprecated_read_register_bytes with multiple regcache_raw_read calls.
2003-06-17* i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR.Kris Warkentin2-1/+5
2003-06-17* i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using.Kris Warkentin2-0/+5
2003-06-17merge from gccDJ Delorie2-11/+4
2003-06-17* ppc-linux-tdep.c: "Linux" -> "GNU/Linux"Jim Blandy2-3/+7
2003-06-17 * elf64-ppc.c (ppc64_elf_relocate_section): Do unaligned relocAlan Modra2-27/+22
optimizations earlier.
2003-06-17 * elf64-ppc.c (struct ppc_link_hash_table): Reinstate top_index.Alan Modra2-64/+99
Restore previous input_list type. (ppc64_elf_link_hash_table_create): Undo last change. (ppc64_elf_setup_section_lists): Reinstate code setting up input lists per output section, but don't bother with bfd_abs_section marker. (ppc64_elf_next_input_section): Adjust for multiple input section lists. (group_sections): Likewise.
2003-06-17 * elf64-ppc.c (ppc64_elf_relocation_section): EnsureJakub Jelinek2-1/+7
*r_offset == r_addend for RELATIVE relocs against .got.