OSDN Git Service

pf3gnuchains/sourceware.git
21 years agokill bogus line between the last 2 entries
cgd [Wed, 18 Dec 2002 21:11:30 +0000 (21:11 +0000)]
kill bogus line between the last 2 entries

21 years ago * ptrace-target.h, ptrace-target.c (ptrace_write_user)
kevinb [Wed, 18 Dec 2002 20:25:11 +0000 (20:25 +0000)]
* ptrace-target.h, ptrace-target.c (ptrace_write_user)
(ptrace_read_user): Add struct gdbserv argument.
* linux-target.c: Fix all callers (and callers of callers).
* ptrace-target.c (ptrace_write_user, ptrace_read_user): Add
debugging printf()s.
(ptrace_xfer_mem): Fix debugging printf()s so that they'll print
useful results when sizeof (long long) is the same as
sizeof (ptrace_xfer_type).
(ptrace_xfer_mem): Decode address using gdbserv_host_bytes_from_reg()
instead of gdbserv_reg_to_ulong().

21 years ago2002-12-17 Martin M. Hunt <hunt@redhat.com>
hunt [Wed, 18 Dec 2002 19:35:54 +0000 (19:35 +0000)]
2002-12-17  Martin M. Hunt  <hunt@redhat.com>

* library/interface.tcl (gdbtk_tcl_fputs_target_err):
  New function.
(gdbtk_tcl_fputs_target): Open console window if it is
not already open.
(gdbtk_gets): New function.
Opens a console window if necessary and calls Console::gets.

* library/console.ith (gets): Declare method.
(_input_mode): New private variable.
(_input_result): Ditto.
(_input_error): Ditto.
(_cancel): New private method
(invoke): Add arg.

* library/console.itb (_setprompt): Allow setting prompt
to nothing.  Delete to beginning of line before writing prompt.
(gets): New public method to prompt user for input.
(_cancel): New private method to handle ^C when inputting data.
(invoke): Check for ^d when in input mode.

21 years ago * Makefile.tpl: Don't let real targets depend on phony targets.
neroden [Wed, 18 Dec 2002 18:35:30 +0000 (18:35 +0000)]
* Makefile.tpl: Don't let real targets depend on phony targets.
* Makefile.in: Regenerate.

21 years ago2002-12-18 Andrew Cagney <ac131313@redhat.com>
cagney [Wed, 18 Dec 2002 18:03:41 +0000 (18:03 +0000)]
2002-12-18  Andrew Cagney  <ac131313@redhat.com>

* frame.c (deprecated_update_current_frame_pc_hack): Replace
deprecated_update_current_frame_pc_hack.
(deprecated_update_frame_base_hack): New function.
* frame.h (deprecated_update_frame_pc_hack): Replace
(deprecated_update_frame_base_hack): Declare.
* infrun.c (normal_stop): Update.

21 years agoAdd win32 library search path.
nickc [Wed, 18 Dec 2002 16:56:19 +0000 (16:56 +0000)]
Add win32 library search path.

21 years agoAdd win32 machine depending section.
nickc [Wed, 18 Dec 2002 16:25:01 +0000 (16:25 +0000)]
Add win32 machine depending section.

21 years agoTest the auto importing direct from a dll functionality.
nickc [Wed, 18 Dec 2002 16:05:10 +0000 (16:05 +0000)]
Test the auto importing direct from a dll functionality.

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

* rs6000-tdep.c (rs6000_init_extra_frame_info): Use
frame_extra_info_zalloc.
(rs6000_frame_args_address): Use get_frame_extra_info.
(frame_get_saved_regs): Use get_frame_saved_regs.
(frame_initial_stack_address): Use get_frame_saved_regs and
get_frame_extra_info.
(frame_initial_stack_address): Use get_frame_extra_info.

21 years ago * bfd/reloc.c (struct reloc_howto_struct): Revise src_mask and
amodra [Wed, 18 Dec 2002 13:47:01 +0000 (13:47 +0000)]
* bfd/reloc.c (struct reloc_howto_struct): Revise src_mask and
dst_mask comments.
* bfd-in2.h: Regenerate.

21 years ago * elf32-ppc.c (ppc_elf_relocate_section): Reorganize dynamic reloc
amodra [Wed, 18 Dec 2002 13:16:34 +0000 (13:16 +0000)]
* elf32-ppc.c (ppc_elf_relocate_section): Reorganize dynamic reloc
code a little.  Comment on dynamic relocs against section symbols.

21 years ago2002-12-18 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Wed, 18 Dec 2002 05:23:48 +0000 (05:23 +0000)]
2002-12-18  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl (do-info): Depend on maybe-all-texinfo, not all-texinfo.
* Makefile.in: Regenerate.

21 years ago* lost patch from RH tree:
bje [Wed, 18 Dec 2002 01:43:10 +0000 (01:43 +0000)]
* lost patch from RH tree:

2001-09-17  graydon hoare  <graydon@redhat.com>

* insn.scm (syntax-break-out): Correct logic in handling escaped
syntax characters.

21 years ago2002-12-18 James E. Lucas <xelloss@users.sourceforge.net>
dannysmith [Wed, 18 Dec 2002 00:25:57 +0000 (00:25 +0000)]
2002-12-18  James E. Lucas  <xelloss@users.sourceforge.net>

* include/winnetwk.h (WNetResourceInformation[AW]): Correct
prototypes.
* include/winuser.h (GetAncestor) Add prototype.
(GA_PARENT, GA_ROOT, GA_ROOTOWNER): Add defines.
(EWX_FORCEIFHUNG): Add define for _WIN32_WINNT >= 0x0500.
(SPI_GETACTIVEWINDOWTRACKING, SPI_GETACTIVEWNDTRKZORDER,
SPI_GETACTIVEWNDTRKTIMEOUT, SPI_SETACTIVEWINDOWTRACKING
SPI_SETACTIVEWNDTRKZORDER, SPI_SETACTIVEWNDTRKTIMEOUT): Add
defines.
* lib/user32.def (GetAncestor@8): Add stub.

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

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

* gdb.c++/try_catch.cc: Add marker comments.
* gdb.c++/try_catch.exp: Get line numbers from marker comments.
* gdb.c++/m-data.cc: Delete namespace __gnu_test.
* gdb.c++/m-static.cc: Ditto.
* gdb.c++/m-static1.cc: Ditto.
* gdb.c++/try_catch.cc: Ditto.

21 years agoDon't use NUM_REGS to determine array size.
kevinb [Tue, 17 Dec 2002 23:13:30 +0000 (23:13 +0000)]
Don't use NUM_REGS to determine array size.

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

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.