OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years ago* gdbarch.sh: When an int variable, print value using %d instead
cagney [Tue, 25 Dec 2001 22:19:39 +0000 (22:19 +0000)]
* gdbarch.sh: When an int variable, print value using %d instead
of %ld.
* gdbarch.c: Re-generate.

22 years ago*** empty log message ***
gdbadmin [Tue, 25 Dec 2001 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

22 years agopowerpc aix build failure. Add self to maintainers.
trix [Mon, 24 Dec 2001 20:07:00 +0000 (20:07 +0000)]
powerpc aix build failure.  Add self to maintainers.

22 years agomerge from gcc
dj [Mon, 24 Dec 2001 19:13:07 +0000 (19:13 +0000)]
merge from gcc

22 years ago*** empty log message ***
gdbadmin [Mon, 24 Dec 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Sun, 23 Dec 2001 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sun, 23 Dec 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Sat, 22 Dec 2001 23:00:07 +0000 (23:00 +0000)]
daily update

22 years agoIn newlib/:
geoffk [Sat, 22 Dec 2001 22:47:57 +0000 (22:47 +0000)]
In newlib/:
2001-12-22  Geoffrey Keating  <geoffk@redhat.com>
    Catherine Moore  <clm@redhat.com>
    Richard Henderson  <rth@redhat.com>
    Corinna Vinschen  <vinschen@redhat.com>

* configure.host: Add support for xstormy16.
* libc/include/machine/ieeefp.h: Add support for xstormy16.
* libc/include/machine/setjmp.h: Add support for xstormy16.
* libc/include/sys/config.h: Add support for xstormy16.
* libc/machine/xstormy16/Makefile.am: New file.
* libc/machine/xstormy16/Makefile.in: New file.
* libc/machine/xstormy16/aclocal.m4: New file.
* libc/machine/xstormy16/configure: New file.
* libc/machine/xstormy16/configure.in: New file.
* libc/machine/xstormy16/setjmp.S: New file.

In libgloss/:
2001-12-22  Geoffrey Keating  <geoffk@redhat.com>
    Mark Salter  <msalter@redhat.com>
    Catherine Moore  <clm@redhat.com>
    Richard Henderson  <rth@redhat.com>

* configure.in: Add xstormy16.
* libnosys/configure.in: Add xstormy16.
* configure: Regenerated.
* libnosys/configure: Regenerated.
* xstormy16/Makefile.in: New file.
* xstormy16/close.c: New file.
* xstormy16/configure: New file.
* xstormy16/configure.in: New file.
* xstormy16/crt0.s: New file.
* xstormy16/crt0_stub.s: New file.
* xstormy16/crti.s: New file.
* xstormy16/crtn.s: New file.
* xstormy16/eva_app.c: New file.
* xstormy16/eva_app.ld: New file.
* xstormy16/eva_stub.ld: New file.
* xstormy16/fstat.c: New file.
* xstormy16/getpid.c: New file.
* xstormy16/kill.c: New file.
* xstormy16/lseek.c: New file.
* xstormy16/open.c: New file.
* xstormy16/sbrk.c: New file.
* xstormy16/sim_high.ld: New file.
* xstormy16/stat.c: New file.
* xstormy16/syscalls.S: New file.
* xstormy16/syscalls.m4: New file.
* xstormy16/unlink.c: New file.
* xstormy16/xstormy16_stub.c: New file.

22 years ago-binitfini emulation, put __rtinit symbol generation into linker.
trix [Sat, 22 Dec 2001 17:18:33 +0000 (17:18 +0000)]
-binitfini emulation, put __rtinit symbol generation into linker.

22 years ago*** empty log message ***
gdbadmin [Sat, 22 Dec 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Fri, 21 Dec 2001 23:00:07 +0000 (23:00 +0000)]
daily update

22 years ago * elf32-sparc.c (_bfd_sparc_elf_howto_table): Fix dst_mask for
jakub [Fri, 21 Dec 2001 22:35:23 +0000 (22:35 +0000)]
* elf32-sparc.c (_bfd_sparc_elf_howto_table): Fix dst_mask for
R_SPARC_DISP32.  Support R_SPARC_PLT32.
(sparc_reloc_map): Add BFD_RELOC_16_PCREL and BFD_RELOC_SPARC_PLT32.
(elf32_sparc_check_relocs): Handle R_SPARC_PLT32.
(elf32_sparc_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_howto_table): Fix dst_mask for
R_SPARC_DISP32.  Support R_SPARC_PLT32 and R_SPARC_PLT64.
(sparc_reloc_map): Add BFD_RELOC_16_PCREL, BFD_RELOC_64_PCREL
and BFD_RELOC_SPARC_PLT32.
(sparc64_elf_check_relocs): Handle R_SPARC_PLT32 and R_SPARC_PLT64.
(sparc64_elf_relocate_section): Likewise.
* reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SPARC_PLT32.
* bfd-in2.h, libbfd.h: Rebuilt.

* config/tc-sparc.h (TC_PARSE_CONS_EXPRESSION): Define.
(sparc_cons): Provide prototype.
* config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_*_PCREL and
BFD_RELOC_SPARC_PLT{32,64}.  Enumerate for which relocs
reloc->addend = fixp->fx_addnumber shouldn't be done instead of
enumarating for which pc relative ones it should be done.
(sparc_cons_special_reloc): New variable.
(sparc_cons): New function.
(cons_fix_new_sparc): Use sparc_cons_special_reloc.
* testsuite/gas/sparc/pcrel.s: New test.
* testsuite/gas/sparc/pcrel.d: Expected output.
* testsuite/gas/sparc/pcrel64.s: New test.
* testsuite/gas/sparc/pcrel64.d: Expected output.
* testsuite/gas/sparc/plt.s: New test.
* testsuite/gas/sparc/plt.d: Expected output.
* testsuite/gas/sparc/plt64.s: New test.
* testsuite/gas/sparc/plt64.d: Expected output.
* testsuite/gas/sparc/sparc.exp: Add pcrel, pcrel64, plt and plt64
tests.

22 years ago * configure, config.in: Rebuilt.
tromey [Fri, 21 Dec 2001 22:32:36 +0000 (22:32 +0000)]
* configure, config.in: Rebuilt.
* configure.in: Check for realpath.
* defs.h (gdb_realpath): Declare.
* symtab.h (partial_symtab): Added fullname field.
* source.c (openp): Use gdb_realpath.
(forget_cached_source_info): Clear full name of each partial
symtab.
* utils.c (gdb_realpath): New function.
* symtab.c (lookup_symtab): Removed.
(lookup_symtab_1): Renamed to lookup_symtab.
(lookup_symtab): Look for real path.
(lookup_partial_symtab): Likewise.

22 years ago * generic/gdbtk-cmds.h (full_lookup_symtab): Don't declare.
tromey [Fri, 21 Dec 2001 22:31:07 +0000 (22:31 +0000)]
* generic/gdbtk-cmds.h (full_lookup_symtab): Don't declare.
* generic/gdbtk-cmds.c (gdb_find_file_command): Use
lookup_symtab.
(gdb_listfuncs): Likewise.
(gdb_loadfile): Likewise.
(full_lookup_symtab): Removed.
* generic/gdbtk-bp.c (gdb_find_bp_at_line): Use lookup_symtab.
(gdb_set_bp): Likewise.

22 years ago * library/bpwin.ith (_select_and_popup): New private method.
kseitz [Fri, 21 Dec 2001 21:36:20 +0000 (21:36 +0000)]
* library/bpwin.ith (_select_and_popup): New private method.
* library/bpwin.itb (bp_select): Don't bind to Button-3.
(build_win): Bind Button-3 to _select_and_popup.
(_select_and_popup): New private method.

22 years ago2001-12-21 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 21 Dec 2001 17:30:01 +0000 (17:30 +0000)]
2001-12-21  Michael Snyder  <msnyder@redhat.com>

        * maint.c (match_substring): New function.  Tokenizer for
        'maintenance info sections' command arguments.
        (match_bfd_flag): Use match_substring.
        (print_bfd_section_info): Use match_substring.
        (print_objfile_section_info): Use match_substring.
        (maintenance_info_sections): Use match_substring.

22 years ago * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
law [Fri, 21 Dec 2001 16:40:06 +0000 (16:40 +0000)]
    * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.

22 years agoImport Swedish translation
nickc [Fri, 21 Dec 2001 11:44:45 +0000 (11:44 +0000)]
Import Swedish translation

22 years agoUse real binary file for .incbin test
nickc [Fri, 21 Dec 2001 11:40:51 +0000 (11:40 +0000)]
Use real binary file for .incbin test

22 years ago2001-12-21 Orjan Friberg <orjanf@axis.com>
orjanf [Fri, 21 Dec 2001 09:53:58 +0000 (09:53 +0000)]
2001-12-21  Orjan Friberg  <orjanf@axis.com>

* configure.tgt: Delete CRIS from multi-arch targets.

* config/cris/tm-cris.h: New file.

* config/cris/cris.mt (TDEPFILES): Add corelow.o solib.o solib-svr4.o.
(TM_FILE): New macro.

* cris-tdep.c (cris_examine): Correct check for srp register.
(supply_gregset, fetch_core_registers,
cris_linux_svr4_fetch_link_map_offsets, cris_fpless_backtrace):
New functions.
(_initialize_cris_tdep): Add core functions and new command.
(cris_gdbarch_init): Define link map offsets.

22 years ago2001-12-21 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Fri, 21 Dec 2001 06:53:54 +0000 (06:53 +0000)]
2001-12-21  Robert Collins  <rbtcollins@hotmail.com>

        * include/wingdi.h: Add GetRandomRgn and SYSRGN.

22 years ago* lib/Makefile.in: Revert inst_installdir definitions to working versions.
cgf [Fri, 21 Dec 2001 04:42:04 +0000 (04:42 +0000)]
* lib/Makefile.in: Revert inst_installdir definitions to working versions.

22 years ago * run.c (usage): Fix a typo.
kazu [Fri, 21 Dec 2001 00:47:18 +0000 (00:47 +0000)]
* run.c (usage): Fix a typo.

22 years ago * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
law [Fri, 21 Dec 2001 00:30:36 +0000 (00:30 +0000)]
    * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
        with HP's compiler.
        * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
        * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
        * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
        * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.

        * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
        either HP's compilers or GCC.

22 years ago * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
law [Fri, 21 Dec 2001 00:08:51 +0000 (00:08 +0000)]
    * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
        a SIGBUS or SIGSEGV.

        * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.

        * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
        can be compiled with either HP's compiler or GCC.

22 years ago*** empty log message ***
gdbadmin [Fri, 21 Dec 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
law [Thu, 20 Dec 2001 23:46:29 +0000 (23:46 +0000)]
    * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
        * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
        * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.

22 years ago * somsolib.c (som_solib_add): Ignore the solib limit threshhold
law [Thu, 20 Dec 2001 23:40:14 +0000 (23:40 +0000)]
    * somsolib.c (som_solib_add): Ignore the solib limit threshhold
        if AUTO_SOLIB_LIMIT is not greater than zero.

        * somsolib.c (som_solib_create_inferior_hook): No longer warn
        about missing __d_pid symbol.

22 years ago * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
law [Thu, 20 Dec 2001 23:37:30 +0000 (23:37 +0000)]
    * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
        to match current gdb output.  Update due to using auto-solib-limit
        for limiting instead of overloading auto-solib-add.
        * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
        test program.

        * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
        * gdb.hp/gdb.base-hp/dollar.exp: Likewise
        * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
        * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
        * gdb.hp/gdb.base-hp/reg.exp: Likewise.
        * gdb.hp/gdb.compat/xdb3.exp: Likewise.
        * gdb.hp/gdb.defects/bs15503.exp: Likewise.
        * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
        * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
        * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
        * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
        * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
        * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.

22 years ago2001-12-20 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 20 Dec 2001 23:31:26 +0000 (23:31 +0000)]
2001-12-20  Elena Zannoni  <ezannoni@redhat.com>

* ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register):
New function.
(fetch_register): New function.
(fetch_ppc_registers): New function.
(fetch_inferior_registers): New function.
(store_register): New function.
(store_ppc_registers): New function.
(store_inferior_registers): New function.
(ppc_register_u_addr): Eliminate ustart parameter and its
uses. Make static.
(PT_READ_U, PT_WRITE_U, PTRACE_XFER_TYPE): Define if needed.
Include sys/ptrace.h.

* config/powerpc/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
(U_REGS_OFFSET, REGISTER_U_ADDR): Delete.

* config/powerpc/linux.mh (NATDEPFILES): Delete core-aout.o.

22 years ago2001-12-20 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 20 Dec 2001 23:29:23 +0000 (23:29 +0000)]
2001-12-20  Elena Zannoni  <ezannoni@redhat.com>

        * rs6000-nat.c (fetch_register): Don't error out unless the
        register number is really bogus.

22 years agodaily update
amodra [Thu, 20 Dec 2001 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago2001-12-20 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 20 Dec 2001 22:31:22 +0000 (22:31 +0000)]
2001-12-20  Michael Snyder  <msnyder@redhat.com>

* maint.c (maintenance_info_sections): Accept new argument
'ALLOBJ', iterate over all object files.
(print_section_table): Delete.  Replaced by:
(print_section_info): New function.
(print_bfd_section_info): New function.
(print_objfile_section_info): New function.
(_initialize_maint_commands): Add help for new features.

22 years ago * gdb.asm/arm.inc: New file.
corinna [Thu, 20 Dec 2001 22:12:19 +0000 (22:12 +0000)]
* gdb.asm/arm.inc: New file.
* gdb.asm/asm-source.exp: Add arm targets.
* gdb.asm/configure.in: Ditto.
* gdb.asm/configure: Recreated from configure.in.

22 years ago * arm-tdep.c (arm_scan_prologue): Don't require "mov ip, sp"
kevinb [Thu, 20 Dec 2001 21:56:53 +0000 (21:56 +0000)]
* arm-tdep.c (arm_scan_prologue): Don't require "mov ip, sp"
to be the first instruction in the prologue.  Also, revise
the way the frame offset is computed for frameless functions.

22 years agoFix some ARM call dummy problems.
kevinb [Thu, 20 Dec 2001 21:40:20 +0000 (21:40 +0000)]
Fix some ARM call dummy problems.

22 years agoSpecial handling of AIX xcoff text alignment fix.
trix [Thu, 20 Dec 2001 21:29:20 +0000 (21:29 +0000)]
Special handling of AIX xcoff text alignment fix.

22 years ago* gdbint.texinfo (TARGET_CHAR_SIGNED): Document.
jimb [Thu, 20 Dec 2001 21:16:31 +0000 (21:16 +0000)]
* gdbint.texinfo (TARGET_CHAR_SIGNED): Document.

22 years ago2001-12-20 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
drow [Thu, 20 Dec 2001 21:11:25 +0000 (21:11 +0000)]
2001-12-20  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
            Daniel Jacobowitz <drow@mvista.com>

        * config/tc-mips.c (file_mips_gp32): Initialize to invalid value.
        (file_mips_fp32): Likewise.
        (md_begin): Compatibility handling for -mipsN option.

22 years ago2001-12-20 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 20 Dec 2001 21:03:01 +0000 (21:03 +0000)]
2001-12-20  Michael Snyder  <msnyder@redhat.com>

* maint.c (maintenance_info_sections): Pass string argument to
print_section_table, so that it can be used to select sections.
(print_section_table): Change PTR to void *.  Look at string arg
to select sections by name and by flag attributes.
(match_bfd_flags): New function.
(print_bfd_flags): New function.

22 years ago 2001-12-19 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 20 Dec 2001 20:22:16 +0000 (20:22 +0000)]
 2001-12-19  Michael Snyder  <msnyder@redhat.com>

* elf32-i386.c (elf_i386_grok_psinfo): Fix probable copy-and-paste
error: target is i386 (not mips), and size of descdata is 124
(not 128).

22 years ago* include/cygwin/version.h: Bump API minor version for below changes.
cgf [Thu, 20 Dec 2001 18:54:28 +0000 (18:54 +0000)]
* include/cygwin/version.h: Bump API minor version for below changes.

22 years ago * cli/cli-decode.c (add_cmd): Initialize pre_show_hook in
law [Thu, 20 Dec 2001 18:35:29 +0000 (18:35 +0000)]
* cli/cli-decode.c (add_cmd): Initialize pre_show_hook in
the new command.

22 years ago * cpp_variable.test: Catch non-test calls in case we
kseitz [Thu, 20 Dec 2001 18:28:35 +0000 (18:28 +0000)]
* cpp_variable.test: Catch non-test calls in case we
could not run.

22 years ago* remote.c (struct packet_reg): Add field in_g_packet.
cagney [Thu, 20 Dec 2001 17:39:57 +0000 (17:39 +0000)]
* remote.c (struct packet_reg): Add field in_g_packet.
(struct remote_state): Rename field g_packet to regs;
(free_remote_state): Update.
(init_remote_state): Add pseudo-registers to table.  Initialize
in_g_packet.  Drop sentinal from table.
(packet_reg_from_regnum, packet_reg_from_pnum): Update.
(remote_fetch_registers): Handle registers not in the g-packet.
(remote_store_registers): Ditto.

22 years ago * compile.c: Fix formatting.
kazu [Thu, 20 Dec 2001 17:36:23 +0000 (17:36 +0000)]
* compile.c: Fix formatting.

22 years ago* gas/sh/err-at.s: New test.
aoliva [Thu, 20 Dec 2001 17:28:20 +0000 (17:28 +0000)]
* gas/sh/err-at.s: New test.

22 years ago* config/tc-sh.c (parse_at): Reject @(r0) and @(r0,).
aoliva [Thu, 20 Dec 2001 17:28:12 +0000 (17:28 +0000)]
* config/tc-sh.c (parse_at): Reject @(r0) and @(r0,).

22 years ago* gdbarch.sh (TARGET_CHAR_SIGNED): Do not specify the print
cagney [Thu, 20 Dec 2001 17:23:06 +0000 (17:23 +0000)]
* gdbarch.sh (TARGET_CHAR_SIGNED): Do not specify the print
format.

22 years ago * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
law [Thu, 20 Dec 2001 16:53:52 +0000 (16:53 +0000)]
    * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"

22 years ago * gdb.base/annota1.exp: Expect failure for hpux11 when posting
law [Thu, 20 Dec 2001 16:52:07 +0000 (16:52 +0000)]
    * gdb.base/annota1.exp: Expect failure for hpux11 when posting
        a SIGTRAP to the inferior.

22 years ago * compile.c: Fix comment typos.
kazu [Thu, 20 Dec 2001 16:47:52 +0000 (16:47 +0000)]
* compile.c: Fix comment typos.

22 years ago * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
corinna [Thu, 20 Dec 2001 16:06:11 +0000 (16:06 +0000)]
* gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
Substitute call to target_link by call to gdb_compile.

22 years agoWhen --wide is used, do not truncate symbol names.
nickc [Thu, 20 Dec 2001 11:20:14 +0000 (11:20 +0000)]
When --wide is used, do not truncate symbol names.

22 years ago* s390-tdep.c (s390_pop_frame_regular): Make sure the saved_regs
jimb [Thu, 20 Dec 2001 08:55:31 +0000 (08:55 +0000)]
* s390-tdep.c (s390_pop_frame_regular): Make sure the saved_regs
array is actually set before we try to use it.

22 years ago* s390-tdep.c (s390_frame_saved_pc_nofix): If we get the saved PC
jimb [Thu, 20 Dec 2001 08:54:02 +0000 (08:54 +0000)]
* s390-tdep.c (s390_frame_saved_pc_nofix): If we get the saved PC
out of the return address register, cache that in the frame's
extra info, just as if we'd gotten it from the saved regs array;
that way, it's not a lie to set the saved_pc_valid flag.

22 years ago* s390-tdep.c (s390_get_frame_info): Give orig_sp a reasonable
jimb [Thu, 20 Dec 2001 08:52:37 +0000 (08:52 +0000)]
* s390-tdep.c (s390_get_frame_info): Give orig_sp a reasonable
value, even when fextra_info->stack_bought can't be trusted,

22 years ago* s390-tdep.c (s390_readinstruction): Don't call
jimb [Thu, 20 Dec 2001 08:50:46 +0000 (08:50 +0000)]
* s390-tdep.c (s390_readinstruction): Don't call
info->read_memory_func to read zero bytes.  Some targets'
xfer_memory functions can't cope with that.

22 years ago* gdbarch.sh (TARGET_CHAR_SIGNED): New macro.
jimb [Thu, 20 Dec 2001 08:33:34 +0000 (08:33 +0000)]
* gdbarch.sh (TARGET_CHAR_SIGNED): New macro.
* gdbarch.c, gdbarch.h: Regenerated.
* gdbtypes.c (build_gdbtypes): If TARGET_CHAR_SIGNED is zero,
set the TYPE_FLAG_UNSIGNED bit on the type.
* s390-tdep.c (s390_gdbarch_init): On the S/390, characters
are unsigned by default.
* rs6000-tdep.c (rs6000_gdbarch_init): Same for PowerPC and
RS6000.

22 years ago* config/tc-ppc.c (md_parse_option): Make -maltivec default
mrg [Thu, 20 Dec 2001 07:34:43 +0000 (07:34 +0000)]
* config/tc-ppc.c (md_parse_option): Make -maltivec default
to generating PowerPC instructions.

22 years ago * configure.tgt (mips*-dec-netbsd*): Delete alias for
amodra [Thu, 20 Dec 2001 05:40:08 +0000 (05:40 +0000)]
* configure.tgt (mips*-dec-netbsd*): Delete alias for
mips*el-*-netbsd*.
(sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.

22 years ago * configure.in (mips-dec-netbsd*): Delete.
amodra [Thu, 20 Dec 2001 05:39:34 +0000 (05:39 +0000)]
* configure.in (mips-dec-netbsd*): Delete.
* configure: Regenerate.

22 years ago * config.bfd (mips-dec-netbsd*): Delete alias for mips*el-*-netbsd*.
amodra [Thu, 20 Dec 2001 05:38:50 +0000 (05:38 +0000)]
* config.bfd (mips-dec-netbsd*): Delete alias for mips*el-*-netbsd*.

22 years ago* gdbarch.sh (TARGET_CHAR_SIGNED): New macro.
jimb [Thu, 20 Dec 2001 03:26:07 +0000 (03:26 +0000)]
* gdbarch.sh (TARGET_CHAR_SIGNED): New macro.
* gdbarch.c, gdbarch.h: Regenerated.
* gdbtypes.c (build_gdbtypes): If TARGET_CHAR_SIGNED is zero,
set the TYPE_FLAG_UNSIGNED bit on the type.
* s390-tdep.c (s390_gdbarch_init): On the S/390, characters
are unsigned by default.
* rs6000-tdep.c (rs6000_gdbarch_init): Same for PowerPC and
RS6000.

22 years ago * configure.tgt (arm-*-netbsdelf*): Add target.
amodra [Thu, 20 Dec 2001 03:19:43 +0000 (03:19 +0000)]
* configure.tgt (arm-*-netbsdelf*): Add target.
(arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
* emulparams/armelf_nbsd.sh: Added.
* Makefile.am: Add rules for earmelf_nbsd.
* Makefile.in: Regenerate.

22 years ago * configure.in (arm-*-netbsdelf*): Add target.
amodra [Thu, 20 Dec 2001 03:19:03 +0000 (03:19 +0000)]
* configure.in (arm-*-netbsdelf*): Add target.
* configure: Regenerate.

22 years ago * config.bfd (arm-*-netbsdelf*): Add target.
amodra [Thu, 20 Dec 2001 03:18:22 +0000 (03:18 +0000)]
* config.bfd (arm-*-netbsdelf*): Add target.
* configure.in: Include netbsd-core.lo for native arm-*-netbsd*.
* configure: Regenerate.

22 years agoRemove obsolete include.
cgf [Thu, 20 Dec 2001 03:03:59 +0000 (03:03 +0000)]
Remove obsolete include.

22 years ago* Makefile.in (VPATH): Add regex directory.
cgf [Thu, 20 Dec 2001 02:55:07 +0000 (02:55 +0000)]
* Makefile.in (VPATH): Add regex directory.
(NM): new variable.
(OBSOLETE_FUNCTIONS): Ditto.
(NEW_FUNCTIONS): Ditto.
(install-headers): Install regex.h.
(install-man): New target.
(install): Use new target.
(DLL_OFILES): Add v8_reg* stuff.
(new-cygwin1.dll): Eliminate stamp-cygwin-lib creation.
(libcygwin.a): Remove obsolete functions from import lib.  Add new functions.
* configure.in: Detect 'nm' tool.
* configure: Regenerate.
* cygwin.din: Export posix_reg* functions.  Eliminate export of v8 reg*
functions.  This is now handled in object files themselves.
* regex/*: New files.
* regexp/v8_*.c: New files, renamed from non v8_ equivalents.

22 years ago*** empty log message ***
gdbadmin [Thu, 20 Dec 2001 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-12-19 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Wed, 19 Dec 2001 23:54:26 +0000 (23:54 +0000)]
2001-12-19  Elena Zannoni  <ezannoni@redhat.com>

        * corefile.c (do_captured_read_memory_integer,
        safe_read_memory_integer): New functions.
        * gdbcore.h (safe_read_memory_integer): Export.
        * arm-tdep.c (arm_scan_prologue): Use safe_read_memory_integer,
        to read the frame value, to capture calls to error().

22 years ago * elfcode.h (elf_slurp_symbol_table): Test elf_elfsections for NULL,
amodra [Wed, 19 Dec 2001 23:54:26 +0000 (23:54 +0000)]
* elfcode.h (elf_slurp_symbol_table): Test elf_elfsections for NULL,
as can happen with a core file, before dereferencing.

22 years ago * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
fitzsim [Wed, 19 Dec 2001 23:41:46 +0000 (23:41 +0000)]
* libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
* libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.

22 years ago* s390-tdep.c (s390_register_name): S390_LAST_REGNUM is, in fact,
jimb [Wed, 19 Dec 2001 23:07:52 +0000 (23:07 +0000)]
* s390-tdep.c (s390_register_name): S390_LAST_REGNUM is, in fact,
the last register number, not one greater than the last register
number.

* s390-tdep.c (s390_register_virtual_type): Replace clever but
incorrect range comparison with correct, legible equivalent.

22 years agodaily update
amodra [Wed, 19 Dec 2001 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago * mi-var-display.exp: char* variables have a child. Update all
kseitz [Wed, 19 Dec 2001 22:57:46 +0000 (22:57 +0000)]
* mi-var-display.exp: char* variables have a child. Update all
occurences.
* mi0-var-display.exp: Likewise.

22 years ago* s390-tdep.c (s390_gdbarch_init): Revert accidentally committed
jimb [Wed, 19 Dec 2001 22:32:35 +0000 (22:32 +0000)]
* s390-tdep.c (s390_gdbarch_init): Revert accidentally committed
change.

22 years ago* s390-tdep.c (s390_register_raw_size): Replace unnecessarily
jimb [Wed, 19 Dec 2001 22:24:49 +0000 (22:24 +0000)]
* s390-tdep.c (s390_register_raw_size): Replace unnecessarily
obscure range comparison with legible equivalent.

22 years ago * gdb.base/break.exp: Fix HP specific search string when testing
law [Wed, 19 Dec 2001 21:08:44 +0000 (21:08 +0000)]
    * gdb.base/break.exp: Fix HP specific search string when testing
        backtracing in a called function.

        * gdb.base/constvars.exp: Only set lang to C++ if we're
        compiling the test with HP's compilers.
        * gdb.base/volatile.exp: Similarly.

22 years ago * config/pa/tm-hppa.h (STORE_RETURN_VALUE): Use hppa_store_return_value.
law [Wed, 19 Dec 2001 20:21:43 +0000 (20:21 +0000)]
    * config/pa/tm-hppa.h (STORE_RETURN_VALUE): Use hppa_store_return_value.
        (EXTRACT_RETURN_VALUE): Similarly.
        * hppa-tdep.c (hppa_store_return_value): New function.
        (hppa_extract_return_value): New function.

22 years agoFix up comments.
cgf [Wed, 19 Dec 2001 20:10:02 +0000 (20:10 +0000)]
Fix up comments.

22 years ago * configure.host: Add rules for x86_64-*linux-gnu. Change
aj [Wed, 19 Dec 2001 19:58:28 +0000 (19:58 +0000)]
* configure.host: Add rules for x86_64-*linux-gnu.  Change
s390x-linux entry to use gcc to report configuration, replace gcc
with $CC in s390-linux

22 years ago * infttrate.c (child_acknowledge_created_inferior): Pass
law [Wed, 19 Dec 2001 19:16:49 +0000 (19:16 +0000)]
    * infttrate.c (child_acknowledge_created_inferior): Pass
        correct argument to add_thread.
        (update_thread_state_after_attach): Likewise.

22 years ago2001-12-19 Fernando Nasser <fnasser@redhat.com>
fnasser [Wed, 19 Dec 2001 17:57:41 +0000 (17:57 +0000)]
2001-12-19  Fernando Nasser  <fnasser@redhat.com>

* config/arm/tm-arm.h: Properly define SOFTWARE_SINGLE_STEP_P.
Always define SOFTWARE_SINGLE_STEP.
* config/arm/tm-embed.h: Properly define SOFTWARE_SINGLE_STEP_P.
* arm-tdep.c (arm_get_next_pc, thumb_get_next_pc, bitcount,
shifted_reg_val): Always compile these functions.
(arm_software_single_step): Fix second argument in function calls.

22 years agoAdd function gdbarch_info_init() replaces memset().
cagney [Wed, 19 Dec 2001 14:14:52 +0000 (14:14 +0000)]
Add function gdbarch_info_init() replaces memset().

22 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): If new_size
jakub [Wed, 19 Dec 2001 11:48:14 +0000 (11:48 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): If new_size
is 0, temporarily grow it to minimal CIE size.
(_bfd_elf_write_section_eh_frame): If input .eh_frame section would
end up empty, build a fake minimal CIE.

22 years ago * libm/machine/Makefile.am: Change rules to create correct lib.a.
corinna [Wed, 19 Dec 2001 09:22:34 +0000 (09:22 +0000)]
* libm/machine/Makefile.am: Change rules to create correct lib.a.
* libm/machine/Makefile.in: Regenerated through automake.

22 years ago * ld.texinfo (VERSION): Fix markup.
aj [Wed, 19 Dec 2001 09:20:22 +0000 (09:20 +0000)]
* ld.texinfo (VERSION): Fix markup.

22 years ago* gdb.base/printcmds.exp: Expect the null character to be printed
jimb [Wed, 19 Dec 2001 06:29:44 +0000 (06:29 +0000)]
* gdb.base/printcmds.exp: Expect the null character to be printed
as '\0', and the '\013' to be printed as '\v'.
* gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
* gdb.base/setvar.exp: Same.

22 years ago* c-lang.c (c_emit_char): Print ASCII 11 as '\v', to match
jimb [Wed, 19 Dec 2001 06:29:17 +0000 (06:29 +0000)]
* c-lang.c (c_emit_char): Print ASCII 11 as '\v', to match
ISO C, and our parser.  Print ASCII 0 as '\0', since that's what
people are used to seeing.

22 years ago2001-12-18 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 19 Dec 2001 05:18:34 +0000 (05:18 +0000)]
2001-12-18  Michael Snyder  <msnyder@redhat.com>

        * objcopy.c (copy_file): Accept corefiles (format bfd_core).
        (copy_object): Don't set the start address or flags of a core file.
        (copy_section): Don't relocate a core file.  Don't copy contents
        if the input section has the contents flag set, but the output
        section does not (which happens with the fake 'note' pseudo-
        sections that BFD creates for corefiles).

22 years ago2001-12-18 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 19 Dec 2001 05:18:01 +0000 (05:18 +0000)]
2001-12-18  Michael Snyder  <msnyder@redhat.com>

        * objcopy.c (copy_file): Accept corefiles (format bfd_core).
        (copy_object): Don't set the start address or flags of a core file.
        (copy_section): Don't relocate a core file.  Don't copy contents
        if the input section has the contents flag set, but the output
        section does not (which happens with the fake 'note' pseudo-
        sections that BFD creates for corefiles).

22 years ago2001-12-18 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 19 Dec 2001 05:16:44 +0000 (05:16 +0000)]
2001-12-18  Michael Snyder  <msnyder@redhat.com>

        * elf.c (assign_file_positions_for_segments): Don't sort PT_NOTE
        sections of corefiles.  Also it makes no sense to sort if count == 1.

22 years ago* Makefile.in: Don't attempt to use zlib directory as a dependency if it
cgf [Wed, 19 Dec 2001 03:35:36 +0000 (03:35 +0000)]
* Makefile.in: Don't attempt to use zlib directory as a dependency if it
doesn't exist.

22 years ago* c-lang.c (c_printstr, c_builtin_types, cplus_builtin_types):
jimb [Wed, 19 Dec 2001 03:07:08 +0000 (03:07 +0000)]
* c-lang.c (c_printstr, c_builtin_types, cplus_builtin_types):
Fix indentation.

22 years ago2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Wed, 19 Dec 2001 03:03:29 +0000 (03:03 +0000)]
2001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>

* libc/machine/i386/f_*: Move to libm/machine/i386.

2001-12-18      Joel Sherrill <joel@OARcorp.com>

* libm/machine/Makefile.am: Add dummy doc stub so
"make info" works.

2001-12-17 Joel Sherrill <joel@OARcorp.com>

* libc/include/sys/types.h (ino_t): RTEMS uses long also.

22 years ago2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Wed, 19 Dec 2001 03:03:17 +0000 (03:03 +0000)]
2001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>

* libc/machine/i386/f_*: Move to libm/machine/i386.

2001-12-18      Joel Sherrill <joel@OARcorp.com>

* libm/machine/Makefile.am: Add dummy doc stub so
"make info" works.

2001-12-17 Joel Sherrill <joel@OARcorp.com>

* libc/include/sys/types.h (ino_t): RTEMS uses long also.

22 years ago* Makefile.in (c-exp.tab.o): Delete duplicate build rule. Fix
jimb [Wed, 19 Dec 2001 02:45:35 +0000 (02:45 +0000)]
* Makefile.in (c-exp.tab.o): Delete duplicate build rule.  Fix
dependency list on remaining build rule.

22 years ago * config.bfd (bfd_elf32_ia64_hpux_big_vec): New vector for
amodra [Wed, 19 Dec 2001 02:18:20 +0000 (02:18 +0000)]
* config.bfd (bfd_elf32_ia64_hpux_big_vec): New vector for
ia64*-*-hpux* target.
(bfd_elf64_ia64_hpux_big_vec): Likewise.
* targets.c: Ditto.
* configure.in: Ditto.
* configure: Regenerate
* elfxx-ia64.c (elfNN_ia64_final_write_processing): Replace use of
alloca with bfd_malloc.
(get_local_sym_hash): Likewise.
(elfNN_hpux_post_process_headers): New function.
#include elfNN-target.h again with values for IA64 HP-UX vector.