Corinna Vinschen
862ba188ef
* MAINTAINERS: Revert h8300 state to un-deleted.
...
* Makefile.in: Re-add h8300-tdep.o dependencies.
* h8300-tdep.c: Slightly rearrange type definitions and functions.
(struct frame_extra_info): Remove.
(struct h8300_frame_cache): Replace locals with differently defined
uses_fp member.
(h8300_unwind_pc): Simplify.
(h8300_unwind_sp): New function.
(h8300_unwind_dummy_id): Simplify.
(h8300_init_frame_cache): New function.
(h8300_is_argument_spill): Use reworked defines for opcode scanning.
(h8300_skip_prologue): Rewrite.
(h8300_alloc_frame_cache): Remove.
(h8300_analyze_frame_setup): Remove.
(h8300_analyze_register_saves): Remove.
(h8300_analyze_prologue): Rewrite.
(h8300_frame_cache): Use h8300_init_frame_cache instead of
h8300_alloc_frame_cache. Use BINWORD instead of constant 4 to
accomodate 16 bit mode. Fix saved_sp and register offset evaluation.
(h8300_frame_this_id): Correctly calculate this_id using saved stack
pointer instead of base.
(h8300_frame_prev_register): Drop needless braces.
(h8300_frame_base_address): New function.
(h8300_frame_base): New frame_base.
(h8300_push_dummy_call): Return correct CFA value.
(h8300h_extract_return_value): Fix 8 byte value handling.
(h8300_use_struct_convention): New function.
(h8300h_use_struct_convention): New function.
(h8300h_store_return_value): Fix 8 byte value handling.
(h8300_return_value): New function.
(h8300h_return_value): New function.
(h8300_extract_struct_value_address): Remove deprecated functionality.
(h8300_push_dummy_code): Remove.
(h8300_gdbarch_init): Replace set_gdbarch_extract_return_value and
set_gdbarch_store_return_value calls by set_gdbarch_return_value.
Remove calls to set_gdbarch_deprecated_fp_regnum,
set_gdbarch_deprecated_extract_struct_value_address,
set_gdbarch_deprecated_use_struct_convention and
set_gdbarch_push_dummy_code.
Add calls to set_gdbarch_unwind_sp and frame_base_set_default.
Slightly rearrange code.
2005-04-29 14:21:22 +00:00
Daniel Jacobowitz
b8c449bfd0
bfd/
...
* doc/Makefile.am: Remove stamp rules. Depend on chew.c
instead of $(MKDOC).
* aclocal.m4, Makefile.in, doc/Makefile.in: Regnerated.
gas/
* doc/Makefile.am (gasver.texi): Depend on bfd/configure instead
of Makefile.
(DISTCLEANFILES): Remove.
(MAINTAINERCLEANFILES): Add asconfig.texi.
* doc/Makefile.in: Regenerated.
2005-04-29 14:03:55 +00:00
Paolo Bonzini
2faa2958b5
2005-04-29 Paolo Bonzini <bonzini@gnu.org>
...
Sync from gcc:
2005-04-22 Bernd Schmidt <bernd.schmidt@analog.com>
* config.sub: Update from master copy.
2005-04-19 Hans-Peter Nilsson <hp@axis.com>
* configure.in <crisv32-*-*, cris-*-*>: New local variable
libgcj_ex_libffi. Have specific match for *-*-linux*. Separate
matches for "*-*-aout" and "*-*-elf". Don't disable libffi for
"*-*-elf" and "*-*-linux*".
* configure: Regenerate.
config:
2005-04-29 Paolo Bonzini <bonzini@gnu.org>
* acx.m4 (ACX_PROG_GNAT): Remove stray break.
2005-04-29 14:00:03 +00:00
Ben Elliston
89b788963f
* more static'ing.
...
* syslex.l (word, number, unit): Remove unused variables.
* nlmheader.y (keyword_tokens): Make static.
* coffdump.c (dump_coff_symbol, coff_dump): Make static.
* coffgrok.c (lofile, last_function_symbol, last_function_type,
last_struct, last_enum, cur_sfile): Make variables static.
* sysdump.c (getCHARS, fillup, getBARRAY, getINT, getBITS,
sysroff_swap_tr_in, sysroff_print_tr_out): Make static.
* sysinfo.y (writecode, it, code, repeat, oldrepeat, name, rdepth,
names, pnames): Likewise.
2005-04-29 01:15:21 +00:00
Ben Elliston
4aac130b28
Missed in earlier check-in.
2005-04-29 00:26:01 +00:00
Ben Elliston
87c245cccc
* Makefile.am (GAS_CFILES): Remove bignum-copy.c.
...
(GENERIC_OBJS): Likewise, remove bignum-copy.o.
(bignum-copy.o): Remove.
* Makefile.in: Regenerate.
* makefile.vms (OBJS): Remove bignum-copy.obj.
* symbols.h (local_symbol_make): Remove declaration.
(verify_symbol_chain_2): Likewise.
* symbols.c (local_symbol_make): Make static.
(max_indent_level): Likewise.
(verify_symbol_chain_2): Remove.
* macro.c (macro_hash): Make static.
* messages.c (fprint_value): Remove.
* read.h (get_absolute_expr): Remove.
(emit_leb128_expr): Likewise.
(do_s_func): Likewise.
* read.c (do_s_func): Make static.
(emit_leb128_expr): Likewise.
(get_absolute_expr): Likewise.
* as.h (as_howmuch): Remove declaration.
(fprint_value): Likewise.
* as.c (myname): Make static.
* input-scrub.c (as_howmuch): Remove.
(as_1_char): Likewise.
* input-file.h (input_file_is_open): Remove.
* input-file.c (input_file_is_open): Likewise.
* expr.h (expr_build_unary): Remove declaration.
(expr_build_binary): Likewise.
* expr.c (expr_build_unary): Remove.
(expr_build_binary): Likewise.
* hash.h (hash_replace): Remove declaration.
(hash_delete): Likewise.
* hash.c (hash_replace): Remove.
(hash_delete): Likewise.
* bignum-copy.c (bignum_copy): Move from here ..
* config/tc-vax.c (bignum_copy): .. to here.
* bignum.h (LOG_TO_BASE_2_OF_10): Remove.
(bignum_copy): Remove extern declaration.
* sb.h (string_count): Remove extern declaration.
(sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
(sb_name): Likewise.
* sb.c (dsize): Replace preprocessor macro with static int.
(string_count): Make static.
(sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
(sb_name): Likewise.
* config/obj-coff.c (dim_index): Make static.
* config/tc-i386.c (GOT_symbol): Likewise.
(output_invalid_buf): Likewise.
* doc/internals.texi (Warning and error messages): Remove the
prototype for fprint_value.
2005-04-29 00:22:29 +00:00
Jim Blandy
3a913e29df
* parse.c (namecopy): Change allocation conventions.
...
(namecopy_size): New variable.
(copy_name): Allocate namecopy using xrealloc, instead of assuming
it has adequate space allocated to it.
(parse_exp_1): Don't try to allocate space for namecopy here.
2005-04-29 00:04:06 +00:00
Ben Elliston
85b1c36d31
* ar.c (mri_mode): Make static.
...
* arsup.c (obfd, real_name, outfile): Likewise.
* binemul.c (ar_emul_create): Remove unused function.
(ar_emul_default_create): Likewise.
* binemul.h (ar_emul_create): Remove declaration.
(ar_emul_default_create): Likewise.
(struct bin_emulation_xfer_struct): Remove ar_create member.
* bucomm.c (report): Make static.
* bucomm.h (report): Remove declaration.
* cxxfilt.c (mbuffer): Make static.
(main): Use unsigned ints for some loop control variables.
* readelf.c: Make many global variables static.
* size.c (berkeley_format): Make static.
(long_options): Likewise.
* emul_aix.c (bin_aix_emulation): Remove ar_emul_default_create
structure initialiser.
(bin_aix5_emulation): Likewise.
* emul_vanilla.c (bin_vanilla_emulation): Likewise.
2005-04-29 00:03:33 +00:00
Alan Modra
c7f05afbc5
daily update
2005-04-29 00:00:06 +00:00
gdbadmin
d42d3e2349
*** empty log message ***
2005-04-29 00:00:05 +00:00
Ben Elliston
279e75dcef
* ldgram.y (lang_memory_region_type): Make static.
...
(ldgram_want_filename): Likewise.
* ldemul.c (ld_emulation): Make static.
* ldfile.h (ldfile_find_command_file): Remove extern.
* ldfile.c (ldfile_find_command_file): Make static.
* ldlang.h (unique_section_list): Remove extern declaration.
* ldlang.c (unique_section_list): Make static.
* mri.h (symbol_truncate): Remove extern declaration.
* mri.c (symbol_truncate): Make static.
(order, only_load, address, alias): Likewise.
(alignment, subalignment): Likewise.
2005-04-28 23:54:33 +00:00
Paul Gilliam
f07e55f031
2005-04-19 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/shlib-call.exp: Change to use new shared library
infrastructure.
2005-04-28 23:21:22 +00:00
Paul Gilliam
3cbba3d1cd
2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/pending.exp: Change to use new shared library
infrastructure.
2005-04-28 23:04:28 +00:00
Paul Brook
fa0d1caba9
2005-04-28 Paul Brook <paul@codesourcery.com>
...
Merge changes only applied to Makefile.in.
* Makefile.am (BFD32_BACKENDS): Add elfxx-sparc.lo
(BFD32_BACKENDS_CFILES): Add elfxx-sparc.c
(elfxx-sparc.lo): New rule.
(elf32-sparc.lo): Add elfxx-sparc.h dependency.
(elf64-sparc.lo): Likewise.
2005-04-28 23:02:05 +00:00
Paul Gilliam
ed6df20042
2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler
and use test_compiler_info instead of gcc_compiled.
2005-04-28 22:31:33 +00:00
Eli Zaretskii
a955ca7173
* cli/cli-cmds.c (edit_command): If symtab->fullname is not yet
...
set, use symtab_to_fullname, instead of trying to do its job. Use
xstrprintf instead of malloc and sprintf.
2005-04-28 20:32:42 +00:00
Kevin Buettner
46845f5e98
* remote.c (init_remote_state): Eliminate use of
...
deprecated_register_bytes().
2005-04-28 18:15:16 +00:00
Andrew Cagney
8929e59d3f
2005-04-28 Andrew Cagney <cagney@gnu.org>
...
* valops.c (check_field): Make buffer a bfd_byte.
* value.c (unpack_long, unpack_double, unpack_pointer)
(unpack_field_as_long, modify_field): Ditto.
* value.h: Update declarations.
2005-04-28 16:15:19 +00:00
Paul Brook
cade9e545b
2005-04-28 Paul Brook <paul@codesourcery.com>
...
* exceptions.c (print_flush): Handle NULL gdb_stdout_serial.
2005-04-28 14:07:54 +00:00
Nick Clifton
0291d2913e
Applied this patch for Julian Brown <julian@codesourcery.com>
...
* elflink.c (_bfd_elf_provide_symbol): Provide symbol for weak import.
2005-04-28 10:31:24 +00:00
H.J. Lu
0002be373a
Set BFD_VERSION_DATE to 20050428.
2005-04-28 02:42:22 +00:00
H.J. Lu
4a2afbc126
2005-04-27 H.J. Lu <hongjiu.lu@intel.com>
...
* emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
Use the first SEC_ALLOC section which isn't SEC_READONLY or the
last SEC_ALLOC section if such a section doesn't exist.
2005-04-28 02:41:40 +00:00
gdbadmin
135cba24d5
*** empty log message ***
2005-04-28 00:00:33 +00:00
Paul Gilliam
8c8f4ebeff
2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/annota1.exp : Deal with messages caused by breakpoints in
shared objects being adjusted and update copyright.
2005-04-27 21:45:16 +00:00
Mark Kettenis
ab576d8501
* solib-svr4.c (_initialize_svr4_solib)
...
[SVR4_FETCH_LINK_MAP_OFFSETS]: Don't set non-existent variable
svr4_legacy_fetch_link_map_offsets.
2005-04-27 20:51:52 +00:00
Mark Kettenis
ccf00f2179
* sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): Remove function.
...
(sh_gdbarch_init): Remove redundant prototype.
* sh-linux-tdep.c: New file.
* config/sh/tm-linux.h (sh_linux_svr4_fetch_link_map_offsets):
Remove prototype.
(SVR4_FETCH_LINK_MAP_OFFSETS): Remove define.
* config/sh/linux.mt (TDEPFILES): Add sh64-tdep.o, remove
solib-legacy.o.
* Makefile.in (sh-linux-tdep.o): New.
2005-04-27 20:48:25 +00:00
Paul Brook
4ec242d7be
2005-04-27 Paul Brook <paul@codesourcery.com>
...
* common/Make-common.in: Add $(EXEEXT) to "run".
2005-04-27 20:38:08 +00:00
H.J. Lu
26c61ae50b
2005-04-27 H.J. Lu <hongjiu.lu@intel.com>
...
* elf-bfd.h (bfd_elf_sym_name): Also take "asection *".
* elf.c (bfd_elf_sym_name): Updated.
(group_signature): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_edit_opd): Likewise.
(ppc64_elf_edit_toc): Likewise.
(ppc64_elf_relocate_section): Likewise.
* elfcode.h (elf_slurp_symbol_table): Likewise.
* elflink.c (elf_link_input_bfd): Likewise.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Call
bfd_elf_sym_name to get local symbol name when reporting errors.
2005-04-27 20:16:08 +00:00
Nick Clifton
dce669a1fd
Remove spurious spaces added by previous delta
2005-04-27 16:46:23 +00:00
Daniel Jacobowitz
607fbc543c
* ChangeLog: Correct some 2003-01-13 dates.
...
* gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
gdb.trace/tfind.exp: Update copyright years.
2005-04-27 16:35:15 +00:00
Mark Kettenis
4b188b9f37
* solib-svr4.c: Update copyright year. Include "gdb_assert.h".
...
(SVR4_FETCH_LINK_MAP_OFFSETS): Don't define if not already
defined.
(legacy_fetch_link_map_offsets): Remove prototype.
(fetch_link_map_offsets_gdbarch_data): Remove.
(LM_ADDR, LM_NEXT, IGNORE_FIRST_LINK_MAP_ENTRY)
(first_link_map_member, open_symbol_file_object, svr4_current_sos)
(svr4_fetch_objfile_link_map): Call svr4_fetch_link_map_offsets
instead of SVR4_FETCH_LINK_MAP_OFFSETS.
(solib_svr4_data): New variable.
(struct solib_svr4_ops): New.
(solib_svr4_init): New fynction.
(legacy_fetch_link_map_offsets, init_fetch_link_map_offsets):
Remove functions.
(svr4_fetch_link_map_offsets, svr4_have_link_map_offsets): Rewrite
using the new `struct solib_svr4_ops'.
(_initialize_svr4_solib): Replace registration of per-architecture
data. Add temporary hack to set
svr4_legacy_fetch_link_map_offsets if SVR4_FETCH_LINK_MAP_OFFSETS
is set.
* Makefile.in (solib-svr4.o): Update dependencies.
2005-04-27 14:30:15 +00:00
H.J. Lu
6fe7699b81
Set BFD_VERSION_DATE to 20050427.
2005-04-27 14:23:48 +00:00
Eli Zaretskii
18999be528
* gdb.texinfo (Backtrace): Describe backtraces with arguments that
...
were optimized away.
2005-04-27 13:02:15 +00:00
Nick Clifton
8c19749adc
(elf_link_input_bfd): Handle the case where a badly formatted input file results
...
in a reloc which has no associated global symbol
2005-04-27 10:09:43 +00:00
Ben Elliston
f3429a74c5
* link.cmd: Remove.
2005-04-27 01:56:53 +00:00
Ben Elliston
943ea8a2b0
* syslex.l: Adjust top-of-file comment: this file is part of GNU
...
binutils, not GNU ld.
2005-04-27 01:29:58 +00:00
gdbadmin
ebf40edefd
*** empty log message ***
2005-04-27 00:00:03 +00:00
Mark Kettenis
4fabe3d5f0
* configure.tgt (*-*-freebsd*): Set gdb_osabi to
...
GDB_OSABI_FREEBSD_ELF. Partial fix for PR gdb/1922.
2005-04-26 21:47:21 +00:00
Mark Kettenis
19dce67779
* ld-fastcall/fastcall.exp: Don't run on i*86-*-openbsd*.
2005-04-26 19:11:14 +00:00
Mark Kettenis
907dcf3f87
* ld-srec/srec.exp (run_srec_test): Deal with ProPolice on
...
*-*-openbsd*.
2005-04-26 18:56:50 +00:00
H.J. Lu
60938e80e6
gas/
...
2005-04-26 H.J. Lu <hongjiu.lu@intel.com>
* config/obj-multi.h (FAKE_LABEL_NAME): Defined.
* read.c (pseudo_set): Disallow symbol set to common symbol.
PR 857
* write.c (write_object_file): Report common symbol name when
disallowing local symbol set to common symbol.
(adjust_reloc_syms): Disallow local symbol set to undefined
symbol.
gas/testsuite/
2005-04-26 H.J. Lu <hongjiu.lu@intel.com>
* gas/all/assign.s: Make `x' and `y' global.
2005-04-26 17:15:22 +00:00
H.J. Lu
6156ef10ad
Update BFD_VERSION_DATE to 20050426.
2005-04-26 16:08:31 +00:00
Andrew Cagney
109c3e397e
2005-04-26 Andrew Cagney <cagney@gnu.org>
...
* remote.c (remote_open_1): Move "ex"'s declaration to where it is
used.
(remote_get_thread_local_address): Use throw_error, include a
printed string.
* linux-thread-db.c (thread_db_get_thread_local_address): Ditto.
* dwarf2loc.c (dwarf_expr_tls_address): Ditto.
* cli/cli-script.c (script_from_file): Mark up throw_error message.
* linespec.c (symtab_from_filename, decode_variable): Ditto.
2005-04-26 14:57:22 +00:00
Jerome Guitton
db5152b48d
* configure.in: Fix the check for basename declaration.
...
* configure: Regenerate.
2005-04-26 10:24:45 +00:00
Jerome Guitton
8e5b6e16ee
* bfd.m4 (BFD_NEED_DECLARATION): Restore.
2005-04-26 09:43:17 +00:00
Andrew Cagney
71fff37b08
2005-04-26 Andrew Cagney <cagney@gnu.org>
...
Rename 'struct exception' to 'struct gdb_exception'.
* wrapper.c: Update.
* varobj.c: Update.
* tui/tui-interp.c: Update.
* remote.c: Update.
* mi/mi-main.c: Update.
* mi/mi-interp.c: Update.
* linux-thread-db.c: Update.
* interps.h: Update.
* interps.c: Update.
* exceptions.h: Update.
* exceptions.c: Update.
* dwarf2loc.c: Update.
* cli/cli-interp.c: Update.
* cli/cli-script.c: Update.
* breakpoint.c: Update.
2005-04-26 05:03:41 +00:00
DJ Delorie
c631edf1cc
merge from gcc
2005-04-26 01:02:02 +00:00
gdbadmin
306ab1664b
*** empty log message ***
2005-04-26 00:00:04 +00:00
Mark Mitchell
3aa6b2ca26
* event-loop.c (gdb_select): Program defensively.
2005-04-25 23:51:33 +00:00
David S. Miller
e459dc7b30
* elfxx-sparc.c (sparc_elf_append_rela_64): Add BFD64 protection.
...
(sparc_elf_r_info_64, _bfd_sparc_elf_finish_dynamic_symbol,
sparc64_finish_dyn, _bfd_sparc_elf_finish_dynamic_sections):
Likewise.
2005-04-25 21:53:38 +00:00