OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
21 years ago* armnbsd-tdep.c (ARM_NBSD_JB_PC): Renamed from JB_PC.
rearnsha [Tue, 17 Dec 2002 22:11:29 +0000 (22:11 +0000)]
* armnbsd-tdep.c (ARM_NBSD_JB_PC): Renamed from JB_PC.
All uses changed
(ARM_NBSD_JB_ELELMENT_SIZE): Similarly.

21 years ago * Makefile.tpl (all-gcc): Use 'make quickstrap' if there was a
jason [Tue, 17 Dec 2002 20:38:04 +0000 (20:38 +0000)]
    * Makefile.tpl (all-gcc): Use 'make quickstrap' if there was a
        previous 'make bootstrap'.
        * Makefile.in: Regenerate.

21 years ago2002-12-17 Martin M. Hunt <hunt@redhat.com>
hunt [Tue, 17 Dec 2002 20:29:11 +0000 (20:29 +0000)]
2002-12-17  Martin M. Hunt  <hunt@redhat.com>

* library/regwin.itb (_load_prefs): Get list of registers from
the group name.
(_build_win): Remove old menu system.  Replace with an optionmenu
that contains all the valid group names for this architecture.
(_layout_table): No need to update old menu.
(_but3): Add "Close" to popup menu.
(_delete_from_display): No need to update old menu.
(_display_all): Ditto.
(_post_menu): Deleted.
(_select_group): New method. Callback for group optionmenu.

* library/regwin.ith: New private variable _group.
New private method _select_group.  Removed _post_menu.

* generic/gdbtk-register.c: Include reggroups.h.
(gdb_register_info): Add "group" and "grouplist".
(gdb_regformat): Fix Tcl_WrongNumArgs call so it doesn't crash.
(gdb_reggrouplist): New function. Returns the names of the
register groups.
(gdb_reggroup): New function. Returns the register numbers of the
registers in a group.

21 years ago2002-12-17 David Carlton <carlton@math.stanford.edu>
carlton [Tue, 17 Dec 2002 18:34:05 +0000 (18:34 +0000)]
2002-12-17  David Carlton  <carlton@math.stanford.edu>

* symtab.c (lookup_partial_symbol): Don't search past the end of
the partial symbols.

21 years ago2002-12-17 Andrew Cagney <ac131313@redhat.com>
cagney [Tue, 17 Dec 2002 17:27:43 +0000 (17:27 +0000)]
2002-12-17  Andrew Cagney  <ac131313@redhat.com>

* stack.c (frame_info): Use get_frame_saved_regs.
* breakpoint.c (until_break_command): Use get_frame_pc.

21 years agoDon't search for data import when auto-import is disabled.
nickc [Tue, 17 Dec 2002 12:16:37 +0000 (12:16 +0000)]
Don't search for data import when auto-import is disabled.

21 years agoDuplicate --keep-locals entry in order to prevent it being confused with -k.
nickc [Tue, 17 Dec 2002 12:02:41 +0000 (12:02 +0000)]
Duplicate --keep-locals entry in order to prevent it being confused with -k.

21 years agoUse LD_PATHMAX+1 to account for trailing '\0'.
nickc [Tue, 17 Dec 2002 11:01:23 +0000 (11:01 +0000)]
Use LD_PATHMAX+1 to account for trailing '\0'.

21 years agoDuplicate entry for --compact-implib so that it is not confused with -c.
nickc [Tue, 17 Dec 2002 10:03:50 +0000 (10:03 +0000)]
Duplicate entry for --compact-implib so that it is not confused with -c.

21 years ago2002-12-16 Chris Demetriou <cgd@broadcom.com>
cgd [Tue, 17 Dec 2002 07:27:53 +0000 (07:27 +0000)]
2002-12-16  Chris Demetriou  <cgd@broadcom.com>

        * tconfig.in: Include "gdb/callback.h" and "gdb/remote-sim.h".

21 years ago* xstormy16-asm.c (parse_immediate16): Add prototype.
dj [Tue, 17 Dec 2002 04:48:38 +0000 (04:48 +0000)]
* xstormy16-asm.c (parse_immediate16): Add prototype.

21 years ago* cpu/xstormy16.opc (parse_immediate16): Add prototype.
dj [Tue, 17 Dec 2002 04:48:25 +0000 (04:48 +0000)]
* cpu/xstormy16.opc (parse_immediate16): Add prototype.

21 years ago * configure.in (noconfigdirs) [mmix-*-*]: Disable libgloss and gdb.
hp [Tue, 17 Dec 2002 04:31:03 +0000 (04:31 +0000)]
* configure.in (noconfigdirs) [mmix-*-*]: Disable libgloss and gdb.

21 years ago * configure.host (ia64-*-hpux*): Support 64 bit targets using
amodra [Tue, 17 Dec 2002 04:17:20 +0000 (04:17 +0000)]
* configure.host (ia64-*-hpux*): Support 64 bit targets using
the HP compiler's "long long".

21 years ago* xstormy16-asm.c: Regenerate.
dj [Tue, 17 Dec 2002 03:57:49 +0000 (03:57 +0000)]
* xstormy16-asm.c: Regenerate.

21 years ago* xstormy16.h (START_RELOC_NUMBERS) Add relocation numbers
dj [Tue, 17 Dec 2002 03:57:00 +0000 (03:57 +0000)]
* xstormy16.h (START_RELOC_NUMBERS) Add relocation numbers
for R_XSTORMY16_LO16 and R_XSTORMY16_HI16.

21 years ago* config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation
dj [Tue, 17 Dec 2002 03:55:46 +0000 (03:55 +0000)]
* config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation
has already been set up, use it.

21 years ago* cpu/xstormy16.cpu (imm16): Call handler immediate16.
dj [Tue, 17 Dec 2002 03:54:40 +0000 (03:54 +0000)]
* cpu/xstormy16.cpu (imm16): Call handler immediate16.
* cpu/xstormy16.opc (parse_small_immediate): Return on '@'.
(parse_immediate16): Handle immediate16 values, which now include
@hi(label) and @lo(label)

21 years ago* elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_LO16
dj [Tue, 17 Dec 2002 03:54:14 +0000 (03:54 +0000)]
* elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_LO16
and R_XSTORMY16_HI16) howto entries.
(xstormy16_reloc_map): Map R_XSTORMY16_{LO,HI}16 to BFD_RELOC_{LO,HI}16.
(xstormy16_info_to_howto_rela): Use R_XSTORMY16_GNU_VTINHERIT to
determine the start of the second reloc table.

21 years ago* fhandler_termios.cc (fhandler_termios::line_edit): Return line_edit_error and
cgf [Tue, 17 Dec 2002 03:49:34 +0000 (03:49 +0000)]
* fhandler_termios.cc (fhandler_termios::line_edit): Return line_edit_error and
remove last char from readahead buffer if accept_input() fails.
* fhandler_tty.cc (fhandler_pty_master::accept_input): Return 0 and restore
readahead buffer when tty slave pipe is full.

21 years agoRevert debugging change
cgf [Tue, 17 Dec 2002 02:52:57 +0000 (02:52 +0000)]
Revert debugging change

21 years ago* configure.in: Remove --enable-shared option. It shouldn't be used for gdb.
cgf [Tue, 17 Dec 2002 02:52:32 +0000 (02:52 +0000)]
* configure.in: Remove --enable-shared option.  It shouldn't be used for gdb.
* configure: Regenerate.

21 years ago* mh-cygwin: Don't build libtermcap if it doesn't exist.
cgf [Tue, 17 Dec 2002 01:55:28 +0000 (01:55 +0000)]
* mh-cygwin: Don't build libtermcap if it doesn't exist.

21 years ago* config/cygwin.cache: Prime mbstate_t.
cgf [Tue, 17 Dec 2002 01:52:14 +0000 (01:52 +0000)]
* config/cygwin.cache: Prime mbstate_t.

21 years ago * ChangeLog-9295: Fix a typo.
kazu [Tue, 17 Dec 2002 01:13:54 +0000 (01:13 +0000)]
* ChangeLog-9295: Fix a typo.
* README: Likewise.
* config/tc-d10v.c: Fix a comment typo.
* config/tc-dlx.c: Likewise.
* config/tc-h8300.h: Likewise.
* config/tc-h8500.h: Likewise.
* config/tc-mips.c: Likewise.
* config/tc-s390.c: Likewise.
* config/tc-sh.h: Likewise.
* config/tc-tic80.h: Likewise.
* config/tc-w65.h: Likewise.
* config/tc-z8k.c: Likewise.
* config/tc-z8k.h: Likewise.
* testsuite/gas/h8300/cmpsi2.s: Likewise.

21 years agoReplace complain() with complaint().
kevinb [Tue, 17 Dec 2002 00:39:06 +0000 (00:39 +0000)]
Replace complain() with complaint().

21 years ago*** empty log message ***
gdbadmin [Tue, 17 Dec 2002 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Mon, 16 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
jjohnstn [Mon, 16 Dec 2002 22:35:31 +0000 (22:35 +0000)]
2002-12-16  Kazu Hirata  <kazu@cs.umass.edu>

        * libc/include/sys/config.h: Change setting of INT_MAX
        and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
        __H8300S__.  Also consolidate flag settings for these
        platforms.

21 years ago2002-12-16 Andrew Cagney <ac131313@redhat.com>
cagney [Mon, 16 Dec 2002 20:38:55 +0000 (20:38 +0000)]
2002-12-16  Andrew Cagney  <ac131313@redhat.com>

* config/arc/arc.mt, config/arc/tm-arc.h: Delete.
* config/d30v/d30v.mt, config/d30v/tm-d30v.h: Delete.
* config/fr30/fr30.mt, config/fr30/tm-fr30.h: Delete.
* config/i386/i386aix.mh, config/i386/i386aix.mt: Delete.
* config/i386/i386m3.mh, config/i386/i386m3.mt: Delete.
* config/i386/i386mach.mh, config/i386/i386os9k.mt: Delete.
* config/i386/nm-i386aix.h, config/i386/nm-i386mach.h: Delete.
* config/i386/nm-m3.h, config/i386/tm-i386aix.h: Delete.
* config/i386/tm-i386m3.h, config/i386/tm-i386mk.h: Delete.
* config/i386/xm-i386aix.h, config/i386/xm-i386m3.h: Delete.
* config/i386/xm-i386mach.h, config/i386/xm-i386mk.h: Delete.
* config/i960/mon960.mt, config/i960/nindy960.mt: Delete.
* config/i960/tm-i960.h, config/i960/tm-mon960.h: Delete.
* config/i960/tm-nindy960.h, config/i960/tm-vx960.h: Delete.
* config/i960/vxworks960.mt, config/m68k/apollo68b.mh: Delete.
* config/m68k/apollo68b.mt, config/m68k/apollo68v.mh: Delete.
* config/m68k/hp300bsd.mh, config/m68k/hp300bsd.mt: Delete.
* config/m68k/hp300hpux.mh, config/m68k/hp300hpux.mt: Delete.
* config/m88k/delta88.mh, config/m88k/delta88.mt: Delete.
* config/m88k/delta88v4.mh, config/m88k/delta88v4.mt: Delete.
* config/m88k/m88k.mh, config/m88k/m88k.mt: Delete.
* config/m88k/nm-delta88v4.h, config/m88k/nm-m88k.h: Delete.
* config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h: Delete.
* config/m88k/tm-m88k.h, config/m88k/xm-delta88.h: Delete.
* config/m88k/xm-dgux.h: Delete.
* fr30-tdep.c, i386aix-nat.c, i386m3-nat.c: Delete.
* i386mach-nat.c, i960-tdep.c, m88k-nat.c: Delete.
* os9kread.c, remote-bug.c, remote-nindy.c: Delete.
* remote-nrom.c, remote-os9k.c, remote-vx960.c: Delete.
* d30v-tdep.c, arc-tdep.c, cxux-nat.c, dst.h, dstread.c: Delete.
* ch-exp.c, ch-lang.c, ch-lang.h, ch-typeprint.c: Delete.
* ch-valprint.c: Delete.

21 years ago2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 16 Dec 2002 20:03:17 +0000 (20:03 +0000)]
2002-12-16  Jeff Johnston  <jjohnstn@redhat.com>

        * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
        to see whether we are using the new -environment-directory
        command which resets via -r or the old version of the command
        which may prompt the user.  Part of fix for gdb/741.

21 years ago2002-11-23 H.J. Lu <hjl@gnu.org>
hjl [Mon, 16 Dec 2002 19:58:05 +0000 (19:58 +0000)]
2002-11-23  H.J. Lu <hjl@gnu.org>

* accross.m4: New.

21 years agoRemove obsolete testsuite code.
cagney [Mon, 16 Dec 2002 19:33:46 +0000 (19:33 +0000)]
Remove obsolete testsuite code.

21 years ago* pinfo.cc (_pinfo::cmdline): Allocate sufficient space for myself command line
cgf [Mon, 16 Dec 2002 18:56:33 +0000 (18:56 +0000)]
* pinfo.cc (_pinfo::cmdline): Allocate sufficient space for myself command line
args.

21 years agoAdd support to skip import libraries for performance reasons and instead
nickc [Mon, 16 Dec 2002 18:02:12 +0000 (18:02 +0000)]
Add support to skip import libraries for performance reasons and instead
use the direct auto-import of dll's

21 years ago * hppa-hpux-tdep.c: New file.
brobecke [Mon, 16 Dec 2002 16:51:45 +0000 (16:51 +0000)]
    * hppa-hpux-tdep.c: New file.
        * hppa-tdep.c (hppa_gdbarch_init): call the registered osabi-
        specific initialization routines.
        * Makefile.in (ALLDEPFILES): Add hppa-hpux-tdep.c.
        (hppa-hpux-tdep.o): Add rule.
        * config/pa/hppahpux.mt (TDEPFILES): Add hppa-hpux-tdep.o.
        * config/pa/hppa64.mt (TDEPFILES): Likewise.

21 years agoFix the reading of the debugging information of Tru64/Alpha binaries that
nickc [Mon, 16 Dec 2002 16:25:06 +0000 (16:25 +0000)]
Fix the reading of the debugging information of Tru64/Alpha binaries that
are produced by recent Compaq compilers.

21 years ago * config/tc-d30v.c (check_range): Warning fixes, formatting.
amodra [Mon, 16 Dec 2002 09:57:48 +0000 (09:57 +0000)]
* config/tc-d30v.c (check_range): Warning fixes, formatting.
Simplify sign extension.  Remove redundant unsigned < 0 test.
* config/tc-i960.c (md_ri_to_chars): Prototype.
* config/tc-mcore.c (md_pseudo_table): Fix typo.
(dump_literals): Init brarsym, and test later instead of isforce.

21 years ago * hppa.h (completer_chars): #if 0 out.
amodra [Mon, 16 Dec 2002 09:57:03 +0000 (09:57 +0000)]
* hppa.h (completer_chars): #if 0 out.

21 years ago * config/tc-ns32k.c (encode_operand): Constify operandsP and suffixP.
amodra [Mon, 16 Dec 2002 09:54:38 +0000 (09:54 +0000)]
* config/tc-ns32k.c (encode_operand): Constify operandsP and suffixP.
(parse): Constify line and lineptr.
(md_begin): Calculate endop here.

21 years ago * ns32k-dis.c (print_insn_ns32k): Constify "d", remove register
amodra [Mon, 16 Dec 2002 09:54:12 +0000 (09:54 +0000)]
* ns32k-dis.c (print_insn_ns32k): Constify "d", remove register
keyword.

21 years ago * ns32k.h (struct ns32k_opcode): Constify "name", "operands" and
amodra [Mon, 16 Dec 2002 09:53:47 +0000 (09:53 +0000)]
* ns32k.h (struct ns32k_opcode): Constify "name", "operands" and
"default_args".
(struct not_wot): Constify "args".
(struct not): Constify "name".
(numopcodes): Delete.
(endop): Delete.

21 years ago*** empty log message ***
gdbadmin [Mon, 16 Dec 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sun, 15 Dec 2002 23:35:50 +0000 (23:35 +0000)]
daily update

21 years ago * include/windows.h: Guard inclusion of wingdi.h,
dannysmith [Sun, 15 Dec 2002 20:55:35 +0000 (20:55 +0000)]
* include/windows.h: Guard inclusion of wingdi.h,
commdlg.h, winspool.h, ole2.h with NOGDI.
  * include/winuser.h (ICONMETRICS, NONCLIENTMETRICS,
ChangeDisplaySettings, CreateDesktop, EnumDisplaySettings):
Guard with NOGDI.

21 years ago * infrun.c (handle_inferior_event): Rearrange code to resume if
drow [Sun, 15 Dec 2002 20:38:52 +0000 (20:38 +0000)]
* infrun.c (handle_inferior_event): Rearrange code to resume if
no catchpoint triggers for an event.

21 years ago * infrun.c (handle_inferior_event): Merge TARGET_WAITKIND_FORKED
drow [Sun, 15 Dec 2002 20:15:55 +0000 (20:15 +0000)]
* infrun.c (handle_inferior_event): Merge TARGET_WAITKIND_FORKED
and TARGET_WAITKIND_VFORKED cases.

21 years ago * infrun.c (handle_inferior_event): Assume that catchpoints
drow [Sun, 15 Dec 2002 20:08:02 +0000 (20:08 +0000)]
* infrun.c (handle_inferior_event): Assume that catchpoints
are not affected by DECR_PC_AFTER_BREAK.

21 years ago * target.c (update_current_target): Don't inherit DONT_USE.
drow [Sun, 15 Dec 2002 19:00:33 +0000 (19:00 +0000)]
* target.c (update_current_target): Don't inherit DONT_USE.
* target.h (struct target_ops): Remove DONT_USE.
(target_next): Remove macro.

21 years ago* ui-out.c (MAX_UI_OUT_LEVELS): Raise to 6. Fixes PR cli/654.
kettenis [Sun, 15 Dec 2002 16:05:37 +0000 (16:05 +0000)]
* ui-out.c (MAX_UI_OUT_LEVELS): Raise to 6.  Fixes PR cli/654.

21 years ago * setfacl.c (main): Place a single : after other and mask.
corinna [Sun, 15 Dec 2002 10:09:35 +0000 (10:09 +0000)]
* setfacl.c (main): Place a single : after other and mask.
* getfacl.c (getaclentry): Allow both : and :: for other and mask.
(main): Remove extraneous break.

21 years ago*** empty log message ***
gdbadmin [Sun, 15 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sat, 14 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago * doc/binutils.texi: Add missing parenthesis.
danglin [Sat, 14 Dec 2002 21:17:40 +0000 (21:17 +0000)]
* doc/binutils.texi: Add missing parenthesis.

21 years ago* fhandler_termios.cc (fhandler_termios::line_edit): Call accept_input() in
cgf [Sat, 14 Dec 2002 19:40:41 +0000 (19:40 +0000)]
* fhandler_termios.cc (fhandler_termios::line_edit): Call accept_input() in
character processing loop.  Set return value independently of input_done.

21 years ago* fhandler.cc (fhandler_base::read): Signal event, if necessary, and raw_read
cgf [Sat, 14 Dec 2002 19:11:42 +0000 (19:11 +0000)]
* fhandler.cc (fhandler_base::read): Signal event, if necessary, and raw_read
hasn't done so.

21 years ago* fhandler.cc (fhandler_base::raw_read): Reset priorities to minimize window
cgf [Sat, 14 Dec 2002 18:01:08 +0000 (18:01 +0000)]
* fhandler.cc (fhandler_base::raw_read): Reset priorities to minimize window
where thread termination may cause data loss.
(fhandler_base::read): Always return at end of function.  Just set len to
copied_chars when len is zero.  Return immediately after raw_read if len <= 0.
Remove in_len setting and just check end instead.  Fix CRLF handling at end of
buffer.

21 years ago2002-12-14 Corinna Vinschen <corinna@vinschen.de>
corinna [Sat, 14 Dec 2002 17:23:41 +0000 (17:23 +0000)]
2002-12-14  Corinna Vinschen  <corinna@vinschen.de>

* dcrt0.cc (dll_crt0_1): Call well known SID initializer function.
* security.h (cygsid::init): Declare new static method.
* sec_helper.cc (cygsid::init): New method for initializing well
known SIDs.

2002-12-14  Pierre Humblet  <pierre.humblet@ieee.org>

* security.h: Declare well_known_creator_group_sid.
* sec_helper.cc: Define and initialize well_known_creator_group_sid.

21 years ago * netdb.cc: Remove strtok_r comment.
corinna [Sat, 14 Dec 2002 16:59:59 +0000 (16:59 +0000)]
* netdb.cc: Remove strtok_r comment.

21 years ago * security.cc (get_user_local_groups): Use LookupAccountSid to find the
corinna [Sat, 14 Dec 2002 16:57:25 +0000 (16:57 +0000)]
* security.cc (get_user_local_groups): Use LookupAccountSid to find the
local equivalent of BUILTIN.

21 years ago* arm-tdep.c (convert_from_extended): New argument to hold the
rearnsha [Sat, 14 Dec 2002 10:42:04 +0000 (10:42 +0000)]
* arm-tdep.c (convert_from_extended): New argument to hold the
type of floating point result we want to convert to.  Make input
argument const.  Fix all callers.
(convert_to_extended): Similarly.
(arm_extract_return_value): Now takes a regcache argument.  Change
code to use regcache accessor functions.  Correctly extract
smaller-than-word results on big-endian machines.
(arm_store_return_value): Now takes a regcache argument.  Change
code to use regcache accessor functions.  Correctly zero/sign extend
smaller than word results before storing into r0.
(arm_gdbarch_init): Register new-style extract_return_value and
store_return_value functions.

21 years ago * Makefile.tpl (check-gcc-c++): Renamed from check-c++. Don't run
jason [Sat, 14 Dec 2002 08:35:48 +0000 (08:35 +0000)]
    * Makefile.tpl (check-gcc-c++): Renamed from check-c++.  Don't run
        library tests.
        (check-c++): Just depend on it and check-target-libstdc++-v3.
        * Makefile.in: Regenerate.

21 years ago* pipe.cc (make_pipe): Set fork fixup flag for read pipe.
cgf [Sat, 14 Dec 2002 05:44:06 +0000 (05:44 +0000)]
* pipe.cc (make_pipe): Set fork fixup flag for read pipe.

21 years agoadd FIXME
cgf [Sat, 14 Dec 2002 05:10:18 +0000 (05:10 +0000)]
add FIXME

21 years ago* winbase.h: Turn on inline versions of Interlocked* by default.
cgf [Sat, 14 Dec 2002 05:06:59 +0000 (05:06 +0000)]
* winbase.h: Turn on inline versions of Interlocked* by default.
* winbase.h: Fixup inline asm functions.  Add ilockcmpexch.

21 years agoThroughout, change fhandler_*::read and fhandler_*::raw_read to void functions
cgf [Sat, 14 Dec 2002 04:01:31 +0000 (04:01 +0000)]
Throughout, change fhandler_*::read and fhandler_*::raw_read to void functions
whose second arguments are both the lenght and the return value.
* fhandler.cc (fhandler_base::read): Rework slightly to use second argument as
input/output.  Tweak CRLF stuff.
(fhandler_base::readv): Accommodate fhandler_*::read changes.
* cygthread.h (cygthread::detach): Declare as taking optional handle argument.
(cygthread::detach): When given a handle argument, wait for the handle to be
signalled before waiting for thread to detach.  Return true when signal
detected.

21 years ago*** empty log message ***
gdbadmin [Sat, 14 Dec 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-12-13 Michael Snyder <msnyder@to-limbo.toronto.redhat.com>
msnyder [Fri, 13 Dec 2002 23:28:28 +0000 (23:28 +0000)]
2002-12-13  Michael Snyder  <msnyder@to-limbo.toronto.redhat.com>

* thread-db.c (thread_from_lwp): Uniquify error msg.
(lwp_from_thread): Ditto.
(check_event): Ditto.
(find_new_threads_callback): Ditto.
(thread_db_pid_to_str): Ditto.

21 years ago2002-12-13 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 13 Dec 2002 23:18:55 +0000 (23:18 +0000)]
2002-12-13  Andrew Cagney  <ac131313@redhat.com>

* frame.h (get_frame_saved_regs): Declare.
(frame_saved_regs_zalloc): Change return type to CORE_ADDR
pointer.
* frame.c (get_frame_saved_regs): New function.
(frame_saved_regs_zalloc): Return the allocated saved_regs.

21 years agodaily update
amodra [Fri, 13 Dec 2002 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago2002-12-13 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Fri, 13 Dec 2002 22:59:14 +0000 (22:59 +0000)]
2002-12-13  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in, Makefile.tpl, Makefile.def: Remove tclX.
* Makefile.in: Regenerate.

21 years ago2002-12-13 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 13 Dec 2002 21:57:39 +0000 (21:57 +0000)]
2002-12-13  Andrew Cagney  <ac131313@redhat.com>

* frame.c (deprecated_update_current_frame_pc_hack): New
function.
* frame.h (deprecated_update_current_frame_pc_hack): Declare.
* infrun.c (normal_stop): Use said function instead of directly
modifying the frame's PC.

21 years ago* frame.h (frame_id_unwind_ftype): Fix typo in return type.
aoliva [Fri, 13 Dec 2002 20:21:29 +0000 (20:21 +0000)]
* frame.h (frame_id_unwind_ftype): Fix typo in return type.

21 years agoMultiarch NUM_REGS for MIPS.
kevinb [Fri, 13 Dec 2002 18:09:30 +0000 (18:09 +0000)]
Multiarch NUM_REGS for MIPS.

21 years ago2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 13 Dec 2002 17:57:38 +0000 (17:57 +0000)]
2002-12-13  Jeff Johnston  <jjohnstn@redhat.com>

        * mi-basics.exp: Change tests for -environment-directory.  Also add
        tests for -environment-cd, -environment-pwd, and -environment-path.
        Part of fix for PR gdb/741.

21 years ago2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 13 Dec 2002 17:55:49 +0000 (17:55 +0000)]
2002-12-13  Jeff Johnston  <jjohnstn@redhat.com>

        * defs.h (init_last_source_visited): New prototype.
        (add_path): Ditto.
        * source.c (add_path): New function that adds to a specified path.
        (mod_path): Change to call add_path.
        (init_last_source_visited): New function to allow interfaces to
        initialize static variable: last_source_visited.  Part of fix
        for PR gdb/741.
        * Makefile.in: Add support for mi/mi-cmd-env.c.

21 years ago2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 13 Dec 2002 17:00:22 +0000 (17:00 +0000)]
2002-12-13  Jeff Johnston  <jjohnstn@redhat.com>

        * mi-cmds.c (-environment-directory) Change to use mi_cmd_env_dir,
        (-environment-cd): Change to use mi_cmd_env_cd,.
        (-environment-pwd): Change to use mi_cmd_env_pwd.
        (-environment-path): Change to use mi_cmd_env_path.
        * mi-cmds.h (mi_cmd_env_cd, mi_cmd_env_dir): New prototypes.
        (mi_cmd_env_path, mi_cmd_env_pwd): Ditto.
        * mi-cmd-env.c: New file.  Part of fix for PR gdb/741.
        * gdbmi.texinfo (environment-cd): Update output and example.
        (environment-pwd): Ditto.
        (environment-dir): Update output, description, and examples.
        (environment-path): Ditto.

21 years ago2002-12-13 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 13 Dec 2002 16:40:25 +0000 (16:40 +0000)]
2002-12-13  Andrew Cagney  <ac131313@redhat.com>

* frame.h (frame_id_unwind): Declare.
(struct frame_info): Add fields id_unwind, id_unwind_cache_p and
id_unwind_cache.
(frame_id_unwind_ftype): Declare.
* frame.c (frame_id_unwind): New function.
(set_unwind_by_pc): Add unwind_id parameter.  Initialized.
(create_new_frame, get_prev_frame): Pass id_unwind to
set_unwind_by_pc.
(frame_saved_regs_id_unwind): New function.
(frame_saved_regs_id_unwind): New function.
* dummy-frame.c (dummy_frame_id_unwind): New function.
(struct dummy_frame): Add field id.
(generic_push_dummy_frame): Initialize `id'.
* dummy-frame.h (dummy_frame_id_unwind): Declare.

21 years ago2002-12-13 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 13 Dec 2002 16:26:01 +0000 (16:26 +0000)]
2002-12-13  Andrew Cagney  <ac131313@redhat.com>

* infcmd.c (run_stack_dummy): Create a frame ID directly and then
pass that to set_momentary_breakpoint.  Move comments to where they
belong.
* frame.h (set_current_frame): Delete declaration.
* frame.c (set_current_frame): Delete function.

21 years ago2002-12-13 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 13 Dec 2002 16:11:31 +0000 (16:11 +0000)]
2002-12-13  Andrew Cagney  <ac131313@redhat.com>

* frame.c (frame_extra_info_zalloc): New function.
* frame.h (frame_extra_info_zalloc): Declare.

21 years ago * hppa-tdep.c (hppa_pop_frame): Fix a compilation error introduced
brobecke [Fri, 13 Dec 2002 14:37:41 +0000 (14:37 +0000)]
   * hppa-tdep.c (hppa_pop_frame): Fix a compilation error introduced
       in the previous prototype change to set_momentary_breakpoint.

21 years agoAdded --prefix-symbols <prefix> option to rename all symbols by adding the
nickc [Fri, 13 Dec 2002 13:19:43 +0000 (13:19 +0000)]
Added --prefix-symbols <prefix> option to rename all symbols by adding the
given prefix to the begining of the symbol name. This is useful to provide
name space seperation regardless of how the object file was created. Added
--prefix-sections <prefix> and --prefix-alloc-sections <prefix> options to
rename all sections (or all sections with the alloc flag set) by adding the
given prefix to the begining of the symbol name.

21 years ago2002-12-12 Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>
dannysmith [Fri, 13 Dec 2002 01:18:54 +0000 (01:18 +0000)]
2002-12-12  Dimitri Papadopoulos  <dimitri_at@sourceforge.users.net>

* include/oleacc.h (SELFLAG_*): Change to enum.

21 years ago2002-12-12 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 13 Dec 2002 00:36:41 +0000 (00:36 +0000)]
2002-12-12  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update list of alternate Regent of California
        licenses and discuss official revoking of advertising clause.
        * COPYING.LIBGLOSS: Ditto.

21 years ago * config/obj-vms.c: Formatting. Include fnctl.h.
amodra [Fri, 13 Dec 2002 00:01:45 +0000 (00:01 +0000)]
* config/obj-vms.c: Formatting.  Include fnctl.h.
(Create_VMS_Object_File): Fix creat call for sane unix systems.
(Object_Record_Offset): Make it a size_t.
(Flush_VMS_Object_Record_Buffer): Fix signed/unsigned warning.
(VMS_TBT_Routine_End <Size>): Make var unsigned long.
(VMS_Fix_Indirect_Reference <Offset>): Make arg addressT.
(synthesize_data_segment <data_size>): Remove ATTRIBUTE_UNUSED.
(vms_fixup_data_section <data_size>): Add here instead.
* config/e-criself.c: Fix typo in last change.

21 years ago*** empty log message ***
gdbadmin [Fri, 13 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * config/e-criself.c: Fix typo in last change.
amodra [Thu, 12 Dec 2002 23:12:33 +0000 (23:12 +0000)]
* config/e-criself.c: Fix typo in last change.

21 years agodaily update
amodra [Thu, 12 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * pj-opc.c (pj_opc_info): Add braces around union initializer.
amodra [Thu, 12 Dec 2002 22:56:40 +0000 (22:56 +0000)]
* pj-opc.c (pj_opc_info): Add braces around union initializer.

21 years ago * write.c (write_object_file): Fix signed/unsigned warning.
amodra [Thu, 12 Dec 2002 22:46:44 +0000 (22:46 +0000)]
* write.c (write_object_file): Fix signed/unsigned warning.
* config/e-crisaout.c (crisaout_bfd_name): Prototype.
* config/e-criself.c (criself_bfd_name): Prototype.
* config/obj-aout.c (s_sect): Remove unused function.
* config/obj-bout.c (obj_bout_line <ignore>): Add ATTRIBUTE_UNUSED.
* config/obj-coff.c (coff_last_bf): Don't declare for OBJ_XCOFF.
(fixup_mdeps <h>): Add ATTRIBUTE_UNUSED.
* config/obj-ecoff.c (ecoff_frob_file <addr>): Likewise.
* config/obj-vms.c (setup_basic_type <spnt>): Likewise.
(VMS_RSYM_Parse <Current_Routine>): Likewise.
(vms_fixup_text_section <text_siz>): Likewise.
(synthesize_data_segment <data_size>): Likewise.
(vms_fixup_xtors_section <sect_no>): Likewise.
(structure_count): Don't use implicit int type.

21 years ago * config/tc-a29k.c (insert_sreg): Prototype.
amodra [Thu, 12 Dec 2002 22:43:44 +0000 (22:43 +0000)]
* config/tc-a29k.c (insert_sreg): Prototype.
(define_some_regs): Prototype, make static.
(parse_operand): Likewise.
(md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
(md_show_usage <stream>): Likewise.
(md_section_align <segment>): Likewise.
(md_convert_frag <all args>): Likewise.
(md_estimate_size_before_relax <all args>): Likewise.
(md_apply_fix3): Don't cast valP pointer type.  Fix bogus >>='s.
* config/tc-arm.c (arm_validate_fix): Only for OBJ_COFF or OBJ_ELF.

21 years ago * config/tc-d30v.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
amodra [Thu, 12 Dec 2002 22:41:24 +0000 (22:41 +0000)]
* config/tc-d30v.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
(md_undefined_symbol <name>): Likewise.
(md_convert_frag <all args>): Likewise.
(write_long <opcode>): Likewise.
(tc_gen_reloc <seg>): Likewise.
(md_estimate_size_before_relax <all args>): Likewise.
(md_apply_fix3 <seg>): Likewise.
(s_d30v_align <ignore>): Likewise.
(build_insn): Correct format string.
(md_apply_fix3): Likewise.

21 years ago * infrun.c (pending_follow): Remove saw_parent_fork, saw_child_fork,
drow [Thu, 12 Dec 2002 22:41:19 +0000 (22:41 +0000)]
* infrun.c (pending_follow): Remove saw_parent_fork, saw_child_fork,
and saw_child_exec.
(follow_fork, init_wait_for_inferior, handle_inferior_event): Remove
references to saw_parent_fork, saw_child_fork, and saw_child_exec.
(stop_stepping): Remove outdated check for child vfork events.

21 years ago * config/tc-fr30.c (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
amodra [Thu, 12 Dec 2002 22:39:39 +0000 (22:39 +0000)]
* config/tc-fr30.c (md_parse_option <c,arg>):  Add ATTRIBUTE_UNUSED.
(md_undefined_symbol <name>): Likewise.
(md_convert_frag <all args>): Likewise.
(md_cgen_lookup_reloc <insn>): Likewise.
(md_begin): Delete unused vars.
(md_assemble): Likewise.
(md_estimate_size_before_relax): Likewise.
(fr30_relax_frag): #if 0 out, seems unused.
(md_atof): Remove declaration of atof_ieee.
(restore_colon): Prototype.

21 years ago * config/tc-frv.c (frv_insert_vliw_insn): Prototype.
amodra [Thu, 12 Dec 2002 22:37:46 +0000 (22:37 +0000)]
* config/tc-frv.c (frv_insert_vliw_insn): Prototype.
(frv_find_in_vliw): Likewise.
(frv_debug_tomcat): Likewise.
(frv_adjust_vliw_count): Likewise.
(frv_tomcat_shuffle): Likewise.
(frv_tomcat_analyze_vliw_chains): Likewise.  Correct args to
frv_find_in_vliw call.
(md_atof): Remove declaration of atof_ieee.

21 years ago * h8500-opc.h (h8500_table): Add missing initializers to quiet
amodra [Thu, 12 Dec 2002 22:34:04 +0000 (22:34 +0000)]
* h8500-opc.h (h8500_table): Add missing initializers to quiet
warnings.

* config/tc-h8500.c (cons): Delete declaration.
(md_begin <opcode>): Constify.
(displacement_size, immediate_size, absolute_size): Remove.
(build_relaxable_instruction <operand>): Add ATTRIBUTE_UNUSED.
(tc_crawl_symbol_chain <headers>): Likewise.
(md_undefined_symbol <name>): Likewise.
(tc_headers_hook <headers>): Likewise.
(md_parse_option <c,arg>): Likewise.
(md_show_usage <stream>): Likewise.
(md_convert_frag <headers, seg>): Likewise.
(tc_coff_symbol_emit_hook <ignore>): Likewise.
(md_atof): Remove declaration of atof_ieee.
(tc_aout_fix_to_chars): Remove unused function.
(parse_reg): Prototype.
(parse_exp): Prototype.
(skip_colonthing): Prototype.  Use &&, not & in logical expressions.
(parse_reglist): Prototype.
(get_operand): Prototype.
(get_operands): Prototype.
(get_specific): Prototype.  Make "this_index" signed.
(check): Prototype, make static.
(insert): Prototype
(build_relaxable_instruction): Prototype, make static.
(build_bytes): Prototype.
(wordify_scb): Prototype.
* config/tc-h8500.h (start_label): Declare.
(tc_coff_sizemachdep): Declare.

21 years ago * config/tc-i370.c (i370_ebcdic <unused>): Add ATTRIBUTE_UNUSED.
amodra [Thu, 12 Dec 2002 22:29:00 +0000 (22:29 +0000)]
* config/tc-i370.c (i370_ebcdic <unused>): Add ATTRIBUTE_UNUSED.
(i370_rmode <unused>): Likewise.
(i370_csect <unused>): Likewise.
(i370_dc <unused>): Likewise.
(i370_ds <unused>): Likewise.
(i370_elf_lcomm <unused>): Likewise.
(i370_ltorg <ignore>): Likewise.
(i370_using <ignore>): Likewise.
(i370_drop <ignore>): Likewise.
(i370_byte <ignore>): Likewise.
(i370_tc <ignore>): Likewise.
(md_estimate_size_before_relax <fragp, seg>): Likewise.
(md_convert_frag <all args>): Likewise.
(md_undefined_symbol <name>): Likewise.
(md_pcrel_from_section <sec>): Likewise.
(tc_gen_reloc <seg>): Likewise.
(i370_section_letter): #if 0 unused functions.
(i370_section_word, i370_section_type, i370_section_flags): Likewise.
(symbol_locate): Prototype.

21 years ago * config/tc-i860.c (md_atof): Remove declaration of atof_ieee.
amodra [Thu, 12 Dec 2002 22:27:07 +0000 (22:27 +0000)]
* config/tc-i860.c (md_atof): Remove declaration of atof_ieee.
(md_number_to_disp, md_number_to_field): Remove.
(md_apply_fix3): Correct format string and cast "fup".

21 years ago * config/tc-i960.c (md_convert_frag): Add ATTRIBUTE_UNUSED to args.
amodra [Thu, 12 Dec 2002 22:25:00 +0000 (22:25 +0000)]
* config/tc-i960.c (md_convert_frag): Add ATTRIBUTE_UNUSED to args.
(s_endian <ignore>): Likewise.
(md_undefined_symbol <name>): Likewise.
(tc_crawl_symbol_chain <headers>): Likewise.
(tc_set_bal_of_call): Likewise.
(tc_coff_symbol_emit_hook <symbolP>): Likewise.
(i960_handle_align <fragp>): Likewise.
(i960_validate_fix <this_segment_type>): Likewise
(tc_gen_reloc <section>): Likewise.
(tc_coff_symbol_emit_hook): Only define for OBJ_COFF.
(struct memS, struct regop): Forward declare.
(brcnt_emit, brlab_next, cobr_fmt, ctrl_fmt, emit, get_args,
get_cdisp, get_ispec, get_regnum, i_scan, mem_fmt, mema_to_memb,
parse_expr, parse_ldconst, parse_memop, parse_po, parse_regop,
reg_fmt, relax_cobr, s_leafproc, s_sysproc, shift_ok, syntax,
targ_has_sfr, targ_has_iclass, tc_bfd_fix2rtype): Prototype.
(md_chars_to_number, md_number_to_imm): Make static, prototype.
(md_number_to_field): Likewise.
(md_number_to_disp): Remove unused function.
(md_atof): Remove declaration of atof_ieee.
(md_apply_fix3): Correct md_number_to_imm call.

21 years ago * config/tc-ip2k.c (md_assemble): Warning fix.
amodra [Thu, 12 Dec 2002 22:21:02 +0000 (22:21 +0000)]
* config/tc-ip2k.c (md_assemble): Warning fix.