aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-04-212003-04-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney27-985/+1119
* infcall.c: New file. * infcall.h: New file. * valarith.c: Include "infcall.h". * scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto. * eval.c, ada-valprint.c, ada-lang.c: Ditto. * Makefile.in (valarith.o, scm-lang.o): Update dependencies. (objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies. (eval.o, ada-valprint.o, ada-lang.o): Update dependencies. (SFILES): Add "infcall.c" (COMMON_OBS): Add "infcall.o". (infcall.o): Specify dependencies. * value.h (call_function_by_hand): Delete declaration. * inferior.h (run_stack_dummy): Delete declaration. * infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c". (run_stack_dummy): Move to "infcall.c", merged into call_function_by_hand. * valops.c (call_function_by_hand): Moved to "infcall.c". (find_function_addr, value_arg_coerce): Ditto. (unwindonsignal_p, coerce_float_to_double): Ditto. (_initialize_valops): Move "set/show coerce-float-to-double", and "set/show unwindonsignal" commands to "infcall.c". * v850-tdep.c, target.h: Update comments. * sparc-tdep.c (sparc_fix_call_dummy): Update comments. * sh-tdep.c (sh_init_extra_frame_info): Update comments. (sh64_init_extra_frame_info): Update comments. * mn10300-tdep.c: Update comments. * mcore-tdep.c (mcore_init_extra_frame_info): Update comments. * config/sparc/tm-sparc.h: Update comments. * breakpoint.h: Update comments. * avr-tdep.c (avr_init_extra_frame_info): Update comments. * arm-tdep.c: Update comment.
2003-04-21 * ld-m68hc11/far-hc11.s: New file.Stephane Carrez6-0/+342
* ld-m68hc11/far-hc11.d: New test for HC11 trampoline generation. * ld-m68hc11/far-hc12.s: New file. * ld-m68hc11/far-hc12.d: New test for HC12 trampoline generation. * ld-m68hc11/far-hc12.ld: New file.
2003-04-21 * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.Stephane Carrez5-0/+15
* emulparams/m68hc11elfb.sh: Likewise. * emulparams/m68hc12elf.sh: Likewise. * emulparams/m68hc12elfb.sh: Likewise.
2003-04-21 * Makefile.am (BFD32_BACKENDS): Add elf32-m68hc1x.lo.Stephane Carrez5-8/+29
(elf32-m68hc1x.lo): Update dependencies * configure.in: Add elf32-m68hc1x.lo. * configure: Rebuild. * Makefile.in: Rebuild.
2003-04-21 * elf32-m68hc1x.c: New file (from elf32-m68hc11.c and elf32-m68hc12.c)Stephane Carrez5-803/+1998
(m68hc11_elf_hash_table_create): New function. (elf32_m68hc11_link_hash_table_free): New function. (stub_hash_newfunc): New function. (m68hc11_add_stub): New function. (elf32_m68hc11_add_symbol_hook): New function. (elf32_m68hc11_setup_section_lists): New function. (elf32_m68hc11_next_input_section): New function. (elf32_m68hc11_size_stubs): New function. (elf32_m68hc11_build_stubs): New function. (m68hc11_get_relocation_value): New function. (elf32_m68hc11_relocate_section): Call the above to redirect some relocations to the trampoline code. (m68hc11_elf_export_one_stub): New function. (m68hc11_elf_set_symbol): New function. (elf32_m68hc11_build_stubs): Call it via bfd_hash_traverse. (m68hc11_elf_get_bank_parameters): Get parameters only when the info is not yet initialized. * elf32-m68hc1x.h: New file (from elf32-m68hc11.c and elf32-m68hc12.c) (elf32_m68hc11_stub_hash_entry): New struct. (m68hc11_page_info): Add trampoline handler address. (m68hc11_elf_link_hash_table): Add stubs generation members. (elf32_m68hc11_add_symbol_hook): Declare. (elf32_m68hc11_setup_section_lists): Declare. (elf32_m68hc11_size_stubs): Declare. (elf32_m68hc11_build_stubs): Declare. * elf32-m68hc11.c (m68hc11_elf_ignore_reloc): Move to elf32-m68hc1x.c. (elf32_m68hc11_gc_mark_hook, elf32_m68hc11_gc_sweep_hook): Likewise. (elf32_m68hc11_check_relocs, elf32_m68hc11_relocate_section): Ditto. (_bfd_m68hc11_elf_set_private_flags): Ditto. (_bfd_m68hc11_elf_merge_private_bfd_data): Ditto. (_bfd_m68hc11_elf_print_private_bfd_data): Ditto. (bfd_elf32_bfd_link_hash_table_create): Define. (elf_backend_add_symbol_hook): Define. (m68hc11_elf_bfd_link_hash_table_create): New function. (m68hc11_elf_build_one_stub): New function. (m68hc11_elf_size_one_stub): New function. (m68hc11_elf_bfd_link_hash_table_create): Install the above. (bfd_elf32_bfd_link_hash_table_create): Define. * elf32-m68hc12.c (m68hc11_elf_ignore_reloc): Remove. (m68hc12_addr_is_banked): Remove, use m68hc11_addr_is_banked. (m68hc12_phys_addr): Ditto. (m68hc12_phys_page): Ditto. (m68hc12_elf_special_reloc): Move to elf32-m68hc1x.c. (elf32_m68hc11_gc_mark_hook): Likewise. (elf32_m68hc11_gc_sweep_hook): Likewise. (elf32_m68hc11_check_relocs): Likewise. (elf32_m68hc11_relocate_section): Likewise. (_bfd_m68hc12_elf_set_private_flags): Likewise. (_bfd_m68hc12_elf_merge_private_bfd_data): Likewise. (_bfd_m68hc12_elf_print_private_bfd_data): Likewise. (m68hc12_elf_build_one_stub): New function. (m68hc12_elf_size_one_stub): New function. (m68hc12_elf_bfd_link_hash_table_create): New function, use the above. (elf_backend_add_symbol_hook): Define. (elf_m68hc11_howto_table): Use TRUE for pcrel relocs; fix masks.
2003-04-21daily updateAlan Modra1-1/+1
2003-04-21*** empty log message ***gdbadmin1-1/+1
2003-04-20*** empty log message ***gdbadmin1-1/+1
2003-04-20daily updateAlan Modra1-1/+1
2003-04-19* i386-tdep.c (i386_num_register_names): New variable.Mark Kettenis2-14/+28
(i386_num_mmx_regs): Renamed from mmx_num_regs. (MM0_REGNUM): Remove redundant parentheses in define. (i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs. (i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p, i386_mxcsr_regnum_p): Remove redundant parentheses. (i386_register_name): Use i386_num_register_names.
2003-04-19* i386-tdep.c (i386_extract_return_value,Mark Kettenis2-2/+6
i386_store_return_value): Correct check for availability of floating-point registers.
2003-04-19* i386-tdep.c (i386_frame_num_args): Remove function.Mark Kettenis2-75/+4
(i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown.
2003-04-19* i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed fromMark Kettenis2-5/+12
mmx_regnum_to_fp_regnum. Adjust all callers.
2003-04-19* i386-tdep.c (i386_get_longjmp_target): UseMark Kettenis2-3/+10
TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT and TARGET_CHAR_BIT. Use extract_typed_address instead of extract_address.
2003-04-19* core-regset.c: Update comments to reflect reality. Re-orderMark Kettenis2-62/+54
includes. (fetch_core_registers): Use switch instead of if. Remove redundant prototype.
2003-04-19 * emultempl/m68hc1xelf.em: New file to generate far trampolines onStephane Carrez2-0/+404
68HC11 and 68HC12. (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to generate. (LDEMUL_FINISH): Override to generate the trampolines after gc and linker relaxation. (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the stub file for trampolines. (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options --no-trampoline and --bank-window to control the memory bank window.
2003-04-19* Makefile.tpl (MAKEINFOFLAGS): Default to --split-size=5000000.DJ Delorie5-12/+14
* Makefile.in: Regenerate. * configure.in (powerpc64*-*-linux*): Remove. * configure: Rebuilt.
2003-04-19daily updateAlan Modra1-1/+1
2003-04-19*** empty log message ***gdbadmin1-1/+1
2003-04-18* s390-tdep.c (s390_frame_align): New function.Jim Blandy2-0/+15
(s390_gdbarch_init): Register it with the gdbarch object.
2003-04-182003-04-18 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* ldfile.c (ldfile_add_library_path): Remove the unused variable.
2003-04-18 * ehopt.c (check_eh_frame): For aug_size == 0Jakub Jelinek2-1/+9
in state_seeing_aug_size state skip the state_skipping_aug state.
2003-04-18Define __data and __rdataNick Clifton2-0/+6
2003-04-18Only check associated vector if the matching_vector has been created.Nick Clifton2-1/+8
2003-04-18 * remote.c (minitelnet): Don't redeclare escape_count, echo_check.Richard Henderson2-3/+4
2003-04-18daily updateAlan Modra1-1/+1
2003-04-18*** empty log message ***gdbadmin1-1/+1
2003-04-17* Makefile.tpl (GCC_STRAP_TARGETS): New variable containing all theDJ Delorie5-4/+20
previous bootstrap targets, plus bubblestrap, quickstrap, cleanstrap, and restrap. * Makefile.in: Regenerate. * configure.in (arm-*-netbsdelf*): Enable building java libraries. * configure: Regenerated.
2003-04-172003-04-17 Michael Snyder <msnyder@redhat.com>Elena Zannoni2-0/+87
Karen Bennet <bennet@redhat.com> Committed by Elena Zannoni <ezannoni@redhat.com> * gdb_gcore.sh: New script to create a core dump of a process.
2003-04-172003-04-17 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+8
* values.c (value_being_returned): Don't fetch the return value if the return type is void.
2003-04-172003-04-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-59/+70
* thread-db.c: Reindented.
2003-04-172003-04-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+8
* gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t, td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t as types.
2003-04-17*** empty log message ***gdbadmin1-1/+1
2003-04-17daily updateAlan Modra1-1/+1
2003-04-16merge from gccDJ Delorie8-86/+349
2003-04-16Fix typo.Kevin Buettner1-1/+1
2003-04-16 * rs6000-tdep.c (rs6000_gdbarch_init): For the SVR4 ABI, setKevin Buettner2-1/+9
the size of ``long double'' to 16, instead of 8.
2003-04-16 * gdb.base/args.exp: Invoke gdb_load for simulator targets.Kevin Buettner2-0/+16
2003-04-162003-04-16 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-9/+14
* gdb.base/completion.exp: Make 'info func mark' complete on 'info func marke' instead. Update test name.
2003-04-16* i386-linux-nat.c: Add some whitespace to make things moreMark Kettenis2-9/+24
readable. (fetch_register, store_register, fetch_inferior_registers, store_inferior_registers): Get rid of assignment in if-statement. (store_register): Fix typo in error message.
2003-04-162003-04-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-33/+34
* utils.c (xmmalloc): Always allocate something, matches libiberty/xmalloc's semantics. (xmrealloc, xmcalloc): Ditto.
2003-04-162003-04-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-15/+53
* frame.c (get_prev_frame): Do not initialize "unwind" or "type", update comments. (get_frame_type): Initialize unwind and type when needed. (get_frame_id, frame_register_unwind): Ditto.
2003-04-162003-04-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney12-3764/+3823
* NEWS: Mention that sparclet-*-* and sparclite-*-* have been made obsolete. * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code. * sparcl-stub.c: Obsolete file. * config/sparc/tm-sparclet.h: Obsolete file. * sparclet-stub.c: Obsolete file. * sparclet-rom.c: Obsolete file. * sparcl-tdep.c: Obsolete file. * config/sparc/tm-sparclite.h: Obsolete file. * config/sparc/sparclite.mt: Obsolete file. * config/sparc/sparclet.mt: Obsolete file. * configure.tgt: Make sparclet-*-*, sparclite-*-*, and sparc86x-*-* obsolete.
2003-04-16 Add .jcr section mapping.Nick Clifton2-0/+5
2003-04-16merge from gccDJ Delorie1-1/+1
2003-04-16merge from gccDJ Delorie9-91/+297
2003-04-16Fix changelog.Andrew Cagney1-2/+2
2003-04-162003-04-15 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou2-1/+8
* vr.igen (do_vr_mul_op): Zero-extend the low 32 bits of unsigned operands.
2003-04-16* dwarf2.c (_bfd_dwarf2_find_nearest_line): Fix typo inAlexandre Oliva2-1/+6
2003-04-09's change.
2003-04-16*** empty log message ***gdbadmin1-1/+1