OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years ago* include/machine/stdlib.h: New file.
cgf [Wed, 1 Jun 2005 18:24:31 +0000 (18:24 +0000)]
* include/machine/stdlib.h: New file.

19 years ago* include/machine/stdlib.h: New file.
cgf [Wed, 1 Jun 2005 18:23:59 +0000 (18:23 +0000)]
* include/machine/stdlib.h: New file.

19 years ago From James Lemke <jim@wasabisystems.com>:
kseitz [Wed, 1 Jun 2005 15:23:15 +0000 (15:23 +0000)]
    From James Lemke  <jim@wasabisystems.com>:
        * generic/gdbtk-hooks.c (gdbtk_fileopenin, gdbtk_read): New functions
        for target to read stdin from console window.
        * generic/gdbtk-interp.c (_stdtargin): Added.
        * generic/gdbtk.h (gdbtk_fileopenin): Add declaration.

19 years ago* thread.h (List_remove): Revert most of 2005-05-30 change.
cgf [Wed, 1 Jun 2005 14:55:44 +0000 (14:55 +0000)]
* thread.h (List_remove): Revert most of 2005-05-30 change.

19 years ago(TxCE, TxC3, TxCM, TUE, TUF): Remove redundant test for the presence of thumb
nickc [Wed, 1 Jun 2005 08:18:40 +0000 (08:18 +0000)]
(TxCE, TxC3, TxCM, TUE, TUF): Remove redundant test for the presence of thumb
version of the parsing functions since they must always exist and the test
generates a compile time warning message.

19 years ago* Makefile.am: Regenerate dependencies with 'make dep-am'.
jimb [Wed, 1 Jun 2005 05:36:02 +0000 (05:36 +0000)]
* Makefile.am: Regenerate dependencies with 'make dep-am'.
* Makefile.in: Regenerate.

19 years ago* cygwin.sc: Don't output .reloc or .rsrc sections. Clean up stuff around
cgf [Wed, 1 Jun 2005 04:42:43 +0000 (04:42 +0000)]
* cygwin.sc: Don't output .reloc or .rsrc sections.  Clean up stuff around
.cygheap and use a workaround to get things working with newer
(broken?) binutils.

19 years agold:
zack [Wed, 1 Jun 2005 04:04:16 +0000 (04:04 +0000)]
ld:
* ldlang.c (entry_symbol_default): New file-scope global.
(lang_finish): Use it, not a hardwired "start".
(lang_default_entry): Set it.
* ldlang.h: Declare lang_default_entry.
* emultempl/beos.em, emultempl/pe.em: Use lang_default_entry,
not lang_add_entry, to override default entry point symbol.

ld/testsuite:
* ld-scripts/align.exp: Mark align1 XFAIL on PECOFF targets.
* ld-scripts/data.exp: Mark data UNSUPPORTED on a.out targets.
* ld-scripts/provide.exp, ld-scripts/size.exp: Mark all tests
UNSUPPORTED on a.out targets.  Tidy.

19 years ago* cygheap.cc (cygheap_end): Remove bogus section attribute.
cgf [Wed, 1 Jun 2005 04:00:39 +0000 (04:00 +0000)]
* cygheap.cc (cygheap_end): Remove bogus section attribute.
* cygwin.sc: Make __cygheap_mid absolute.  Remove unused _cygheap_foo.

19 years ago* child_info.h (child_info::cygheap_h): Delete.
cgf [Wed, 1 Jun 2005 03:46:55 +0000 (03:46 +0000)]
* child_info.h (child_info::cygheap_h): Delete.
(child_info::dwProcessId): New field.
* cygheap.cc (init_cheap): Delete.
(dup_now): Ditto.
(cygheap_setup_for_child): Ditto.
(cygheap_setup_for_child_cleanup): Ditto.
(cygheap_fixup_in_child): Simplify.  Use new "child_copy" function to copy heap
from parent.
(_csbrk): Don't attempt allocation if within cygheap section.  Fix so that more
than one allocation will succeed.
(cygheap_init): Reset possibly-nonzero region to zero.
* cygheap.h (cygheap_setup_for_child): Delete declaration.
(cygheap_setup_for_child_cleanup): Ditto.
(cygheap_start): Define as an array.
* cygwin.sc: Modernize.  Remove unneeded sections.  Define cygheap here.
* dcrt0.cc (do_exit): Reflect argument change to close_all_files.
* dtable.cc (dtable::vfork_parent_restore): Ditto.
* dtable.h: Ditto.
* fhandler.h: Ditto.
* fork.cc (fork_copy): Call ReadProcessMemory if there is no thread
(indicating that we're execing).
(fork_child): Don't mess with hParent.
(fork_parent): Remove hParent stuff.  It happens earlier now.  Remove call to
cygheap_setup_for_child* stuff.
(fork): Put child_info_stuff in grouped structure.  Issue error if parent
handle is not set.
(child_copy): New function.
* sigproc.cc (child_info::child_info): Put cygheap settings here.  Set parent
handle.
(child_info::~child_info): Close parent handle if it exists.
* spawn.cc (spawn_guts): Reorganize so that ciresrv is allocated at only the
last minute so that cygheap changes are reflected.  Delete cygheap_setup*
calls.
* syscalls.cc (close_all_files): Add an argument to flag when the fd entry
should be released.
* winsup.h (close_all_files): Add an argument to close_all_files declaration.
Declare child_copy.

19 years ago*** empty log message ***
gdbadmin [Wed, 1 Jun 2005 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Wed, 1 Jun 2005 00:00:09 +0000 (00:00 +0000)]
daily update

19 years ago * elf64-alpha.c (ALPHA_ELF_LINK_HASH_LU_JSRDIRECT): New.
rth [Tue, 31 May 2005 22:53:36 +0000 (22:53 +0000)]
    * elf64-alpha.c (ALPHA_ELF_LINK_HASH_LU_JSRDIRECT): New.
        (ALPHA_ELF_LINK_HASH_TLS_IE): Renumber to 0x80.
        (ALPHA_ELF_LINK_HASH_LU_PLT): Rename from ALPHA_ELF_LINK_HASH_LU_FUNC.
        (elf64_alpha_want_plt): Update to match.
        (elf64_alpha_check_relocs): Collect JSRDIRECT in gotent_flags.
        (elf64_alpha_relax_with_lituse): Likewise.  Handle JSRDIRECT.

19 years ago * config/tc-alpha.c (O_lituse_jsrdirect): New.
rth [Tue, 31 May 2005 22:53:07 +0000 (22:53 +0000)]
    * config/tc-alpha.c (O_lituse_jsrdirect): New.
        (alpha_reloc_op): Add it.
        (debug_exp): Handle it.
        (DUMMY_RELOC_LITUSE_JSRDIRECT): New.
        (emit_insn): Handle it.
        * doc/c-alpha.texi (Alpha-Relocs): Document lituse_jsrdirect.

19 years ago * readelf.c (dump_relocations): Special case R_ALPHA_LITUSE.
rth [Tue, 31 May 2005 22:52:50 +0000 (22:52 +0000)]
    * readelf.c (dump_relocations): Special case R_ALPHA_LITUSE.

19 years ago * alpha.h (LITUSE_ALPHA_JSRDIRECT): New.
rth [Tue, 31 May 2005 22:52:31 +0000 (22:52 +0000)]
    * alpha.h (LITUSE_ALPHA_JSRDIRECT): New.

19 years ago * elf32-arm.c (elf32_arm_reloc_type_lookup)
zack [Tue, 31 May 2005 22:09:50 +0000 (22:09 +0000)]
* elf32-arm.c (elf32_arm_reloc_type_lookup)
(elf32_arm_nabi_grok_prstatus, elf32_arm_nabi_grok_psinfo):
Use ISO C90 function declaration style.

19 years agoFix for IA-64 gdb backtrace of threads in syscalls, reported by Jeff Johnson.
wilson [Tue, 31 May 2005 19:32:28 +0000 (19:32 +0000)]
Fix for IA-64 gdb backtrace of threads in syscalls, reported by Jeff Johnson.
* elfcode.h (NAME(bfd_elf,bfd_from_remote_memory)): Check for program
header PF_R flag on PT_LOAD segments.

19 years ago2005-05-31 Christian Groessler <chris@groessler.org>
cpg [Tue, 31 May 2005 18:36:28 +0000 (18:36 +0000)]
2005-05-31  Christian Groessler  <chris@groessler.org>

* write.c (dump_section_relocs): Convert to ISO-C.
(write_relocs): Avoid signed/unsigned and fprintf argument
warnings in debug code.

19 years ago*** empty log message ***
gdbadmin [Tue, 31 May 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Tue, 31 May 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago * elf64-alpha.c (elf64_alpha_relocate_section): Use dtp_base for
rth [Mon, 30 May 2005 21:22:37 +0000 (21:22 +0000)]
    * elf64-alpha.c (elf64_alpha_relocate_section): Use dtp_base for
        the zero index relocs produced by elf64_alpha_relax_tls_get_addr.

19 years ago2005-05-30 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 30 May 2005 20:00:52 +0000 (20:00 +0000)]
2005-05-30  Andrew Cagney  <cagney@gnu.org>

* MAINTAINERS (Can Commit Without Approval): New section,
previously burried under "Target Instruction Set Architectures".
Note that cagney "can commit" changes to powerpc-linux.

19 years ago* thread.h (List_remove): Make node parameter const. Use simple comparison and
cgf [Mon, 30 May 2005 18:37:40 +0000 (18:37 +0000)]
* thread.h (List_remove): Make node parameter const.  Use simple comparison and
assignment rather than InterlockedCompareExchangePointer since access is
already synchronized.

19 years ago2005-05-30 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 30 May 2005 18:35:08 +0000 (18:35 +0000)]
2005-05-30  Andrew Cagney  <cagney@gnu.org>

* MAINTAINERS: Drop architecture and target vectors.

19 years ago* dlfcn.cc (set_dl_error): Use UNIX error rather than Windows error.
cgf [Mon, 30 May 2005 18:20:27 +0000 (18:20 +0000)]
* dlfcn.cc (set_dl_error): Use UNIX error rather than Windows error.

19 years ago * cygcheck.cc (dump_sysinfo): Recognize XP Media Center and Tablet PC
corinna [Mon, 30 May 2005 15:49:30 +0000 (15:49 +0000)]
* cygcheck.cc (dump_sysinfo): Recognize XP Media Center and Tablet PC
Editions. Change .NET to 2003 throughout.  Recognize 2003 Web Server
and Datacenter Server. Report when running in terminal server session.

19 years agomerge from gcc
dj [Mon, 30 May 2005 01:12:16 +0000 (01:12 +0000)]
merge from gcc

19 years ago* cygmagic: Remove debugging cruft missed on 2005-05-21.
cgf [Mon, 30 May 2005 00:53:59 +0000 (00:53 +0000)]
* cygmagic: Remove debugging cruft missed on 2005-05-21.

19 years ago*** empty log message ***
gdbadmin [Mon, 30 May 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Mon, 30 May 2005 00:00:27 +0000 (00:00 +0000)]
daily update

19 years ago * readelf.c (get_alpha_dynamic_type): New.
rth [Sun, 29 May 2005 23:18:50 +0000 (23:18 +0000)]
    * readelf.c (get_alpha_dynamic_type): New.
        (get_dynamic_type): Call it.

19 years ago * alpha.h (DT_ALPHA_PLTRO): New.
rth [Sun, 29 May 2005 23:18:26 +0000 (23:18 +0000)]
    * alpha.h (DT_ALPHA_PLTRO): New.

19 years ago * emulparams/elf64alpha.sh (PLT): New.
rth [Sun, 29 May 2005 23:16:08 +0000 (23:16 +0000)]
    * emulparams/elf64alpha.sh (PLT): New.
        (TEXT_PLT): New.
        * emultempl/alphaelf.em (disable_relaxation): New.
        (limit_32bit): Rename from elf64alpha_32bit; update all users.
        (elf64_alpha_use_secureplt): Declare.
        (bfd_elf64_alpha_vec, bfd_elf64_alpha_freebsd_vec): Declare.
        (alpha_after_open): New.
        (alpha_before_allocation): New.
        (OPTION_NO_RELAX, OPTION_SECUREPLT, OPTION_NO_SECUREPLT): New.
        (PARSE_AND_LIST_LONGOPTS): Include them.
        (PARSE_AND_LIST_OPTIONS): Likewise.
        (PARSE_AND_LIST_ARGS_CASES): Likewise.
        (LDEMUL_AFTER_OPEN, LDEMUL_BEFORE_ALLOCATION): New.
        * scripttempl/elf.sc (TEXT_PLT): New.
        (PLT): Use it.

19 years ago * configure.in (--enable-secureplt): New.
rth [Sun, 29 May 2005 23:13:38 +0000 (23:13 +0000)]
    * configure.in (--enable-secureplt): New.
        * elf64-alpha.c (INSN_LDA, INSN_LDAH, INSN_LDQ, INSN_BR): New.
        (INSN_SUBQ, INSN_S4SUBQ, INSN_JMP): New.
        (INSN_A, INSN_AB, INSN_ABC, INSN_ABO, INSN_AD): New.
        (elf64_alpha_use_secureplt): New.
        (OLD_PLT_HEADER_SIZE, OLD_PLT_ENTRY_SIZE): New.
        (NEW_PLT_HEADER_SIZE, NEW_PLT_ENTRY_SIZE): New.
        (PLT_HEADER_SIZE, PLT_ENTRY_SIZE): Conditionalize on secureplt.
        (ALPHA_ELF_LINK_HASH_PLT_LOC): Remove.
        (struct alpha_elf_link_hash_entry): Add plt_offset.
        (PLT_HEADER_WORD1, PLT_HEADER_WORD2, PLT_HEADER_WORD3): Remove.
        (PLT_HEADER_WORD4, PLT_ENTRY_WORD1, PLT_ENTRY_WORD2): Remove.
        (PLT_ENTRY_WORD3): Remove.
        (elf64_alpha_create_dynamic_sections): If secureplt, set SEC_READONLY
        on .plt and create .got.plt.
        (elf64_alpha_output_extsym): Remove .plt frobbing for symbol values.
        (get_got_entry): Initialize plt_offset.
        (elf64_alpha_want_plt): New.
        (elf64_alpha_check_relocs): Use it.
        (elf64_alpha_adjust_dynamic_symbol): Likewise.  Don't allocate
        plt entries here.
        (elf64_alpha_calc_got_offsets_for_symbol): Don't report internal
        error as user error.
        (elf64_alpha_size_plt_section_1): Allocate one plt entry per
        got subsection.
        (elf64_alpha_size_plt_section): Size .got.plt section.
        (elf64_alpha_size_rela_got_1): Don't allocate relocations if
        plt entries used.
        (elf64_alpha_size_dynamic_sections): Call elf64_alpha_size_plt_section.
        Add PLTRO DYNAMIC entry.
        (elf64_alpha_finish_dynamic_symbol): Generate secureplt format.
        (elf64_alpha_finish_dynamic_sections): Likewise.

19 years ago * path.cc (path_conv::check): Move component to function scope. Set
corinna [Sun, 29 May 2005 11:04:01 +0000 (11:04 +0000)]
* path.cc (path_conv::check): Move component to function scope. Set
PATH_RO only on *real* FH_NETDRIVEs or on non-FH_NETDRIVE virtual
paths. Allow non-retrievable shares to be handled as files.

19 years ago * include/limits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Always define.
corinna [Sun, 29 May 2005 10:05:50 +0000 (10:05 +0000)]
* include/limits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Always define.

19 years ago * config/djgpp/fnchange.lst: Add mappings for linux-ppc-low.c and
eliz [Sun, 29 May 2005 07:36:09 +0000 (07:36 +0000)]
* config/djgpp/fnchange.lst: Add mappings for linux-ppc-low.c and
linux-ppc64-low.c.

19 years agoThis is a cleanup change. It is the beggining of allowing GDB/MI to be
bobbybrasko [Sun, 29 May 2005 03:13:14 +0000 (03:13 +0000)]
This is a cleanup change. It is the beggining of allowing GDB/MI to be
better understood (internally).

19 years ago* thread.h (pthread_key::set): Inline.
cgf [Sun, 29 May 2005 02:42:35 +0000 (02:42 +0000)]
* thread.h (pthread_key::set): Inline.
(pthread_key::get): Ditto.
* thread.cc (pthread::set): Delete.
(pthread::get): Ditto.

19 years ago* cygwin.din: Remove signal front end from pthread_[gs]etspecific.
cgf [Sun, 29 May 2005 02:26:29 +0000 (02:26 +0000)]
* cygwin.din: Remove signal front end from pthread_[gs]etspecific.

19 years ago* cygwin.din: Remove signal front end from pthread_[gs]etspecific.
cgf [Sun, 29 May 2005 02:24:42 +0000 (02:24 +0000)]
* cygwin.din: Remove signal front end from pthread_[gs]etspecific.

19 years ago * gdb.arch/alpha-step.c: New file.
brobecke [Sun, 29 May 2005 01:58:52 +0000 (01:58 +0000)]
    * gdb.arch/alpha-step.c: New file.
        * gdb.arch/alpha-step.exp: New testcase.

19 years ago * alpha-tdep.c (alpha_next_pc): Use correct register number
brobecke [Sun, 29 May 2005 01:54:44 +0000 (01:54 +0000)]
    * alpha-tdep.c (alpha_next_pc): Use correct register number
        for floating-point branch instructions.

19 years ago* fhandler_tty.cc (fhandler_tty_slave:tcflush): Use signed comparison.
cgf [Sun, 29 May 2005 00:05:48 +0000 (00:05 +0000)]
* fhandler_tty.cc (fhandler_tty_slave:tcflush): Use signed comparison.

19 years ago*** empty log message ***
gdbadmin [Sun, 29 May 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Sun, 29 May 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago PR backtrace/1760
drow [Sat, 28 May 2005 22:51:33 +0000 (22:51 +0000)]
PR backtrace/1760
* frame.c (backtrace_limit): Change type to int.
(get_prev_frame): Update backtrace limit support.
(_initialize_frame): Use add_setshow_integer_cmd for backtrace_limit.

19 years agogdb/
drow [Sat, 28 May 2005 22:08:58 +0000 (22:08 +0000)]
gdb/
* configure.tgt (powerpc64-*-linux*): Enable gdbserver.
* regformats/reg-ppc64.dat: New file.
gdbserver/
* Makefile.in (SFILES): Add linux-ppc64-low.c.
(linux-ppc64-low.o, reg-ppc64.c, reg-ppc64.o): New targets.
* configure.srv: Add powerpc64-*-linux*.
* linux-ppc64-low.c: New file.

19 years ago2005-05-28 David Daney <ddaney@avtrex.com>
drow [Sat, 28 May 2005 22:00:26 +0000 (22:00 +0000)]
2005-05-28  David Daney  <ddaney@avtrex.com>

* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections):  Move
calculation of DT_RELSZ to occur after all dynamic relocations
are created.

19 years ago* times.cc (time_ms::usecs): Coerce comparison to signed or whole test is a
cgf [Sat, 28 May 2005 21:31:16 +0000 (21:31 +0000)]
* times.cc (time_ms::usecs): Coerce comparison to signed or whole test is a
no-op.

19 years ago* how-using.texinfo : Update the mkdir -p section
joshuadfranklin [Sat, 28 May 2005 20:35:58 +0000 (20:35 +0000)]
* how-using.texinfo : Update the mkdir -p section

19 years agomerge from gcc
dj [Sat, 28 May 2005 19:49:21 +0000 (19:49 +0000)]
merge from gcc

19 years ago From Wu Zhou <woodzltc@cn.ibm.com>:
drow [Sat, 28 May 2005 18:57:07 +0000 (18:57 +0000)]
From Wu Zhou <woodzltc@cn.ibm.com>:
* remote.c (struct gdb_ext_thread_info): Fix a comment typo.
(remote_unpack_thread_info_response): Likewise.

19 years ago * cli/cli-setshow.c (do_setshow_command): Partially revert previous
drow [Sat, 28 May 2005 18:27:26 +0000 (18:27 +0000)]
* cli/cli-setshow.c (do_setshow_command): Partially revert previous
change.  Cast to "char **" for var_string.

19 years ago * cp-name-parser.y (parse_escape): Revert previous change. Return
drow [Sat, 28 May 2005 16:48:55 +0000 (16:48 +0000)]
* cp-name-parser.y (parse_escape): Revert previous change.  Return
the input character by default.

19 years ago * dwarf2-frame.c (dwarf2_frame_prev_register): Use gdb_byte.
drow [Sat, 28 May 2005 16:44:25 +0000 (16:44 +0000)]
* dwarf2-frame.c (dwarf2_frame_prev_register): Use gdb_byte.
* i386-linux-nat.c (fetch_register, store_register, supply_gregset)
(fill_gregset): Likewise.
* i386-tdep.c (i386_frame_prev_register)
(i386_sigtramp_frame_prev_register): Likewise.
* linux-nat.c (linux_nat_xfer_memory, linux_nat_make_corefile_notes):
Likewise.
* linux-thread-db.c (thread_db_xfer_memory): Likewise.
* remote.c (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint):
Likewise.
* target.c (debug_to_insert_hw_breakpoint)
(debug_to_remove_hw_breakpoint, update_current_target): Likewise.

19 years ago2005-05-28 Eli Zaretskii <eliz@gnu.org>
aj [Sat, 28 May 2005 11:44:46 +0000 (11:44 +0000)]
2005-05-28  Eli Zaretskii  <eliz@gnu.org>

* configure.in: Add snprintf and vsnprintf to AC_CHECK_DECLS.
* config.in, configure: Regenerate.

19 years ago * MAINTAINERS: Change cris-elf state to non-broken.
hp [Sat, 28 May 2005 08:49:08 +0000 (08:49 +0000)]
* MAINTAINERS: Change cris-elf state to non-broken.
* cp-name-parser.y (parse_escape): Initialize target_char to zero.

19 years ago * cris/Makefile.in (stamp-v32fmloop): Depend on stamp-v10fmloop.
hp [Sat, 28 May 2005 08:47:28 +0000 (08:47 +0000)]
* cris/Makefile.in (stamp-v32fmloop): Depend on stamp-v10fmloop.

19 years agodaily update
amodra [Sat, 28 May 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 28 May 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years agowhite space
cgf [Fri, 27 May 2005 18:42:03 +0000 (18:42 +0000)]
white space

19 years ago* cygheap.h: Reference _cygheap_start via .cygheap section.
cgf [Fri, 27 May 2005 18:26:17 +0000 (18:26 +0000)]
* cygheap.h: Reference _cygheap_start via .cygheap section.
* environ.cc: Fix force_into_environment typo throughout.
(spenvs): Export CYGWIN_DEBUG if DEBUGGING.

19 years ago * config/default.exp (CC): Use find_gcc.
mmitchel [Fri, 27 May 2005 17:27:02 +0000 (17:27 +0000)]
* config/default.exp (CC): Use find_gcc.
(CFLAGS): Define, if no definition is provided.
(CXX): Likewise.
(CXXFLAGS): Likewise.

19 years ago* cygcheck.cc (load_cygwin): Make half-hearted attempt to work with older DLLs.
cgf [Fri, 27 May 2005 15:45:53 +0000 (15:45 +0000)]
* cygcheck.cc (load_cygwin): Make half-hearted attempt to work with older DLLs.
* strace.cc (load_cygwin): Ditto.

19 years ago2005-05-27 Orjan Friberg <orjanf@axis.com>
orjanf [Fri, 27 May 2005 14:36:07 +0000 (14:36 +0000)]
2005-05-27  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (crisv32_scan_prologue): Add.
(cris_frame_unwind_cache, cris_skip_prologue): Call
crisv32_scan_prologue when debugging CRISv32.

19 years ago* Tweaked last ChangeLog entry.
orjanf [Fri, 27 May 2005 13:51:06 +0000 (13:51 +0000)]
* Tweaked last ChangeLog entry.

19 years ago2005-05-27 Orjan Friberg <orjanf@axis.com>
orjanf [Fri, 27 May 2005 13:47:59 +0000 (13:47 +0000)]
2005-05-27  Orjan Friberg <orjanf@axis.com>

* cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start)
(cris_frame_prev_register, cris_sigtramp_frame_prev_register)
(cris_return_value): Use gdb_byte for byte buffers.
(struct cris_frame_unwind, struct cris_frame_base): Fix formatting.

19 years ago2005-05-27 Orjan Friberg <orjanf@axis.com>
orjanf [Fri, 27 May 2005 13:47:50 +0000 (13:47 +0000)]
2005-05-27  Orjan Friberg <orjanf@axis.com>

* cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start)
(cris_frame_prev_register, cris_sigtramp_frame_prev_register)
(cris_return_value): Use gdb_byte for byte buffers.
(struct cris_frame_unwind, struct cris_frame_base): Fix formatting.

19 years ago * config/tc-arm.h (TC_FIX_TYPE): Change to int.
zack [Fri, 27 May 2005 07:11:40 +0000 (07:11 +0000)]
* config/tc-arm.h (TC_FIX_TYPE): Change to int.
(TC_INIT_FIX_DATA): Initialize to 0, not NULL.
* config/tc-arm.c (fix_new_arm): Remove now-unnecessary cast.
(md_apply_fix3): Delete fix_is_thumb variable; refer to
fixP->tc_fix_data directly in the sole place it was used.
Explicitly truncate value, *valP, fixP->fx_addnumber, and
fixP->fx_offset to 32 bits, for consistent behavior between 32-
and 64-bit hosts.

19 years agogas/
jbeulich [Fri, 27 May 2005 06:28:03 +0000 (06:28 +0000)]
gas/
2005-05-27  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (struct proc_pending): New.
(unwind): Replace proc_start with proc_pending.
(unwind_diagnostic): Check unwind.proc_pending.sym.
(dot_proc): Replace unwind.proc_start with unwind.proc_pending.sym.
Check if previous proc not closed. Record all entry points.
(dot_endp): Replace unwind.proc_start with unwind.proc_pending.sym.
Set symbol sizes for entry points recorded in dot_proc. Check
arguments for consistency with respective .proc's.
(md_assemble): Replace unwind.proc_start with
unwind.proc_pending.sym.

gas/testsuite/
2005-05-27  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/proc.l: Adjust.

19 years agogas/
jbeulich [Fri, 27 May 2005 06:25:20 +0000 (06:25 +0000)]
gas/
2005-05-27  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (emit_one_bundle): Restrict scope of ptr, end_ptr,
and last_ptr. Check all in-use slots for first one with non-NULL
unwind_record. Don't reload end_ptr before second update round.

19 years ago2005-05-26 Chris Demetriou <cgd@netbsd.org>
cgd [Fri, 27 May 2005 04:51:52 +0000 (04:51 +0000)]
2005-05-26  Chris Demetriou  <cgd@netbsd.org>

        * MAINTAINERS (Write After Approval): Remove myself.

19 years ago2005-05-26 Chris Demetriou <cgd@netbsd.org>
cgd [Fri, 27 May 2005 04:51:41 +0000 (04:51 +0000)]
2005-05-26  Chris Demetriou  <cgd@netbsd.org>

        * MAINTAINERS (Write After Approval): Remove myself.

19 years ago2005-05-27 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 27 May 2005 04:39:27 +0000 (04:39 +0000)]
2005-05-27  Andrew Cagney  <cagney@gnu.org>

* jv-lang.c (get_java_utf8_name): Add cast.
(evaluate_subexp_java): Use gdb_byte for buffers.
* jv-valprint.c (java_value_print, java_value_print): Use gdb_byte
for buffers.
* scm-lang.c (scm_get_field, scm_unpack)
(scm_evaluate_string): Use gdb_byte for buffers.
(scm_lookup_name): Add cast.
* scm-valprint.c (scm_scmval_print, scm_scmval_print): Use
gdb_byte for buffers.
* tui/tui.h (tui_get_command_dimension): Make parameters unsigned.
* tui/tui.c (tui_get_command_dimension): Make parameters unsigned.
* value.h (check_field): Change "name" to a string.
* valops.c (check_field): Change "name" to a string.
* scm-lang.h (scm_parse): Use gdb_byte for buffers.
* source.c (get_current_source_symtab_and_line)
(set_current_source_symtab_and_line): Initialize all fields of sal
structures.
* cli/cli-cmds.c (list_command): Use gdb_byte for buffers.

19 years ago * generic/gdbtk-cmds.c (gdb_set_mem): target_write_memory now takes
kseitz [Fri, 27 May 2005 01:30:48 +0000 (01:30 +0000)]
    * generic/gdbtk-cmds.c (gdb_set_mem): target_write_memory now takes
        gdb_byte* instead of char*.
        * generic/gdbtk-register.c (get_register): frame_register and val_print
        take gdb_byte* instead of char*.
        * generic/gdbtk-wrapper.c: Ditto the val_print part.

        From Paul Schlie  <schlie@comcast.net>:
        * generic/gdbtk-bp.c (gdb_set_bp): Use lbasename instead of basename.
        * generic/gdbtk-cmds.c (gdb_listfiles): Likewise.

19 years ago*** empty log message ***
gdbadmin [Fri, 27 May 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Fri, 27 May 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago* configure.host (HOSTING_LIBS): Add libunwind.a if it exists.
schwab [Thu, 26 May 2005 22:23:13 +0000 (22:23 +0000)]
* configure.host (HOSTING_LIBS): Add libunwind.a if it exists.

19 years ago2005-05-26 Chris Demetriou <cgd@netbsd.org>
cgd [Thu, 26 May 2005 21:37:09 +0000 (21:37 +0000)]
2005-05-26  Chris Demetriou  <cgd@netbsd.org>

        * MAINTAINERS: Update my mail address, move myself to the
        "Past maintainers" section.

19 years ago2005-05-26 David Ung <davidu@mips.com>
cgd [Thu, 26 May 2005 21:31:56 +0000 (21:31 +0000)]
2005-05-26  David Ung  <davidu@mips.com>

        * mips.igen (mips32r2, mips64r2): New ISA models.  Add new model
        tags to all instructions which are applicable to the new ISAs.
        (do_ror, do_dror, ROR, RORV, DROR, DROR32, DRORV): Add, moved from
        vr.igen.
        * mips3264r2.igen: New file for MIPS 32/64 revision 2 specific
        instructions.
        * vr.igen (do_ror, do_dror, ROR, RORV, DROR, DROR32, DRORV): Move
        to mips.igen.
        * configure.ac (mipsisa32r2*-*-*, mipsisa64r2*-*-*): Add new targets.
        * configure: Regenerate.

19 years ago2005-05-26 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 26 May 2005 20:48:50 +0000 (20:48 +0000)]
2005-05-26  Andrew Cagney  <cagney@gnu.org>

* command.h (add_setshow_integer_cmd): Make VAR an integer.
* cli/cli-decode.c (add_setshow_integer_cmd): Update to match.
* valops.c (value_string): Add a cast.
* eval.c (evaluate_subexp_standard): Use gdb_byte for byte buffers.
* breakpoint.c (re_enable_breakpoints_in_shlibs): Use gdb_byte for
byte buffers.
* target.h (struct target_ops): For to_insert_hw_breakpoint and
to_remove_hw_breakpoint use gdb_byte for byte buffer parameters.
* breakpoint.h (struct bp_location): Make shadow_contents a
gdb_byte buffer.
* cli/cli-setshow.c (do_setshow_command): Fix cast.
* cli/cli-dump.c (restore_section_callback)
(restore_binary_file): Use gdb_byte for byte buffers.
* proc-service.c (ps_ptwrite, ps_ptread, ps_pdwrite): Fix casts.
(ps_xfer_memory): Use gdb_byte for byte buffers.
* tracepoint.c (mem2hex): Use gdb_byte for byte buffers, and char
for string buffers.
* ser-tcp.c (net_open): Make len a socklen_t.

19 years ago2005-05-26 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 26 May 2005 19:28:23 +0000 (19:28 +0000)]
2005-05-26  Andrew Cagney  <cagney@gnu.org>

* gdb.texinfo: Note that Elena Zannoni, Fernando Nasser, and
Andrew Cagney implemented the original GDB/MI.

19 years ago* elfxx-mips.c (_bfd_mips_elf_section_processing): Warn and
macro [Thu, 26 May 2005 18:51:08 +0000 (18:51 +0000)]
* elfxx-mips.c (_bfd_mips_elf_section_processing): Warn and
stop processing of options if one of invalid size is
encountered.
(_bfd_mips_elf_section_from_shdr): Likewise.
(_bfd_mips_elf_fake_sections): Reset the type of empty special
sections.

19 years agoFix issues noticed while reviewing Jan Beulich's MLX template bug fix.
wilson [Thu, 26 May 2005 18:46:10 +0000 (18:46 +0000)]
Fix issues noticed while reviewing Jan Beulich's MLX template bug fix.
* config/tc-ia64.c (extra_goodness): Update comment.
(md_begin): Add debugging code to print best_template table.

19 years ago* include/cygwin/version.h: Bump DLL minor number to 18.
cgf [Thu, 26 May 2005 18:19:24 +0000 (18:19 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 18.

19 years ago * elf64-alpha.c (struct alpha_elf_link_hash_entry): Remove
rth [Thu, 26 May 2005 16:14:30 +0000 (16:14 +0000)]
    * elf64-alpha.c (struct alpha_elf_link_hash_entry): Remove
        plt_old_section, plt_old_value.
        (elf64_alpha_adjust_dynamic_symbol): Don't set it.
        (elf64_alpha_size_plt_section_1): Don't use it.

19 years ago * elfcode.h (elf_object_p): Fail if e_shoff != 0, e_shnum == 0 and
jakub [Thu, 26 May 2005 07:41:10 +0000 (07:41 +0000)]
* elfcode.h (elf_object_p): Fail if e_shoff != 0, e_shnum == 0 and
first shdr has sh_size == 0.  Fail if e_shnum is large to cause
arithmetic overflow when allocating the i_shdr array.
Sanity check sh_link and sh_info fields.  Fix e_shstrndx sanity check.

19 years ago * elf64-alpha.c: Update all function definitions to ISO C. Remove
rth [Thu, 26 May 2005 07:14:00 +0000 (07:14 +0000)]
    * elf64-alpha.c: Update all function definitions to ISO C.  Remove
        all function prototypes; rearrange functions into def-use order.

19 years agoPatch from Steve Ellcey for ia64-hpux testsuite failure.
wilson [Thu, 26 May 2005 00:41:41 +0000 (00:41 +0000)]
Patch from Steve Ellcey for ia64-hpux testsuite failure.
gas/ia64/global.d: Change --sym to --syms.

19 years ago*** empty log message ***
gdbadmin [Thu, 26 May 2005 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Thu, 26 May 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years agoinclude/
rth [Wed, 25 May 2005 23:32:35 +0000 (23:32 +0000)]
include/
* demangle.h (DEMANGLE_COMPONENT_HIDDEN_ALIAS): New.
libiberty/
* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS.
(d_make_comp, d_print_comp): Likewise.
(d_special_name): Generate one.
* testsuite/demangle-expected: Add a hidden alias test.

19 years ago * elf64-alpha.c (elf64_alpha_merge_gots): Fix gotent iteration
rth [Wed, 25 May 2005 20:00:39 +0000 (20:00 +0000)]
    * elf64-alpha.c (elf64_alpha_merge_gots): Fix gotent iteration
        in the presence of deleting elements.
        (elf64_alpha_size_got_sections): Zero dead got section size.

19 years agoforced checkin
cgf [Wed, 25 May 2005 18:30:18 +0000 (18:30 +0000)]
forced checkin

19 years ago2005-05-25 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 25 May 2005 14:23:03 +0000 (14:23 +0000)]
2005-05-25  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (stage[+id+]-start): Iterate over target module as well.
(Dependencies): Consider target modules for bootstrap dependencies.
Make target bootstrap modules depend on each stage's gcc.
* Makefile.in: Regenerate.

19 years ago2005-05-25 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 25 May 2005 14:10:06 +0000 (14:10 +0000)]
2005-05-25  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/group-1.d: Updated.
* gas/ia64/group-2.d: Likewise.

19 years ago * ChangeLog: Remove accidentally checked in entry.
corinna [Wed, 25 May 2005 08:41:28 +0000 (08:41 +0000)]
* ChangeLog: Remove accidentally checked in entry.

19 years agogas/
jbeulich [Wed, 25 May 2005 07:17:05 +0000 (07:17 +0000)]
gas/
2005-05-25  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (md_begin): Don't try to match slot 2 of an MLX
template.