Alan Modra [Sat, 11 Oct 2003 12:41:12 +0000 (12:41 +0000)]
* interp.c (sim_load): Don't refer directly to _cooked_size and vma;
Use bfd_section_size and bfd_get_section_vma.
Alan Modra [Sat, 11 Oct 2003 12:40:38 +0000 (12:40 +0000)]
* hppa-tdep.c (hppa_in_solib_call_trampoline): Don't refer directly to
_cooked_size and vma; Use bfd_section_size and bfd_get_section_vma.
Correct test for pc within section.
Alan Modra [Sat, 11 Oct 2003 12:34:31 +0000 (12:34 +0000)]
* corefile.c (core_create_function_syms): Don't refer directly to
_cooked_size and vma; Use bfd_section_size and bfd_get_section_vma.
Alan Modra [Sat, 11 Oct 2003 12:33:50 +0000 (12:33 +0000)]
Oops. missed a line.
Alan Modra [Sat, 11 Oct 2003 12:32:18 +0000 (12:32 +0000)]
* section.c (bfd_get_section_size_before_reloc): Ignore reloc_done.
* bfd-in2.h: Regenerate.
Mark Kettenis [Sat, 11 Oct 2003 12:05:44 +0000 (12:05 +0000)]
* gdbarch.sh: Remove trailing whitepsace from comments.
Hans-Peter Nilsson [Sat, 11 Oct 2003 09:18:58 +0000 (09:18 +0000)]
* ld-scripts/defined3.d, ld-scripts/defined3.t: New test.
* ld-scripts/defined.exp: Run defined3.
Hans-Peter Nilsson [Sat, 11 Oct 2003 09:16:20 +0000 (09:16 +0000)]
* ld.texinfo (Builtin Functions) <DEFINED>: Say that only symbols
defined before the statement using DEFINED yield 1.
* ldexp.c (fold_name) <case DEFINED>: In lang_first_phase_enum,
call lang_track_definedness on symbol. In subsequent phases, use
lang_symbol_definition_iteration and lang_statement_iteration to
check whether the symbol was defined before the current statement.
(exp_fold_tree) <case etree_assign et al>: Call
lang_update_definedness before updating symbol type when setting
symbol.
* ldlang.c (lang_definedness_table): New variable.
(lang_definedness_newfunc, lang_track_definedness)
(lang_symbol_definition_iteration, lang_update_definedness): New
functions.
(lang_init): Initialize lang_definedness_table and
lang_statement_iteration.
(lang_finish): Destroy bfd_hash_table_free.
(lang_size_sections): Increment lang_statement_iteration.
(lang_do_assignments_1): New function with former
lang_do_assignments contents. Change recursive calls to call this
function.
(lang_do_assignments): Evacuate contents. Increment
lang_statement_iteration, then just call lang_do_assignments_1.
* ldlang.h (struct lang_definedness_hash_entry)
(lang_statement_iteration, lang_track_definedness)
(lang_symbol_definition_iteration, lang_update_definedness):
Declare.
Roland McGrath [Sat, 11 Oct 2003 01:57:07 +0000 (01:57 +0000)]
.
Roland McGrath [Sat, 11 Oct 2003 01:56:53 +0000 (01:56 +0000)]
2003-10-08 Roland McGrath <roland@redhat.com>
* gcore.c (make_mem_sec): Function removed, folded into ...
(gcore_create_callback): ... here. To omit a section, clear its
SEC_LOAD bit rather than zeroing its size.
Omit read-only sections only if they correspond to a known disk file.
(gcore_copy_callback): Ignore sections without SEC_LOAD flag set.
Alan Modra [Sat, 11 Oct 2003 00:00:19 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 11 Oct 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Michael Snyder [Fri, 10 Oct 2003 22:13:49 +0000 (22:13 +0000)]
2003-06-03 Michael Snyder <msnyder@redhat.com>
and Bernd Schmidt <bernds@redhat.com>
and Alexandre Oliva <aoliva@redhat.com>
* disassemble.c (disassembler): Add support for h8300sx.
Michael Snyder [Fri, 10 Oct 2003 21:59:05 +0000 (21:59 +0000)]
2003-10-10 Michael Snyder <msnyder@redhat.com>
* d10v-tdep.c: Fix typo in comment.
Andrew Cagney [Fri, 10 Oct 2003 21:32:47 +0000 (21:32 +0000)]
2003-10-10 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (e500_store_return_value): Delete function.
(e500_extract_return_value): Delete function.
(rs6000_gdbarch_init): When SYSV, set "extract_return_value" and
"restore_return_value" to "ppc_sysv_abi_extract_return_value" and
"ppc_sysv_abi_restore_return_value" where applicable.
* ppc-tdep.h: (ppc_sysv_abi_store_return_value): Declare.
(ppc_sysv_abi_extract_return_value): Declare.
(ppc_sysv_abi_broken_store_return_value): Declare.
(ppc_sysv_abi_broken_extract_return_value): Declare.
(ppc_sysv_abi_broken_use_struct_convention:) Delete declaration.
* ppc-sysv-tdep.c (return_value_convention): Move definition to
start of file.
(do_ppc_sysv_return_value): New function.
(ppc_sysv_abi_extract_return_value): New function.
(ppc_sysv_abi_store_return_value): New function.
(ppc_sysv_abi_broken_extract_return_value): New function.
(ppc_sysv_abi_broken_store_return_value): New function.
(ppc_sysv_abi_use_struct_convention): Call
do_ppc_sysv_return_value.
Joel Brobecker [Fri, 10 Oct 2003 20:49:40 +0000 (20:49 +0000)]
* blockframe.c (inside_main_func): No longer use symbol_lookup()
to lookup the main function symbol.
Corinna Vinschen [Fri, 10 Oct 2003 20:30:45 +0000 (20:30 +0000)]
* sh-tdep.c (sh_treat_as_flt_p): New function to recognize float
types correctly.
(sh_push_dummy_call_fpu): Fix argument passing rules.
(sh3e_sh4_extract_return_value): Call sh_treat_as_flt_p to recognize
float types.
(sh3e_sh4_store_return_value): Ditto.
Dave Brolley [Fri, 10 Oct 2003 19:31:18 +0000 (19:31 +0000)]
2003-10-10 Dave Brolley <brolley@redhat.com>
* gas/frv/allinsn.s: Use preoperly aligned registers.
* gas/frv/allinsn.d: Update expected results.
Dave Brolley [Fri, 10 Oct 2003 19:30:50 +0000 (19:30 +0000)]
2003-10-10 Dave Brolley <brolley@redhat.com>
* sim/frv/testutils.inc (or_gr_immed): New macro.
* sim/frv/fp_exception-fr550.cgs: Write insns using
unaligned registers into the program in order to
cause the required exceptions.
* sim/frv/fp_exception.cgs: Ditto.
* sim/frv/regalign.cgs: Ditto.
Dave Brolley [Fri, 10 Oct 2003 19:30:21 +0000 (19:30 +0000)]
2003-10-10 Dave Brolley <brolley@redhat.com>
* cpu.h, sem.c: Regenerate.
Dave Brolley [Fri, 10 Oct 2003 19:30:02 +0000 (19:30 +0000)]
2003-10-10 Dave Brolley <brolley@redhat.com>
* frv-asm.c,frv-desc.c,frv-opc.c: Regenerated.
Dave Brolley [Fri, 10 Oct 2003 19:29:38 +0000 (19:29 +0000)]
2003-10-10 Dave Brolley <brolley@redhat.com>
* frv.cpu (dnpmop): New p-macro.
(GRdoublek): Use dnpmop.
(CPRdoublek, FRdoublei, FRdoublej, FRdoublek): Ditto.
(store-double-r-r): Use (.sym regtype doublek).
(r-store-double): Ditto.
(store-double-r-r-u): Ditto.
(conditional-store-double): Ditto.
(conditional-store-double-u): Ditto.
(store-double-r-simm): Ditto.
(fmovs): Assign to UNIT FMALL.
Elena Zannoni [Fri, 10 Oct 2003 19:20:31 +0000 (19:20 +0000)]
2003-10-10 Elena Zannoni <ezannoni@redhat.com>
* sh-tdep.c (sh_use_struct_convention): Clarify one case in
comment.
Corinna Vinschen [Fri, 10 Oct 2003 19:14:08 +0000 (19:14 +0000)]
* sh-tdep.c (sh_use_struct_convention): Clean up to have a
more readable code. Accomodate passing of bitfields.
Andrew Cagney [Fri, 10 Oct 2003 18:29:13 +0000 (18:29 +0000)]
2003-10-10 Andrew Cagney <cagney@redhat.com>
* Makefile.in (ppc-sysv-tdep.o): Add $(gdb_assert_h).
* rs6000-tdep.c (rs6000_gdbarch_init): When 64 bit SysV ABI, set
push_dummy_call to ppc64_sysv_abi_push_dummy_call.
* ppc-sysv-tdep.c: Include "gdb_assert.h".
(ppc64_sysv_abi_push_dummy_call): New function.
(ppc64_sysv_abi_broken_push_dummy_call): New function.
* ppc-tdep.h (ppc64_sysv_abi_push_dummy_call): Declare.
(ppc64_sysv_abi_broken_push_dummy_call): Declare.
H.J. Lu [Fri, 10 Oct 2003 15:29:50 +0000 (15:29 +0000)]
2003-10-10 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Likewise.
Kazuhiro Inaoka [Fri, 10 Oct 2003 07:13:11 +0000 (07:13 +0000)]
2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
* NEWS: Replace "Hitachi" and "Mitsubishi" with "Renesas".
* README: Ditto.
* d10v-tdep.c: Ditto.
* h8300-tdep.c: Ditto.
* remote-e7000.c: Ditto.
* remote-hms.c: Ditto.
* ser-e7kpc.c: Ditto.
* sh-stub.c: Ditto.
* sh-tdep.c: Ditto.
* sh-tdep.h: Ditto.
* sh3-rom.c: Ditto.
* sh64-tdep.c: Ditto.
* top.c: Ditto.
* wince.c: Ditto.
* config/d10v/d10v.mt: Ditto.
* config/sh/embed.mt: Ditto.
* config/sh/linux.mt: Ditto.
* config/sh/tm-linux.h: Ditto.
* config/sh/tm-sh.h: Ditto.
* config/sh/wince.mt: Ditto.
Kazuhiro Inaoka [Fri, 10 Oct 2003 07:08:53 +0000 (07:08 +0000)]
2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
* gdb.texinfo: Replace "Hitachi" and "Mitsubishi" with "Renesas".
* gdbint.texinfo: Ditto.
Kazuhiro Inaoka [Fri, 10 Oct 2003 07:08:03 +0000 (07:08 +0000)]
2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
* config/hmsirom.exp: Replace "Hitachi" with "Renesas".
* gdb.disasm/sh3.s: Ditto.
Andrew Cagney [Fri, 10 Oct 2003 03:14:08 +0000 (03:14 +0000)]
2003-10-09 Andrew Cagney <cagney@redhat.com>
Changes from 2003-09-09 Jimi Xenidis <jimix@watson.ibm.com>:
* config/rs6000/tm-rs6000.h (SOFTWARE_SINGLE_STEP): Delete macro.
(SOFTWARE_SINGLE_STEP_P): Ditto.
* config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto.
* config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Ditto.
(SOFTWARE_SINGLE_STEP_P): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): When AIX, set
software_single_step to rs6000_software_single_step.
Andrew Cagney [Fri, 10 Oct 2003 02:40:19 +0000 (02:40 +0000)]
2003-10-09 Andrew Cagney <cagney@redhat.com>
Changes from 2003-09-09 Jimi Xenidis <jimix@watson.ibm.com>:
* config/rs6000/tm-rs6000.h (SOFTWARE_SINGLE_STEP): Delete macro.
(SOFTWARE_SINGLE_STEP_P): Ditto.
* config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto.
* config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Ditto.
(SOFTWARE_SINGLE_STEP_P): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): When AIX, set
software_single_step to rs6000_software_single_step.
Andrew Cagney [Fri, 10 Oct 2003 02:13:07 +0000 (02:13 +0000)]
2003-10-09 Andrew Cagney <cagney@redhat.com>
From 2003-09-18 David Anderson <davea@sgi.com>:
* gdb.texinfo (GDB/MI Symbol Query): Replace "comamnd" with
"command".
Andrew Cagney [Fri, 10 Oct 2003 01:59:13 +0000 (01:59 +0000)]
2003-10-09 Andrew Cagney <cagney@redhat.com>
* MAINTAINERS: Mark m32r-elf as buildable with -Werror.
Elena Zannoni [Fri, 10 Oct 2003 01:43:56 +0000 (01:43 +0000)]
Fix typo in previous CL entry.
H.J. Lu [Fri, 10 Oct 2003 01:36:36 +0000 (01:36 +0000)]
2003-10-09 H.J. Lu <hongjiu.lu@intel.com>
* scripttempl/elf.sc (__executable_start): Provide.
Michael Snyder [Fri, 10 Oct 2003 00:32:04 +0000 (00:32 +0000)]
2003-10-09 Michael Snyder <msnyder@redhat.com>
* frame.h: Fix typo in comment.
Michael Snyder [Fri, 10 Oct 2003 00:28:43 +0000 (00:28 +0000)]
2003-10-09 Michael Snyder <msnyder@redhat.com>
* dummy-frame.c: Fix typo.
Michael Snyder [Fri, 10 Oct 2003 00:25:43 +0000 (00:25 +0000)]
2003-10-09 Michael Snyder <msnyder@redhat.com>
* d10v-tdep.c: Random whitespace/comment tweaks.
gdbadmin [Fri, 10 Oct 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 10 Oct 2003 00:00:19 +0000 (00:00 +0000)]
daily update
Elena Zannoni [Thu, 9 Oct 2003 20:23:41 +0000 (20:23 +0000)]
2003-10-09 Elena Zannoni <ezannoni@redhat.com>
* sh-tdep.c (sh_gdbarch_init): Delete setting of push_dummy_code.
(sh_gdbarch_init): Delete function, it's only used for dummy calls
on stack.
Based on input by Stephen Clarke (stephen.clarke@superh.com):
* sh-tdep.c (sh_use_struct_convention): Add comment explaining ABI
in detail.
Daniel Jacobowitz [Thu, 9 Oct 2003 19:49:28 +0000 (19:49 +0000)]
* gdb.threads/switch-threads.exp: New test.
* gdb.threads/switch-threads.c: New source file.
H.J. Lu [Thu, 9 Oct 2003 18:15:59 +0000 (18:15 +0000)]
2003-10-09 H.J. Lu <hongjiu.lu@intel.com>
* cofflink.c: Include "safe-ctype.h".
(coff_link_add_symbols): Use ISDIGIT instead of isdigit.
Daniel Jacobowitz [Thu, 9 Oct 2003 14:34:04 +0000 (14:34 +0000)]
* remote-mips.c (mips_initialize): Remove unneeded call to
get_selected_frame. Suggested by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
Daniel Jacobowitz [Thu, 9 Oct 2003 14:11:58 +0000 (14:11 +0000)]
* dwarf2expr.c (execute_stack_op): Don't treat the frame base as
a memory pointer.
Daniel Jacobowitz [Thu, 9 Oct 2003 14:06:07 +0000 (14:06 +0000)]
* emulparams/armelf.sh: Define NO_SMALL_DATA.
* emulparams/armelf_linux.sh, emulparams/armelf_oabi.sh,
emulparams/armnto.sh: Likewise.
Alan Modra [Thu, 9 Oct 2003 00:00:19 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 9 Oct 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Alexandre Oliva [Wed, 8 Oct 2003 22:17:35 +0000 (22:17 +0000)]
* ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell
whether to skip test for no memory region.
DJ Delorie [Wed, 8 Oct 2003 21:29:04 +0000 (21:29 +0000)]
2003-10-05 Mohan Embar <gnustuff@thisiscool.com>
* configure.in: Allow explicit specification of CFLAGS_FOR_BUILD.
* configure: Rebuilt
* Makefile.tpl: Use CFLAGS_FOR_BUILD computed by configure
* Makefile.in: Rebuilt
Nathanael Nerode [Wed, 8 Oct 2003 21:26:42 +0000 (21:26 +0000)]
Move ChangeLog entries for config/ subdir into config/ChangeLog, where
they belong. Thanks to Kelley Cook <kcook34@ford.com>.
Jeff Johnston [Wed, 8 Oct 2003 20:05:56 +0000 (20:05 +0000)]
2003-10-08 Jeff Johnston <jjohnstn@redhat.com>
* lin-lwp.c (stop_and_resume_callback): Set the resumed flag
for any lwp we resume.
(running_callback): Add lwps that have pending status events
against them to be considered running.
Dave Brolley [Wed, 8 Oct 2003 18:26:01 +0000 (18:26 +0000)]
2003-10-08 Dave Brolley <brolley@redhat.com>
* frv-desc.[ch], frv-opc.[ch]: Regenerated.
Dave Brolley [Wed, 8 Oct 2003 18:24:37 +0000 (18:24 +0000)]
2003-10-08 Dave Brolley <brolley@redhat.com>
* configure.in: Move frv handling to alphabetically correct placement.
Dave Brolley [Wed, 8 Oct 2003 18:21:02 +0000 (18:21 +0000)]
2003-10-06 Dave Brolley <brolley@redhat.com>
* sim/frv/fr550: New subdirectory.
* sim/frv/fr400/*.cgs: Add fr550 as appropriate.
* sim/frv/fr500/*.cgs: Add fr550 as appropriate.
* sim/frv/interrupts/*.cgs: Add fr550 as appropriate.
* sim/frv/interrupts/*-fr550.cgs: New test cases for fr550.
Dave Brolley [Wed, 8 Oct 2003 18:19:33 +0000 (18:19 +0000)]
2003-10-06 Dave Brolley <brolley@redhat.com>
* profile-fr550.[ch]: New files.
* configure.in: Move frv handling to alphabetically correct placement.
* Makefile.in: Add fr550 support.
* frv-sim.h,frv.c,interrups.c,memory.c,mloop.in,pipeline.c,
profile.[ch],registers.c,traps.c: Add fr550 support.
* arch.c,arch.h,cpu.c,cpu.h,cpuall.h,model.h,decode.c,decode.h,sem.c:
Regenerate.
Dave Brolley [Wed, 8 Oct 2003 18:13:38 +0000 (18:13 +0000)]
2003-10-06 Dave Brolley <brolley@redhat.com>
* binutils-all/objdump.exp (cpu_expected): Add fr550.
Dave Brolley [Wed, 8 Oct 2003 18:12:53 +0000 (18:12 +0000)]
2003-10-06 Dave Brolley <brolley@redhat.com>
* frv.h (EF_FRV_CPU_FR550): New macro.
Dave Brolley [Wed, 8 Oct 2003 18:11:55 +0000 (18:11 +0000)]
2003-10-08 Dave Brolley <brolley@redhat.com>
* config/tc-frv.c (fr550_check_insn_acc_range): New function.
(fr550_check_acc_range): New function.
(md_assemble): Call fr550_check_acc_range.
Chris Demetriou [Wed, 8 Oct 2003 18:01:10 +0000 (18:01 +0000)]
2003-10-08 Chris Demetriou <cgd@broadcom.com>
* lib/gas-defs.exp (gas_run): Always log the command being run.
(gas_start): Likewise.
(regexp_diff): Make error reporting about non-existent files
consistent.
Dave Brolley [Wed, 8 Oct 2003 17:57:59 +0000 (17:57 +0000)]
2003-10-08 Dave Brolley <brolley@redhat.com>
On behalf of Michael Snyder <msnyder@redhat.com>
* archures.c: Add FRV fr550 machine.
* cpu-frv.c: Ditto.
* elf32-frv.c: Ditto.
* bfd-in2.h: Regenerate.
Dave Brolley [Wed, 8 Oct 2003 17:53:40 +0000 (17:53 +0000)]
2003-10-06 Dave Brolley <brolley@redhat.com>
* frv.cpu, frv.opc: Add support for fr550.
Thiemo Seufer [Wed, 8 Oct 2003 17:36:19 +0000 (17:36 +0000)]
* elfxx-mips.c (STUB_MOVE,STUB_LI16): Fix stub code
for non-SGI N64 ABI. Improve code consitency.
Nick Clifton [Wed, 8 Oct 2003 14:37:20 +0000 (14:37 +0000)]
* as.c (use_gnu_debug_info_extensions) : New variable.
(parse_args) : Accept new --gstabs+ option, and set `use_gnu_debug_info_extensions'.
(show_usage) : Document --gstabs+ option.
* as.h (use_gnu_debug_info_extensions) : New extern declaration.
* stabs.c (stabs_generate_asm_file) : If `use_gnu_debug_info_extensions' is set
add the compilation directory to the stabs debug info.
* doc/as.texinfo : Document --gstabs+ option.
* NEWS: Mention new feature.
Nick Clifton [Wed, 8 Oct 2003 13:52:33 +0000 (13:52 +0000)]
lexsup.c (parse_args: OPTION_CALL_SHARED): Revise comment describing defaults.
Change default to report unresolved symbols in object files as well.
Nick Clifton [Wed, 8 Oct 2003 13:50:23 +0000 (13:50 +0000)]
Include bfd_elf64_sparc_vec if BFD64 is enabled.
Hans-Peter Nilsson [Wed, 8 Oct 2003 12:40:26 +0000 (12:40 +0000)]
* ldexp.c (fold_name) <case DEFINED>: Set section of result to
abs_output_section.
Hans-Peter Nilsson [Wed, 8 Oct 2003 12:35:18 +0000 (12:35 +0000)]
* ld-scripts/defined2.d, ld-scripts/defined2.t: New test.
* ld-scripts/defined.exp: Run defined2.
Kazuhiro Inaoka [Wed, 8 Oct 2003 02:54:31 +0000 (02:54 +0000)]
2003-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
* m32r-tdep.c : Include "dis-asm.h".
* Makefile.in (m32r-tdep.o): Update dependencies.
Kazuhiro Inaoka [Wed, 8 Oct 2003 02:41:49 +0000 (02:41 +0000)]
2003-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
* m32r-tdep.c : Include "dis-asm.h".
* Makefile.in (m32r-tdep.o): Update dependencies.
Alan Modra [Wed, 8 Oct 2003 00:00:17 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 8 Oct 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Bob Wilson [Tue, 7 Oct 2003 23:30:20 +0000 (23:30 +0000)]
* emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS,
OTHER_READWRITE_SECTIONS, OTHER_SECTIONS): Set section addresses to
zero for relocatable links.
Alexandre Oliva [Tue, 7 Oct 2003 19:17:23 +0000 (19:17 +0000)]
* elf32-frv.c (elf32_frv_howto_table): Set R_FRV_LABEL16's
rightshift to 2.
Dave Anglin [Tue, 7 Oct 2003 17:30:02 +0000 (17:30 +0000)]
* configure.host (HOSTING_LIBS): Define for hppa*-*-linux*.
* ld-elfvsb/elfvsb.exp: xfail non-pic shared library tests for
non 64-bit hppa*-*-linux* targets.
* ld-elfvsb/main.c (main_visibility_check): Cast value returned by
visibility_funptr () to a function pointer.
* ld-shared/shared.exp: xfail shared (non PIC), shared (non PIC, load
offset), and shared (PIC main, non PIC so) tests for non 64-bit
hppa*-*-linux* targets.
Corinna Vinschen [Tue, 7 Oct 2003 16:02:16 +0000 (16:02 +0000)]
* gdb.base/ending-run.exp: Add sh specific case.
Nathan Sidwell [Tue, 7 Oct 2003 08:53:42 +0000 (08:53 +0000)]
bfd/Changelog:
* libbfd-in.h (_bfd_link_section_stabs): Add string offset
parameter.
* cofflink.c (coff_link_add_symbols): Deal with split stab
sections.
* elflink.h (elf_link_add_object_symbols): Deal with split stab
sections.
* stabs.c (_bfd_link_section_stabs): Add string offset parameter.
* libbfd.h: Regenerated.
ld/ChangeLog:
* ldwrite.c (unsplittable_name): New.
(clone_section): Strip existing numeric suffix. Only truncate names
for coff targets.
(split_sections): Use unsplittable_name.
binutils/ChangeLog:
* objdump.c (read_section_stabs): Just read one section, return
pointer to it. Add size parameter.
(print_section_stabs): Add string offset parameter. Adjust.
(struct stab_section_names): Add string offset member.
(find_stabs_sections): Correct check for split section suffix,
adjust read_section_stabs and print_section_stabs calls.
(dump_stabs_section): Clear string_offset, free string table.
Nathan Sidwell [Tue, 7 Oct 2003 08:49:11 +0000 (08:49 +0000)]
* coffcode.h (coff_set_alignment_hook): With PE_COFF reloc
overflow, set reloc start position to after the count
reloc. Subtract one from num relocs. Give error on 0xffff relocs
and no overflow.
* cofflink.c (_bfd_coff_final_link): Deal with PE_COFF reloc
overflow.
* peXXigen.c (_bfd_XXi_swap_scnhdr_out): Do overflow if >=
0xffff.
gdbadmin [Tue, 7 Oct 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 7 Oct 2003 00:00:18 +0000 (00:00 +0000)]
daily update
Joel Brobecker [Mon, 6 Oct 2003 22:41:17 +0000 (22:41 +0000)]
* completer.h (get_gdb_completer_word_break_characters): Delete.
* completer.c: include language.h.
(gdb_completer_word_break_characters): Delete.
(get_gdb_completer_word_break_characters): Delete.
(location_completer): Use the word break characters of the current
language.
(complete_line): Likewise.
(line_completion_function): Likewise.
(skip_quoted_chars): Likewise.
* Makefile.in (completer.o): Add dependency on language.h.
* top.c (init_main): Set the readline word break characters
to GDB's default word break characters.
Joel Brobecker [Mon, 6 Oct 2003 22:38:03 +0000 (22:38 +0000)]
* language.h (language_defn): new field, la_word_break_characters.
* language.c (unknown_language_defn): Set new field to
default_word_break_characters.
(auto_language_defn): Likewise.
(local_language_defn): Likewise.
* ada-lang.c (ada_language_defn): Likewise.
* c-lang.c (c_language_defn): Likewise.
(cplus_language_defn): Likewise.
(asm_language_defn): Likewise.
(minimal_language_defn): Likewise.
* f-lang.c (f_language_defn): Likewise.
* jv-lang.c (java_language_defn): Likewise.
* m2-lang.c (m2_language_defn): Likewise.
* objc-lang.c (objc_language_defn): Likewise.
* p-lang.c (pascal_language_defn): Likewise.
* scm-lang.c (scm_language_defn): Likewise.
Andrew Cagney [Mon, 6 Oct 2003 22:23:47 +0000 (22:23 +0000)]
2003-10-06 Andrew Cagney <cagney@redhat.com>
* ppc-sysv-tdep.c: Re-indent.
Joel Brobecker [Mon, 6 Oct 2003 22:21:52 +0000 (22:21 +0000)]
* language.h (default_word_break_characters): Add prototype.
* language.c (default_word_break_characters): New function.
Andreas Schwab [Mon, 6 Oct 2003 21:58:20 +0000 (21:58 +0000)]
* i386-tdep.c (i386_analyze_frame_setup): Also handle xorl/subl
with %eax.
Andrew Cagney [Mon, 6 Oct 2003 21:56:40 +0000 (21:56 +0000)]
2003-10-06 Andrew Cagney <cagney@redhat.com>
* Makefile.in (ALLDEPFILES): Remove "z8k-tdep.c" and
"h8500-tdep.c".
(z8k-tdep.o): Delete custom build rule.
Andrew Cagney [Mon, 6 Oct 2003 20:43:39 +0000 (20:43 +0000)]
2003-10-06 Andrew Cagney <cagney@redhat.com>
* Makefile.in: Update all dependencies.
Andrew Cagney [Mon, 6 Oct 2003 20:38:17 +0000 (20:38 +0000)]
2003-10-06 Andrew Cagney <cagney@redhat.com>
* MAINTAINERS: Mention that h8500, mn10200, and z8k were deleted.
No longer list PA as as obsolete candidate. List m32r as
broken instead of obsolete.
Andrew Cagney [Mon, 6 Oct 2003 20:23:41 +0000 (20:23 +0000)]
2003-10-06 Andrew Cagney <cagney@redhat.com>
* config/nm-m3.h, config/h8500/h8500.mt: Delete obsolete files.
* config/h8500/tm-h8500.h, config/i386/nm-ptx4.h: Ditto.
* config/i386/nm-symmetry.h, config/i386/ptx.mh: Ditto.
* config/i386/ptx.mt, config/i386/ptx4.mh: Ditto.
* config/i386/ptx4.mt, config/i386/symmetry.mh: Ditto.
* config/i386/symmetry.mt, config/i386/tm-ptx.h: Ditto.
* config/i386/tm-ptx4.h, config/i386/tm-symmetry.h: Ditto.
* config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto.
* config/i386/xm-symmetry.h, config/mips/mipsm3.mh: Ditto.
* config/mips/mipsm3.mt, config/mips/tm-mipsm3.h: Ditto.
* config/mips/xm-mipsm3.h, config/mn10200/mn10200.mt: Ditto.
* config/mn10200/tm-mn10200.h, config/pa/hppabsd.mh: Ditto.
* config/pa/hppabsd.mt, config/pa/hppaosf.mh: Ditto.
* config/pa/hppaosf.mt, config/pa/hppapro.mt: Ditto.
* config/pa/nm-hppab.h, config/pa/nm-hppao.h: Ditto.
* config/pa/tm-hppab.h, config/pa/tm-hppao.h: Ditto.
* config/pa/tm-pro.h, config/pa/xm-hppab.h: Ditto.
* config/pa/xm-pa.h, config/sparc/sparclet.mt: Ditto.
* config/sparc/sparclite.mt, config/sparc/tm-sparclet.h: Ditto.
* config/sparc/tm-sparclite.h, config/z8k/tm-z8k.h: Ditto.
* config/z8k/z8k.mt: Ditto.
Andrew Cagney [Mon, 6 Oct 2003 19:47:21 +0000 (19:47 +0000)]
2003-10-06 Andrew Cagney <cagney@redhat.com>
* NEWS: Mention that z8k-zilog-none, z8ksim, mn10200-*-*,
h8500hms, hppa*-*-bsd*, hppa*-*-osf*, hppa*-*-pro*,
mips*-*-mach3*, i[3456]86-sequent-sysv4*, i[3456]86-sequent-sysv*,
i[3456]86-sequent-bsd*, sparclet-*-*, sparclite-fujitsu-none, and
sparclite were removed.
* configure.host, configure.tgt: Remove corresponding tuples.
Andrew Cagney [Mon, 6 Oct 2003 19:31:43 +0000 (19:31 +0000)]
2003-10-06 Andrew Cagney <cagney@redhat.com>
* gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
* gdb.disasm/mn10200.exp: Delete obsolete file.
Andrew Cagney [Mon, 6 Oct 2003 19:27:13 +0000 (19:27 +0000)]
2003-10-06 Andrew Cagney <cagney@redhat.com>
* breakpoint.c, breakpoint.h: Remove obsolete code and comments.
* buildsym.c, dbxread.c, gdbtypes.c, mdebugread.c: Ditto.
* monitor.c, sparc-tdep.c, stabsread.c: Ditto.
* stabsread.h, xcoffread.c: Ditto.
Andrew Cagney [Mon, 6 Oct 2003 19:10:44 +0000 (19:10 +0000)]
2003-10-06 Andrew Cagney <cagney@redhat.com>
* z8k-tdep.c, symm-tdep.c, symm-nat.c: Delete obsolete file.
* sparclet-stub.c, sparclet-rom.c: Delete obsolete file.
* sparcl-tdep.c, sparcl-stub.c, h8500-tdep.c: Delete obsolete file.
* m3-nat.c, mipsm3-nat.c, mn10200-tdep.c: Delete obsolete file.
H.J. Lu [Mon, 6 Oct 2003 18:10:48 +0000 (18:10 +0000)]
2003-10-06 H.J. Lu <hongjiu.lu@intel.com>
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Pad the
last CIE/FDE if needed.
David Lecomber [Mon, 6 Oct 2003 15:51:08 +0000 (15:51 +0000)]
2003-10-06 David Lecomber <dsl@sources.redhat.com>
* f-valprint.c: Reformatting
David Lecomber [Mon, 6 Oct 2003 15:49:43 +0000 (15:49 +0000)]
2003-10-06 David Lecomber <dsl@sources.redhat.com>
* f-valprint.c: Reformatting
Nick Clifton [Mon, 6 Oct 2003 11:07:08 +0000 (11:07 +0000)]
lexsup.c (parse_args): Report unresolved symbols in shared libraries when
creating a dynamic executable. This is a restoration of the default behaviour
for previous versions of the linker.
Nick Clifton [Mon, 6 Oct 2003 11:01:36 +0000 (11:01 +0000)]
Change target of hppa-netbsd port
Nick Clifton [Mon, 6 Oct 2003 10:18:41 +0000 (10:18 +0000)]
Fix macro tests to ignore section symbols
Nick Clifton [Mon, 6 Oct 2003 09:12:39 +0000 (09:12 +0000)]
Add i386-knetbsd-gnu triplet.