OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years ago2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 11 Jan 2002 22:06:09 +0000 (22:06 +0000)]
2002-01-11 Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
        reads blanks from the input file to break if EOF reached
        rather than end processing.

22 years ago2002-01-11 Martin M. Hunt <hunt@redhat.com>
hunt [Fri, 11 Jan 2002 22:00:11 +0000 (22:00 +0000)]
2002-01-11  Martin M. Hunt  <hunt@redhat.com>

* library/interface.tcl (gdbtk_tcl_exec_file_display):
Set pathname in host-independent manner using "file" and
gdb_current_directory.

22 years ago2002-01-11 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 11 Jan 2002 20:24:14 +0000 (20:24 +0000)]
2002-01-11  Michael Snyder  <msnyder@redhat.com>

        * gdb.texinfo (Choosing files): Change @samp to @file.

22 years ago * iwidgets3.0.0/Makefile.in (install-libraries): Don't install
kseitz [Fri, 11 Jan 2002 20:18:02 +0000 (20:18 +0000)]
* iwidgets3.0.0/Makefile.in (install-libraries): Don't install
$(GENERIC_DIR)/*.tcl: there are no such files.

22 years ago* tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo
rearnsha [Fri, 11 Jan 2002 18:00:13 +0000 (18:00 +0000)]
* tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo
op that can be translated into a mvn instruction.

* gas/arm/ldconst.s gas/arm/ldconst.d: New files.  Test ldr with
immediate pseudo-operations.
* gas/arm/arm.exp: Run it.

22 years ago1) Handling of the DW_AT_byte_size attribute when processing a
petrs [Fri, 11 Jan 2002 16:56:00 +0000 (16:56 +0000)]
1) Handling of the DW_AT_byte_size attribute when processing a
DW_TAG_string_type (this is acceptable under the current DWARF 2.1/3.0
standard.)
2) In read_tag_string_type(), a fix for FORTRAN that propagates the
first string length to all string types. This is important as FORTRAN
strings are not delimited as in C/C++.
3) Handling of the DW_LANG_Fortran95.

22 years agoAdded Self to Write After Approval
petrs [Fri, 11 Jan 2002 16:51:03 +0000 (16:51 +0000)]
Added Self to Write After Approval

22 years ago* armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
rearnsha [Fri, 11 Jan 2002 10:46:14 +0000 (10:46 +0000)]
* armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
GETPID(inferior_ptid).
(store_inferior_registers): Likewise.

22 years ago2002-01-11 Ralf Habacker <Ralf.Habacker@freenet.de>
rbcollins [Fri, 11 Jan 2002 10:23:19 +0000 (10:23 +0000)]
2002-01-11 Ralf Habacker  <Ralf.Habacker@freenet.de>

        * include/ntsecapi.h:  Fixed missing void parameter type in some prototypes.
        * include/objbase.h: Ditto.
        * include/rapi.h: Ditto.
        * include/rpc.h: Ditto.
        * include/rpcdce.h: Ditto.
        * include/rpcdcep.h: Ditto.
        * include/rpcndr.h: Ditto.
        * include/rpcnsip.h: Ditto.
        * include/rpcproxy.h: Ditto.
        * include/windef.h: Ditto.

22 years ago2001-12-30 Guido Serassio <serassio@libero.it>
rbcollins [Fri, 11 Jan 2002 10:17:24 +0000 (10:17 +0000)]
2001-12-30  Guido Serassio <serassio@libero.it>

       * include/winsvc.h: Add EnumServiceStatusEx(),
       QueryServiceStatusEx()
       & RegisterServiceCtrlHandlerEx()

22 years ago * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
jason [Fri, 11 Jan 2002 09:32:47 +0000 (09:32 +0000)]
    * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
        Fix DW_OP_minus.

22 years agoAdd ia64-hpux target. LD and GDB are not currently supported.
nickc [Fri, 11 Jan 2002 09:29:18 +0000 (09:29 +0000)]
Add ia64-hpux target.  LD and GDB are not currently supported.

22 years agoAdd support for ia64-hpux target.
nickc [Fri, 11 Jan 2002 09:27:33 +0000 (09:27 +0000)]
Add support for ia64-hpux target.

22 years ago[cgen/ChangeLog]
mrg [Fri, 11 Jan 2002 07:24:58 +0000 (07:24 +0000)]
[cgen/ChangeLog]
* cpu/xstormy16.cpu (gr-Rbj-names): Rename this ...
(gr-Rb-names): ... to this.
(h-Rb): New hardware peice.
(h-Rbj): Use gr-Rb-names.
(Rb): Use h-Rb.

(holdx): New instruction.

[opcodes/ChangeLog]
* xstormy16-asm.c: Regenerate.
* xstormy16-desc.c: Likewise.
* xstormy16-desc.h: Likewise.
* xstormy16-dis.c: Likewise.
* xstormy16-opc.c: Likewise.
* xstormy16-opc.h: Likewise.

[gas/testsuite/ChangeLog]
* gas/xstormy16/allinsn.sh (movf, jmp, call, icall): Update.
* gas/xstormy16/allinsn.d: Regenerate.
* gas/xstormy16/allinsn.s: Regenerate.

[sid/component/cgen-cpu/xstormy16/ChangeLog]
* xstormy16.cxx (do_holdx): Define.
* xstormy16.h (do_holdx): Declare.

22 years ago[cgen/ChangeLog]
mrg [Fri, 11 Jan 2002 07:24:47 +0000 (07:24 +0000)]
[cgen/ChangeLog]
* cpu/xstormy16.cpu (gr-Rbj-names): Rename this ...
(gr-Rb-names): ... to this.
(h-Rb): New hardware peice.
(h-Rbj): Use gr-Rb-names.
(Rb): Use h-Rb.

(holdx): New instruction.

[opcodes/ChangeLog]
* xstormy16-asm.c: Regenerate.
* xstormy16-desc.c: Likewise.
* xstormy16-desc.h: Likewise.
* xstormy16-dis.c: Likewise.
* xstormy16-opc.c: Likewise.
* xstormy16-opc.h: Likewise.

[gas/testsuite/ChangeLog]
* gas/xstormy16/allinsn.sh (movf, jmp, call, icall): Update.
* gas/xstormy16/allinsn.d: Regenerate.
* gas/xstormy16/allinsn.s: Regenerate.

[sid/component/cgen-cpu/xstormy16/ChangeLog]
* xstormy16.cxx (do_holdx): Define.
* xstormy16.h (do_holdx): Declare.

22 years ago * library/Makefile (ITCL_SH): Renamed to "ITCLSH".
kseitz [Fri, 11 Jan 2002 04:24:38 +0000 (04:24 +0000)]
* library/Makefile (ITCL_SH): Renamed to "ITCLSH".
(tclIndex): We no longer have an Itcl shell, so we must use
"package require Itcl".

22 years ago* exceptions.cc (sig_handle): Accept a second argument indicating whether the
cgf [Fri, 11 Jan 2002 02:24:06 +0000 (02:24 +0000)]
* exceptions.cc (sig_handle): Accept a second argument indicating whether the
signal came from this process or not.
* sigproc.h: Reflect sig_handle arg change.
* signal.cc (kill_pgrp): Add sigframe info.
(abort): New function.  Eliminates newlib function of same name.
* sigproc.cc (wait_sig): Pass "signal from this process" value as arg 2.

22 years ago2002-01-10 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 11 Jan 2002 01:46:16 +0000 (01:46 +0000)]
2002-01-10  Michael Snyder  <msnyder@redhat.com>

* NEWS: Mention --pid and corefile/proc-id behavior change.

22 years ago* config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
cagney [Fri, 11 Jan 2002 01:13:26 +0000 (01:13 +0000)]
* config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
and bfd/elf32-sh-nbsd.c.

22 years ago*** empty log message ***
gdbadmin [Fri, 11 Jan 2002 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-01-10 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 10 Jan 2002 23:32:24 +0000 (23:32 +0000)]
2002-01-10  Michael Snyder  <msnyder@redhat.com>

* Makefile.in: Add rules for gcore.o and linux-proc.o.
* gcore.c: Include cli/cli-decode.h instead of command.h.

22 years ago2002-01-10 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 10 Jan 2002 23:05:21 +0000 (23:05 +0000)]
2002-01-10  Michael Snyder  <msnyder@redhat.com>

* elf.c (elfcore_write_prstatus): Use long instead of pid_t;
(elfcore_write_pstatus): Use long instead of pid_t;
* elf-bfd.h: Change prototypes to use long instead of pid_t;

22 years ago2002-01-05 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 10 Jan 2002 23:03:35 +0000 (23:03 +0000)]
2002-01-05  Michael Snyder  <msnyder@redhat.com>

* gdb.texinfo (--pid): Document new command line option (attach).

22 years ago2002-01-10 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 10 Jan 2002 23:03:08 +0000 (23:03 +0000)]
2002-01-10  Michael Snyder  <msnyder@redhat.com>

* main.c (captured_main): Add new command line option "--pid".
If the second command line argument (following the symbol-file)
begins with a digit, try to attach to it before trying to open
it as a corefile.
(print_gdb_help): Document the "--pid" argument.

22 years agodaily update
amodra [Thu, 10 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago * gdb.c++/namespace.exp: Accept trailing const for 'this'.
jason [Thu, 10 Jan 2002 20:46:12 +0000 (20:46 +0000)]
    * gdb.c++/namespace.exp: Accept trailing const for 'this'.

        * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
        constructors.
        * gdb.c++/derivation.exp: Likewise.
        * gdb.c++/templates.exp: Likewise.
        * gdb.c++/virtfunc.exp: Likewise.

22 years ago2002-01-10 Keith Seitz <keiths@redhat.com>
kseitz [Thu, 10 Jan 2002 20:21:26 +0000 (20:21 +0000)]
2002-01-10  Keith Seitz  <keiths@redhat.com>

* unix/Makefile.in (TK_RANLIB): Renamed from just "RANLIB".
Changed all references to "RANLIB" to "TK_RANLIB" so that
toplevel Makefile doesn't override our own settings.

22 years ago * unix/Makefile.in (TCL_RANLIB): Renamed from just "RANLIB".
kseitz [Thu, 10 Jan 2002 20:17:57 +0000 (20:17 +0000)]
* unix/Makefile.in (TCL_RANLIB): Renamed from just "RANLIB".
Changed all references to "RANLIB" to "TCL_RANLIB" so that
toplevel Makefile doesn't override our own settings.

22 years ago2002-01-10 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 10 Jan 2002 18:27:08 +0000 (18:27 +0000)]
2002-01-10  Michael Snyder  <msnyder@redhat.com>

        * gdb.c++/namespace.exp: Accept both '\0' and '\000'.

22 years agoupdate copyright
jason [Thu, 10 Jan 2002 17:48:03 +0000 (17:48 +0000)]
update copyright

22 years ago * syscalls.cc (pathconf): Guard _PC_PATH_MAX branch against invalid
corinna [Thu, 10 Jan 2002 13:24:27 +0000 (13:24 +0000)]
* syscalls.cc (pathconf): Guard _PC_PATH_MAX branch against invalid
file parameter.

22 years ago * gdb.c++/namespace.exp: '\0', not '\000'.
jason [Thu, 10 Jan 2002 13:21:57 +0000 (13:21 +0000)]
    * gdb.c++/namespace.exp: '\0', not '\000'.

22 years ago* tc-arm.c (struct reg_entry): Move before prototypes.
rearnsha [Thu, 10 Jan 2002 11:47:32 +0000 (11:47 +0000)]
* tc-arm.c (struct reg_entry): Move before prototypes.
(int_register, cp_register, fp_register): Delete.
(reg_table): Delete.  Replaced with ...
(rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
(mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
(mav_dspsc_table): ... one table per register set.
(arm_reg_hsh): Delete.
(struct reg_map): New structure.
(all_reg_maps): New array.
(enum arm_reg_type): New enums.
(build_reg_hsh): New function.
(insert_reg_alias): Use hash table passed by caller.  Adjust all
callers.
(create_register_alias): New function, split out from ...
(md_assemble): ... here.
(md_begin): Build new register hash tables.
(arm_reg_parse): New argument for the hash table to search.  Adjust all
callers.
(arm_reg_parse_any): New function.
(co_proc_number): Look up the processor number in the processor hash
table.
(cirrus_regtype): Delete.
(cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
(cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
(ARM_EXT_MAVERICKsc_register): Delete.
(do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
(do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
functions.
(do_c_triple_4, do_c_triple_5): Delete.
(do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
(do_c_quad_6): Delete.
(do_c_quad_6[ab]): New functions.
(do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
arguments to use new register parsing methods.
(cirrus_reg_required_here): Likewise.
(insns): Reclassify cirrus maverick worker functions.
(cirrus_valid_reg): Delete.

22 years agoAdd myself as ARM sim maintainer
nickc [Thu, 10 Jan 2002 11:15:35 +0000 (11:15 +0000)]
Add myself as ARM sim maintainer

22 years agoFix parameters passed to CPRead[13] and CPRead[14].
nickc [Thu, 10 Jan 2002 11:14:56 +0000 (11:14 +0000)]
Fix parameters passed to CPRead[13] and CPRead[14].

22 years ago * completer.c (command_completer): New function.
eliz [Thu, 10 Jan 2002 08:15:55 +0000 (08:15 +0000)]
* completer.c (command_completer): New function.

* completer.h <command_completer>: Add prototype.

* cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
completer for the "help" command.

22 years ago* exceptions.cc (early_stuff_init): Rename from misnamed set_console_handler.
cgf [Thu, 10 Jan 2002 03:21:27 +0000 (03:21 +0000)]
* exceptions.cc (early_stuff_init): Rename from misnamed set_console_handler.
(ctrl_c_handler): Attempt to work around potential signal duplication during
process startup.
(sig_handle): Ignore SIGINT when we're just an "exec stub".
* spawn.cc (spawn_guts): Store pid of spawned process in global for use by
ctrl_c_handler.
* dcrt0.cc (dll_crt0_1): Call renamed initialization function.
* winsup.h: Reflect function name change.

22 years ago * c-typeprint.c (is_type_conversion_operator): Fix thinko.
jason [Thu, 10 Jan 2002 00:06:02 +0000 (00:06 +0000)]
    * c-typeprint.c (is_type_conversion_operator): Fix thinko.

22 years ago*** empty log message ***
gdbadmin [Thu, 10 Jan 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Wed, 9 Jan 2002 23:00:07 +0000 (23:00 +0000)]
daily update

22 years ago2002-01-09 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 9 Jan 2002 22:32:14 +0000 (22:32 +0000)]
2002-01-09  Michael Snyder  <msnyder@redhat.com>

* i386-linux-nat.c (fill_fpxregset): Make global.
(store_fpxregset): Ditto.

22 years ago * net.cc (cygwin_accept): Set sun_path for newly connected socket.
corinna [Wed, 9 Jan 2002 20:57:55 +0000 (20:57 +0000)]
* net.cc (cygwin_accept): Set sun_path for newly connected socket.

22 years ago2002-01-09 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 9 Jan 2002 20:48:42 +0000 (20:48 +0000)]
2002-01-09  Michael Snyder  <msnyder@redhat.com>

* gregset.h (gdb_fpxregset_t): Define.
(supply_fpxregset): Prototype.
(fill_fpxregset): Prototype.

22 years agoinclude/elf:
thorpej [Wed, 9 Jan 2002 18:59:10 +0000 (18:59 +0000)]
include/elf:
* common.h: Update copyright years.
(NT_NETBSDCORE_PROCINFO): Define.
(NT_NETBSDCORE_FIRSTMACH): Define.

bfd:
* elf.c: Update copyright years.
(elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO
and NT_NETBSDCORE_FIRSTMACH.  Improve a comment.

bintuils:
* readelf.c (get_netbsd_elfcore_note_type): Use
NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.

22 years ago2002-01-09 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 9 Jan 2002 18:49:21 +0000 (18:49 +0000)]
2002-01-09  Michael Snyder  <msnyder@redhat.com>

* exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.

22 years ago* config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
rearnsha [Wed, 9 Jan 2002 18:39:36 +0000 (18:39 +0000)]
* config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
* config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
* config/arm/tm-nbsd.h (get_longjmp_target): Likewise.

22 years agoUpdate target section.
cagney [Wed, 9 Jan 2002 18:33:20 +0000 (18:33 +0000)]
Update target section.

22 years agoFix formatting of ChangeLog entry in previous commit.
rearnsha [Wed, 9 Jan 2002 18:27:53 +0000 (18:27 +0000)]
Fix formatting of ChangeLog entry in previous commit.

22 years agoMAINTAINERS (write-after-approval): Add myself.
rearnsha [Wed, 9 Jan 2002 18:07:48 +0000 (18:07 +0000)]
MAINTAINERS (write-after-approval): Add myself.

arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
IN_SIGTRAMP.

22 years ago* readelf.c: Update copyright years.
thorpej [Wed, 9 Jan 2002 18:05:48 +0000 (18:05 +0000)]
* readelf.c: Update copyright years.
(get_note_type): Return a const char *.
(get_netbsd_elfcore_note_type): New function.
(process_note): Use get_netbsd_elfcore_note_type to get
the note type string for NetBSD ELF core files.

22 years ago* gas/arm/float.s: Don't use VFP register names in fpa instructions.
rearnsha [Wed, 9 Jan 2002 16:59:05 +0000 (16:59 +0000)]
* gas/arm/float.s: Don't use VFP register names in fpa instructions.

22 years agoGeneral format tidy ups
nickc [Wed, 9 Jan 2002 15:08:21 +0000 (15:08 +0000)]
General format tidy ups

22 years agoFix bug detected by GDB testsuite - when fetching registers more than 4
nickc [Wed, 9 Jan 2002 14:59:22 +0000 (14:59 +0000)]
Fix bug detected by GDB testsuite - when fetching registers more than 4
bytes wide return 0 for the other bytes.

22 years ago2002-01-08 H.J. Lu <hjl@gnu.org>
hjl [Wed, 9 Jan 2002 07:30:35 +0000 (07:30 +0000)]
2002-01-08  H.J. Lu <hjl@gnu.org>

* gas/mips/elf-rel.s: New tests for nested ().

* gas/mips/elf-rel.d: Modified for nested () tests.
* gas/mips/elfel-rel.d: Likewise.

22 years ago2002-01-08 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 9 Jan 2002 02:21:23 +0000 (02:21 +0000)]
2002-01-08  Michael Snyder  <msnyder@redhat.com>

* linux-proc.c (child_pid_to_exec_file): Use readlink to get the
real name of the executable, rather than the /proc name.

22 years ago2002-01-08 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 9 Jan 2002 00:37:40 +0000 (00:37 +0000)]
2002-01-08  Michael Snyder  <msnyder@redhat.com>

* gdb.base/gcore.exp: New test for generate-core-file command.
* gdb.base/gcore.c: Testcase for above.
* gdb.threads/gcore-thread.exp: New test for gcore (threaded).

22 years ago2002-01-03 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 9 Jan 2002 00:36:57 +0000 (00:36 +0000)]
2002-01-03  Michael Snyder  <msnyder@redhat.com>

Implement a "generate-core-file" command in gdb, save target state.
* gcore.c: New file.  Implement new command 'generate-core-file'.
Save a corefile image of the current state of the inferior.
* linux-proc.c: Add linux-specific code for saving corefiles.
* target.h (struct target_ops): Add new target vectors for saving
corefiles; to_find_memory_regions and to_make_corefile_notes.
(target_find_memory_regions): New macro.
(target_make_corefile_notes): New macro.
* target.c (update_current_target): Inherit new target methods.
(dummy_find_memory_regions): New place-holder method.
(dummy_make_corefile_notes): New place-holder method.
(init_dummy_target): Initialize new dummy target vectors.
* exec.c (exec_set_find_memory_regions): New function.
Allow the exec_ops vector for memory regions to be taken over.
(exec_make_note_section): New function, target vector method.
* defs.h (exec_set_find_memory_regions): Export prototype.
* procfs.c (proc_find_memory_regions): New function, corefile method.
(procfs_make_note_section): New function, corefile method.
(init_procfs_ops): Set new target vector pointers.
(find_memory_regions_callback): New function.
(procfs_do_thread_registers): New function.
(procfs_corefile_thread_callback): New function.
* sol-thread.c (sol_find_memory_regions): New function.
(sol_make_note_section): New function.
(init_sol_thread_ops): Initialize new target vectors.
* inftarg.c (inftarg_set_find_memory_regions): New function.
Allow to_find_memory_regions vector to be taken over.
(inftarg_set_make_corefile_notes): New function.
Allow to_make_corefile_notes vector to be taken over.
* thread-db.c (thread_db_new_objfile): Don't activate thread-db
interface layer if not target_has_execution (may be a corefile).
* config/i386/linux.mh: Add gcore.o to NATDEPFILES.
* config/sparc/sun4sol2.mh: Ditto.
* config/alpha/alpha-linux.mh: Ditto.
* config/arm/linux.mh: Ditto.
* config/i386/x86-64linux.mh: Ditto.
* config/ia64/linux.mh: Ditto.
* config/m68k/linux.mh: Ditto.
* config/mips/linux.mh: Ditto.
* config/powerpc/linux.mh: Ditto.
* config/sparc/linux.mh: Ditto.

22 years ago*** empty log message ***
gdbadmin [Wed, 9 Jan 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Tue, 8 Jan 2002 23:00:07 +0000 (23:00 +0000)]
daily update

22 years ago2002-01-07 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 8 Jan 2002 22:14:15 +0000 (22:14 +0000)]
2002-01-07  Michael Snyder  <msnyder@redhat.com>

        * arm-linux-nat.c: Remove references to regcache.c internal data
(registers[] and register_valid[]).

22 years ago2002-01-07 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 8 Jan 2002 22:09:46 +0000 (22:09 +0000)]
2002-01-07  Michael Snyder  <msnyder@redhat.com>

* linux-proc.c: New file.  Implement child_pid_to_exec_file,
so that attaching to a pid will automatically read the process's
symbol file and shlibs.
* Makefile.in: Add rule for linux-proc.o.
* config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
* config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
* config/arm/linux.mh: Ditto.
* config/i386/linux.mh: Ditto.
* config/i386/x86-64linux.mh: Ditto.
* config/ia64/linux.mh: Ditto.
* config/m68k/linux.mh: Ditto.
* config/mips/linux.mh: Ditto.
* config/powerpc/linux.mh: Ditto.
* config/sparc/linux.mh: Ditto.

22 years agoFix typo.
msnyder [Tue, 8 Jan 2002 21:33:23 +0000 (21:33 +0000)]
Fix typo.

22 years ago2002-01-08 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 8 Jan 2002 21:31:34 +0000 (21:31 +0000)]
2002-01-08  Michael Snyder  <msnyder@redhat.com>

Add capability to write corefile note sections, for gdb.
* elf.c (elfcore_write_note): New function.
(elfcore_write_prpsinfo): New function.
(elfcore_write_prstatus): New function.
(elfcore_write_pstatus): New function.
(elfcore_write_prfpreg): New function.
(elfcore_write_prxfpreg): New function.
* elf-bfd.h: Add prototypes for above functions.

22 years ago * generic/gdbtk-cmds.c (gdb_find_file_command): If the symtab
kseitz [Tue, 8 Jan 2002 20:21:44 +0000 (20:21 +0000)]
* generic/gdbtk-cmds.c (gdb_find_file_command): If the symtab
doesn't have the filename's fullname, look it up with
symtab_to_filename.

22 years ago * library/srcwin.itb (location): Fix typo. It's "addr" not
kseitz [Tue, 8 Jan 2002 19:57:21 +0000 (19:57 +0000)]
    * library/srcwin.itb (location): Fix typo. It's "addr" not
        "address".

22 years ago * library/interface.tcl (gdbtk_tcl_preloop): Use current directory
tromey [Tue, 8 Jan 2002 19:34:47 +0000 (19:34 +0000)]
* library/interface.tcl (gdbtk_tcl_preloop): Use current directory
when `--args' given.

22 years ago2002-01-07 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 8 Jan 2002 18:55:26 +0000 (18:55 +0000)]
2002-01-07  Michael Snyder  <msnyder@redhat.com>

* solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
instead of bfd_get_arch_size.  Don't bail out just because
there's no exec_bfd.

22 years ago* elf.c (elf_fake_sections): Propagate errors from
aoliva [Tue, 8 Jan 2002 16:42:57 +0000 (16:42 +0000)]
* elf.c (elf_fake_sections): Propagate errors from
elf_backend_fake_section.

22 years ago * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
jason [Tue, 8 Jan 2002 16:00:11 +0000 (16:00 +0000)]
    * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.

22 years ago* ldlang.c (walk_wild_section): Exclude object file if enclosing
aoliva [Tue, 8 Jan 2002 14:56:08 +0000 (14:56 +0000)]
* ldlang.c (walk_wild_section): Exclude object file if enclosing
archive is excluded.

22 years ago2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
muller [Tue, 8 Jan 2002 08:26:41 +0000 (08:26 +0000)]
2002-01-06  Pierre Muller  <muller@ics.u-strasbg.fr>

* win32-nat.c: Add i386-tdep.h dependency.

22 years agoApproved by mec@shout.net.
fnf [Tue, 8 Jan 2002 05:37:42 +0000 (05:37 +0000)]
Approved by mec@shout.net.

2002-01-07  Fred Fish  <fnf@redhat.com>
* gdb.c++/overload.exp: Remove unconditional xfails for:
print foo_instance1.overloadargs(1)
print foo_instance1.overloadargs(1, 2)
print foo_instance1.overloadargs(1, 2, 3)
print foo_instance1.overloadargs(1, 2, 3, 4)
print foo_instance1.overloadargs(1, 2, 3, 4, 5)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
print foo_instance1.overload1arg()
print foo_instance1.overload1arg((char)arg2)
print foo_instance1.overload1arg((signed char)arg3)
print foo_instance1.overload1arg((unsigned char)arg4)
print foo_instance1.overload1arg((int)arg7)
print foo_instance1.overload1arg((unsigned int)arg8)
print foo_instance1.overload1arg((float)arg11)
print foo_instance1.overload1arg((double)arg12)

22 years ago* Makefile.in: Add uninstall target.
cgf [Tue, 8 Jan 2002 04:51:01 +0000 (04:51 +0000)]
* Makefile.in: Add uninstall target.

22 years agobfd:
thorpej [Tue, 8 Jan 2002 04:22:48 +0000 (04:22 +0000)]
bfd:
* Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c.
(elf32-sh-nbsd.lo): New rule.
* Makefile.in: Regenerate.
* config.bfd (sh*le-*-netbsdelf*): New target.
(sh*-*-netbsdelf*): New target.
* configure.in: Include netbsd-core.lo for native sh*-*-netbsd*.
(bfd_elf32_shnbsd_vec): New vector.
(bfd_elf32_shlnbsd_vec): New vector.
* configure: Regenerate.
* elf32-sh-nbsd.c: New file.
* targets.c: Update copyright years.
(_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and
bfd_elf32_shnbsd_vec.

gas:
* configure.in (sh*le): Set cpu_type=sh and endian=little.
(sh*-*-netbsdelf*): New target.
* configure: Regenerate.
* tc-sh.h: Update copyright years.
(TARGET_FORMAT): Add version for TE_NetBSD.

ld:
* Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
(eshelf_nbsd.c): New rule.
(eshlelf_nbsd.c): New rule.
* Makefile.in: Regenerate.
* configure.tgt (sh*le-*-netbsdelf*): New target.
(sh*-*-netbsdelf*): New target.
* emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
* ld/emulparams/shelf_nbsd.sh: New emulation.
* ld/emulparams/shlelf_nbsd.sh: New emulation.

22 years ago2002-01-07 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 8 Jan 2002 02:09:28 +0000 (02:09 +0000)]
2002-01-07  Michael Snyder  <msnyder@redhat.com>

* cp-valprint.c (cp_print_value): FIXME comment, alloca size.
* p-valprint.c (pascal_object_print_value): Ditto.
* somread.c (som_symtab_read): Ditto.
* symfile.c (simple_free_overlay_region_table): Ditto.
* valops.c (value_assign): Ditto.

22 years ago2002-01-07 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 8 Jan 2002 02:04:12 +0000 (02:04 +0000)]
2002-01-07  Michael Snyder  <msnyder@redhat.com>

* infptrace.c (GDB_MAX_ALLOCA): New define.
(child_xfer_memory): Use xmalloc/xfree instead of alloca if the
size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
can be overridden with whatever value is appropriate to the host).
* infttrace.c (child_xfer_memory): Add FIXME warning about use of
alloca to allocate potentially large buffer.
* rs6000-nat.c (child_xfer_memory): Ditto.
* symm-nat.c (child_xfer_memory): Ditto.
* x86-64-linux-nat.c (child_xfer_memory): Ditto.

22 years ago2002-01-07 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 8 Jan 2002 01:52:08 +0000 (01:52 +0000)]
2002-01-07  Michael Snyder  <msnyder@redhat.com>

* tracepoint.c (tracepoint_save_command): From Klee Deines --
use tilde_expand and strerror for opening save-tracepoints file.

22 years ago2002-01-07 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 8 Jan 2002 01:34:10 +0000 (01:34 +0000)]
2002-01-07  Michael Snyder  <msnyder@redhat.com>

* thread-db.c (thread_db_new_objfile): Indendation fix.

22 years ago2002-01-08 Ben Elliston <bje@redhat.com>
bje [Tue, 8 Jan 2002 01:24:56 +0000 (01:24 +0000)]
2002-01-08  Ben Elliston  <bje@redhat.com>

* lib/monkey.exp (monkey_stop): Delete monkey.conf on success.

22 years ago2002-01-07 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 8 Jan 2002 01:00:06 +0000 (01:00 +0000)]
2002-01-07  Michael Snyder  <msnyder@redhat.com>

* gdb.base/huge.exp: New test.  Print a very large target data object.
(skip_huge_test): New test variable.  Define if you want to skip this
test.  The test reads an 8 megabyte data object from the target, so it
might be very time consuming on remote targets with a slow connection.
* gdb.base/huge.c: New file.  Test case for above.

22 years ago2002-01-07 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 8 Jan 2002 00:59:24 +0000 (00:59 +0000)]
2002-01-07  Michael Snyder  <msnyder@redhat.com>

* infptrace.c (GDB_MAX_ALLOCA): New define.
(child_xfer_memory): Use xmalloc/xfree instead of alloca if the
size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
can be overridden with whatever value is appropriate to the host).
* infttrace.c (child_xfer_memory): Add FIXME warning about use of
alloca to allocate potentially large buffer.
* rs6000-nat.c (child_xfer_memory): Ditto.
* symm-nat.c (child_xfer_memory): Ditto.
* x86-64-linux-nat.c (child_xfer_memory): Ditto.

22 years ago* bfd/coff-rs6000.c (READ20): Use bfd_scan_vma.
aldyh [Tue, 8 Jan 2002 00:28:36 +0000 (00:28 +0000)]
* bfd/coff-rs6000.c (READ20): Use bfd_scan_vma.

22 years ago*** empty log message ***
gdbadmin [Tue, 8 Jan 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Mon, 7 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago* sigproc.cc (getsem): Clean up debugging output.
cgf [Mon, 7 Jan 2002 22:18:35 +0000 (22:18 +0000)]
* sigproc.cc (getsem): Clean up debugging output.

22 years agoApproved by med@shout.net:
fnf [Mon, 7 Jan 2002 21:23:35 +0000 (21:23 +0000)]
Approved by med@shout.net:

2002-01-07  Fred Fish  <fnf@redhat.com>
* gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
g_instance.bfoo, and g_instance.cfoo.

22 years ago2002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
jsmith [Mon, 7 Jan 2002 20:43:45 +0000 (20:43 +0000)]
2002-01-07  Jackie Smith Cashion  <jsmith@redhat.com>

From Nick Clifton  <nickc@redhat.com>
* d10v-tdep.c: Set STACK_START to 0x200bffe.

22 years ago2002-01-07 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 7 Jan 2002 19:45:12 +0000 (19:45 +0000)]
2002-01-07  Michael Snyder  <msnyder@redhat.com>

* solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
Don't use exec_bfd if it's NULL.

22 years ago2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 7 Jan 2002 19:44:59 +0000 (19:44 +0000)]
2002-01-07  Jeff Johnston  <jjohnstn@redhat.com>

        * Change reference to Cygnus Solutions to be Red Hat.

22 years ago2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 7 Jan 2002 19:40:40 +0000 (19:40 +0000)]
2002-01-07  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update generic copyright date.

22 years ago2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 7 Jan 2002 19:37:40 +0000 (19:37 +0000)]
2002-01-07 Jeff Johnston  <jjohnstn@redhat.com>

        * MAINTAINERS: Change e-mail addresses to refer to redhat domain.

22 years ago2002-01-07 Alan Matsuoka <alanm@redhat.com>
jjohnstn [Mon, 7 Jan 2002 19:33:22 +0000 (19:33 +0000)]
2002-01-07 Alan Matsuoka <alanm@redhat.com>

        * libc/include/machine/ieeefp.h: Configure d10v doubles to
        be 32 bits if __DOUBLE__ == 32  otherwise doubles are 64 bits.
        libc/include/sys/config.h: Ditto.

22 years ago * gdb.base/break.c (multi_line_if_conditional): New function.
law [Mon, 7 Jan 2002 19:21:26 +0000 (19:21 +0000)]
    * gdb.base/break.c (multi_line_if_conditional): New function.
        (multi_ilne_while_conditional): Likewise.
        * gdb.base/break.exp: Verify that a breakpoint on a multi-line
        IF or WHILE condition puts the breakpoint at the start of
        the condition.

22 years ago * gdb.base/selftest.exp (backtrace through signal handler): Remove
law [Mon, 7 Jan 2002 19:20:08 +0000 (19:20 +0000)]
* gdb.base/selftest.exp (backtrace through signal handler): Remove
hppa*-*-hpux* expected failure.
* gdb.base/structs.exp (do_function_calls): Similarly.

* gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
watchpoints.

22 years agoARM support added to libgloss
msalter [Mon, 7 Jan 2002 18:14:04 +0000 (18:14 +0000)]
ARM support added to libgloss

22 years agoAdd ARM support
msalter [Mon, 7 Jan 2002 18:12:30 +0000 (18:12 +0000)]
Add ARM support

22 years ago * elflink.h (elf_link_input_bfd): Don't ask for the merged offset
geoffk [Mon, 7 Jan 2002 17:55:36 +0000 (17:55 +0000)]
* elflink.h (elf_link_input_bfd): Don't ask for the merged offset
of a symbol in a section that will be deleted.

22 years agodo not allow size or nbytes to go negative.
nickc [Mon, 7 Jan 2002 17:51:17 +0000 (17:51 +0000)]
do not allow size or nbytes to go negative.

22 years agoAdd spanish translation files
nickc [Mon, 7 Jan 2002 17:37:39 +0000 (17:37 +0000)]
Add spanish translation files

22 years agoNote that --emit-relocs is currently only implemented for ELF.
nickc [Mon, 7 Jan 2002 17:32:41 +0000 (17:32 +0000)]
Note that --emit-relocs is currently only implemented for ELF.