OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
21 years ago2003-03-17 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 17 Mar 2003 19:57:12 +0000 (19:57 +0000)]
2003-03-17  Andrew Cagney  <cagney@redhat.com>

* disasm.c (gdb_disassembly): Set di.mach using the architecture's
BFD.  Simplify setting of di.endian.

21 years ago2003-03-17 David Carlton <carlton@math.stanford.edu>
carlton [Mon, 17 Mar 2003 19:51:58 +0000 (19:51 +0000)]
2003-03-17  David Carlton  <carlton@math.stanford.edu>

* gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
test, for PR breakpoints/38.
Call test_watchpoint_and_breakpoint.
* gdb.base/watchpoint.c (func3): New function.
(main): Call func3.

21 years ago * configure.in: Check for stdlib.h.
drow [Mon, 17 Mar 2003 19:39:53 +0000 (19:39 +0000)]
* configure.in: Check for stdlib.h.
* configure: Regenerated.
* config.in: Regenerated.

21 years ago* include/cygwin/version.h: Reorganize last two api versions so that btowc and
cgf [Mon, 17 Mar 2003 19:16:15 +0000 (19:16 +0000)]
* include/cygwin/version.h: Reorganize last two api versions so that btowc and
trunc exports show up before previous bump since there has been no exported
version of the DLL with the 64 bit changes yet but 1.3.22 will have the btowc
and trunc.

21 years ago* cygwin.din: Export btowc, trunc.
cgf [Mon, 17 Mar 2003 19:08:10 +0000 (19:08 +0000)]
* cygwin.din: Export btowc, trunc.
* include/cygwin/version.h: Reflect new exports.
* syscalls.cc (_stat): Rename to stat to avoid newlib wrapper.
* syscalls.cc (_fstat): Ditto.
* fhandler_console.cc (fhandler_console::close): Correct check for current tty.
Add debugging output when console is freed.
(set_console_state_for_spawn): Add debugging output.
* fhandler_tty.cc (fhandler_tty_slave::open): Don't decrement console open flag
when vforking.
* sigproc.cc (sigproc_terminate): Fix debugging output.
* spawn.cc (handle): Eliminate second argument.
(spawn_guts): Reflect elimination of argument change to handle.
* syscalls.cc (setsid): Add debugging output when console is freed.
* syscalls.cc (rename): Revert assumption that DELETE_ON_CLOSE works on Win9x.

21 years ago2003-03-17 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 17 Mar 2003 18:27:05 +0000 (18:27 +0000)]
2003-03-17  Andrew Cagney  <cagney@redhat.com>

* rs6000-tdep.c (ppc_floating_point_unit_p): New function.
* ppc-tdep.h (ppc_floating_point_unit_p): Declare.

From Elena Zannoni  <ezannoni@redhat.com>
* ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
vector and floating-point parameters.
(ppc_sysv_abi_use_struct_convention): Handle e500 struct return
convention.
(ppc_sysv_abi_broken_use_struct_convention): Ditto.

21 years agomerge from gcc
dj [Mon, 17 Mar 2003 18:01:05 +0000 (18:01 +0000)]
merge from gcc

21 years ago2003-03-17 Bob Cassels <bcassels@abinitio.com>
jjohnstn [Mon, 17 Mar 2003 17:12:31 +0000 (17:12 +0000)]
2003-03-17  Bob Cassels  <bcassels@abinitio.com>

        * libc/string/wcschr.c: (wcschr): Look for character first,
        then for end of string, so you can do wcschr(x, '\0').

21 years ago * MAINTAINERS: Remove my name from several maintainership roles.
fnasser [Mon, 17 Mar 2003 15:01:48 +0000 (15:01 +0000)]
    * MAINTAINERS: Remove my name from several maintainership roles.

21 years ago2003-03-17 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 17 Mar 2003 14:46:35 +0000 (14:46 +0000)]
2003-03-17  Andrew Cagney  <cagney@redhat.com>

* gdb.texinfo (DATE): Delete.  Remove date from titles.  Mention
that GNU Press update the manual version number.

21 years ago2003-03-17 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 17 Mar 2003 14:23:48 +0000 (14:23 +0000)]
2003-03-17  Andrew Cagney  <cagney@redhat.com>

Fix frame off-by-one bug.
* frame-unwind.h (frame_this_id_ftype): Replace
frame_unwind_id_ftype.
(frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
(struct frame_unwind): Replace "id" with "this_id".  Replace "reg"
with "prev_register".
* frame-unwind.c (frame_unwind_find_by_pc): Return
legacy_saved_regs_unwind instead of trad_frame_unwind.  Update
comment.
* dummy-frame.c (cached_find_dummy_frame): Delete function.
(dummy_frame_this_id): Replace dummy_frame_id_unwind.
(dummy_frame_prev_register): Replace dummy_frame_register_unwind.
(dummy_frame_unwind): Update.
* sentinel-frame.c (sentinel_frame_prev_register): Replace
sentinel_frame_register_unwind.
(sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
(sentinel_frame_unwinder): Update.
* frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
(struct frame_info): Rename "unwind_cache" to "prologue_cache".
* frame.c (create_sentinel_frame): Update. Initialize
"prologue_cache" instead of "unwind_cache".
(frame_register_unwind): Call this frame's prev_register with the
next frame and this frame's prologue cache.
(get_prev_frame): Simplify.  Always call prev frame's this_id with
this frame and prev frame's prologue cache.  Document that this
call is shifted one to the left when compared to the
frame_register_unwind call.
(legacy_saved_regs_prev_register): Replace
frame_saved_regs_register_unwind.
(legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
(legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
(legacy_saved_regs_unwind): Replace trad_frame_unwind.
* d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
(d10v_frame_unwind): Update.
(d10v_frame_prev_register): Replace d10v_frame_register_unwind.
(d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
(saved_regs_unwinder): Replace this "frame" with "next_frame", and
"saved_regs" with "this_saved_regs".

21 years ago Fix formatting. Update copyright date.
nickc [Mon, 17 Mar 2003 11:43:30 +0000 (11:43 +0000)]
 Fix formatting.  Update copyright date.

21 years ago(disassemble_data): Use disasm_info.fprintf_func not printf for emitting new
nickc [Mon, 17 Mar 2003 11:16:51 +0000 (11:16 +0000)]
(disassemble_data): Use disasm_info.fprintf_func not printf for emitting new
lines.

21 years ago(O_SYS_CMDLINE): New pseudo opcode for command line processing.
nickc [Mon, 17 Mar 2003 10:34:28 +0000 (10:34 +0000)]
(O_SYS_CMDLINE): New pseudo opcode for command line processing.

21 years agonm.c (print_symbol_info_bsd): Print the symbol's size instead of the symbol's
nickc [Mon, 17 Mar 2003 10:14:06 +0000 (10:14 +0000)]
nm.c (print_symbol_info_bsd): Print the symbol's size instead of the symbol's
value when --size-sort is used, unless -S is used.
doc/binutils.texi (--size-sort): For non-bsd formats both the value and size
of the symbols are displayed.

21 years ago2003-03-17 Bang Jun-Young <junyoung@netbsd.org>
dannysmith [Mon, 17 Mar 2003 10:01:06 +0000 (10:01 +0000)]
2003-03-17  Bang Jun-Young  <junyoung@netbsd.org>

* include/winbase.h (EnumResourceLanguages[AW]): Correct prototypes.
(EnumResourceNames[AW]): Ditto.
(EnumResourceTypes[AW]): Ditto.
* include/wincon.h (CONSOLE_FONT_INFO): Add struct.

21 years ago Get rid of some warnings
dannysmith [Mon, 17 Mar 2003 01:03:43 +0000 (01:03 +0000)]
Get rid of some warnings
* mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
* mingwex/strtoimax.c (strtoimax): Likewise.
* mingwex/wcstoimax.c (wcstoimax): Likewise.
* mingwex/wtoll.c (wtoll): Remove unnecessary ';'
* mingwex/fesentenv.c: Include float.h.
* mingwex/math/powl.c: Eliminate type punning/strict aliasing
warning.
* mingwex/math/tanhl.c: Eliminate signed/unsigned warning in
constants.
* mingwex/math/tgammal.c: Likewise.

21 years ago2003-03-16 Toby Malone <malone@users.sourceforge.net>
dannysmith [Mon, 17 Mar 2003 00:14:39 +0000 (00:14 +0000)]
2003-03-16  Toby Malone  <malone@users.sourceforge.net>

* include/winuser.h (SendInput): Add prototype.
* lib/user32.def (SendInput): Add stub.

21 years ago*** empty log message ***
gdbadmin [Mon, 17 Mar 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sun, 16 Mar 2003 23:00:07 +0000 (23:00 +0000)]
daily update

21 years ago * include/utime.h: New file, forwarding to sys/utime.h.
dannysmith [Sun, 16 Mar 2003 22:23:58 +0000 (22:23 +0000)]
* include/utime.h: New file, forwarding to sys/utime.h.

21 years ago * include/sys/param.h (MAXPATHLEN): Define.
dannysmith [Sun, 16 Mar 2003 22:18:05 +0000 (22:18 +0000)]
* include/sys/param.h (MAXPATHLEN): Define.

21 years ago * include/tchar.h: Ansi-fy a comment.
dannysmith [Sun, 16 Mar 2003 22:15:19 +0000 (22:15 +0000)]
* include/tchar.h: Ansi-fy a comment.

21 years ago * profile/profile.h (mcount): Use __builtin_return_address
dannysmith [Sun, 16 Mar 2003 22:12:00 +0000 (22:12 +0000)]
* profile/profile.h (mcount): Use __builtin_return_address
rather than __asm statements.
* profile/Makefile.in: Remove special rule for mcount.o
Specify dependencies for mcount.o profil.o gmon.o.

21 years ago2003-03-16 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 16 Mar 2003 20:47:40 +0000 (20:47 +0000)]
2003-03-16  Andrew Cagney  <cagney@redhat.com>

* frame.c (frame_pop): Don't call target_store_registers.  Fix
problem reported by Mark Kettenis.

21 years ago* i386-tdep.c (i386_register_type): Renamed from
kettenis [Sun, 16 Mar 2003 20:14:56 +0000 (20:14 +0000)]
* i386-tdep.c (i386_register_type): Renamed from
i386_register_virtual_type.  Adjust function signature.
(i386_gdbarch_init): Set register_type instead of
deprecated_max_register_raw_size,
deprecated_max_register_virtual_size and register_virtual_type.

21 years ago2003-03-16 Vadim Yegorov <zg@bmg.lv>
dannysmith [Sun, 16 Mar 2003 01:41:57 +0000 (01:41 +0000)]
2003-03-16  Vadim Yegorov  <zg@bmg.lv>

* winioctl.h (FSCTL_SET_REPARSE_POINT: Correct macro.
(FSCTL_DELETE_REPARSE_POINT): Likewise.

21 years ago*** empty log message ***
gdbadmin [Sun, 16 Mar 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sat, 15 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago2003-03-15 Bang Jun-Young <junyoung@netbsd.org>
dannysmith [Sat, 15 Mar 2003 03:50:47 +0000 (03:50 +0000)]
2003-03-15  Bang Jun-Young  <junyoung@netbsd.org>

* winnt.h (JOBOBJECTINFOCLASS): Define enum.
(JOBOBJECT_*): Define corresponding structures.

21 years ago*** empty log message ***
gdbadmin [Sat, 15 Mar 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Fri, 14 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years agoppc-opc.c (powerpc_opcodes): Readd tlbre for PPC403.
drow [Fri, 14 Mar 2003 21:07:54 +0000 (21:07 +0000)]
ppc-opc.c (powerpc_opcodes): Readd tlbre for PPC403.

21 years ago * Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES back down.
neroden [Fri, 14 Mar 2003 20:49:14 +0000 (20:49 +0000)]
* Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES back down.
* Makefile.in: Regenerate.

21 years ago2003-03-14 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 14 Mar 2003 20:34:14 +0000 (20:34 +0000)]
2003-03-14  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_prev_frame): When a legacy frame, always call
legacy_get_prev_frame.  Simplify unwind code using assumption that
the unwinder is new.
(legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
(legacy_frame_p): When no gdbarch_unwind_dummy_id, or
SAVED_DUMMY_FRAME_TOS, assume a legacy frame.

21 years ago2003-03-14 Michael Chastain <mec@shout.net>
chastain [Fri, 14 Mar 2003 18:59:59 +0000 (18:59 +0000)]
2003-03-14  Michael Chastain  <mec@shout.net>

* Makefile.in: Regenerate with correct Makefile.def.

21 years ago * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
corinna [Fri, 14 Mar 2003 18:39:05 +0000 (18:39 +0000)]
* libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
with internal (_fpos_t and _off_t) datatypes when compiling newlib.
* libc/include/sys/unistd.h: Declare _lseek using _off_t.
* libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
* libc/stdio/fseeko.c (fseeko): Ditto.
* libc/stdio/ftello.c (ftello): Ditto.
* libc/stdio/stdio.c (__swrite): Ditto.
(__sseek): Ditto.
* libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
* libc/stdio/fseek.c (fseek): Ditto.
* libc/stdio/fsetpos.c (fsetpos): Ditto.
* libc/stdio/ftell.c (ftell): Ditto.
* libc/stdio/local.h: Declare __sseek using _off_t.

21 years ago2003-03-12 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 14 Mar 2003 17:07:00 +0000 (17:07 +0000)]
2003-03-12  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_saved_register): Delete function.
* xstormy16-tdep.c: Update comment.
* regcache.h: Update comments.
* sparc-tdep.c (sparc_init_extra_frame_info): Instead of
get_saved_register and extract_address, use
frame_read_unsigned_register.
(sparc_frame_saved_pc): Ditto.
(sparc_get_saved_register): Instead of get_saved_register, use
frame_register.
(sparc_pop_frame): Ditto.
* frame.h (get_saved_register): Delete declaration.
* findvar.c: Update comments.
(value_of_register): Call frame_register instead of
get_saved_register.
(value_from_register): Ditto.
* config/sparc/tm-sparc.h: Update comment.
* breakpoint.c: Update comment.

Index: doc/ChangeLog
2003-03-12  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Delete
references to get_saved_register.

21 years ago2003-03-14 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 14 Mar 2003 16:05:33 +0000 (16:05 +0000)]
2003-03-14  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
GET_SAVED_REGISTER.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.h: Update comments.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* frame.c (frame_register): Update.
(get_saved_register): Update.
* config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.

21 years ago(ieee_write_expression): Handle the case where symbol is NULL.
nickc [Fri, 14 Mar 2003 12:47:20 +0000 (12:47 +0000)]
(ieee_write_expression): Handle the case where symbol is NULL.

21 years agoFile I/O Support added.
venkat [Fri, 14 Mar 2003 04:12:01 +0000 (04:12 +0000)]
File I/O Support added.
2003-03-14  D.Venkatasubramanian <dvenkat@noida.hcltech.com>

        * compile.c (decode): Added code for some more magic traps.
        * compile.c (sim_resume): Added support for File I/O system
        calls through callback to host_system.
        System calls provided support for :
        open, read, write, lseek, close, stat, fstat
        Only basic support for stat and fstat.

21 years ago2003-03-13 Danny Smith <dannysmith@users.sourceforge.net>
dannysmith [Fri, 14 Mar 2003 03:06:51 +0000 (03:06 +0000)]
2003-03-13  Danny Smith  <dannysmith@users.sourceforge.net>

* include/ddk/winddk.h (PCUNICODE_STRING): Remove incorrect
typedef.

2003-03-13  Bang Jun-Young  <junyoung@netbsd.org>

* lib/kernel32.def (Module32{First,Next}{,W}): Add missing exports.
(Process32{First,Next}{,W}): Ditto.
(Thread32{First,Next}): Ditto.
* include/ntdef.h (PCUNICODE_STRING): Add typedef.

21 years ago*** empty log message ***
gdbadmin [Fri, 14 Mar 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* include/cygwin/version.h: Bump DLL minor number to 23.
cgf [Thu, 13 Mar 2003 23:11:38 +0000 (23:11 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 23.

21 years agodaily update
amodra [Thu, 13 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago * autoload.cc (IsProcessorFeaturePresent): Add.
corinna [Thu, 13 Mar 2003 22:53:15 +0000 (22:53 +0000)]
* autoload.cc (IsProcessorFeaturePresent): Add.
* fhandler_proc.cc (format_proc_cpuinfo): Add case for 9x systems.

21 years ago * fhandler_proc.cc (format_proc_cpuinfo): Fix vendor id in cpuid case.
corinna [Thu, 13 Mar 2003 22:32:39 +0000 (22:32 +0000)]
* fhandler_proc.cc (format_proc_cpuinfo): Fix vendor id in cpuid case.

21 years ago2003-03-13 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 13 Mar 2003 21:45:38 +0000 (21:45 +0000)]
2003-03-13  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
* gdbarch.h, gdbarch.c: Regenerate.
* valops.c (hand_function_call): Update comment.
* stack.c (return_command): Update comment.
* config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
* config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.

2003-03-13  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Replace
POP_FRAME with DEPRECATED_POP_FRAME.  Update description.

21 years ago * tui-out.c (tui_out_data): Fix typedef.
ciceron [Thu, 13 Mar 2003 20:24:06 +0000 (20:24 +0000)]
* tui-out.c (tui_out_data): Fix typedef.

21 years ago2003-03-13 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 13 Mar 2003 18:09:29 +0000 (18:09 +0000)]
2003-03-13  Andrew Cagney  <cagney@redhat.com>

* frame.c (legacy_frame_p): New function.
(get_prev_frame): Use legacy_frame_p.
* frame.h (legacy_frame_p): Declare.

21 years agoUpdated translation
nickc [Thu, 13 Mar 2003 15:12:05 +0000 (15:12 +0000)]
Updated translation

21 years agoAdd New Chinese (simplified) PO file.
nickc [Thu, 13 Mar 2003 15:09:28 +0000 (15:09 +0000)]
Add New Chinese (simplified) PO file.

21 years ago(buffer_and_nest): Store more to sb instead of '\n'.
nickc [Thu, 13 Mar 2003 11:49:33 +0000 (11:49 +0000)]
(buffer_and_nest): Store more to sb instead of '\n'.
(get_line_sb): Return end of line character or '\n' if it is zero or
non-existent.

21 years ago * net.cc (cygwin_rcmd): Use correct file descriptor in call to fdsock.
corinna [Thu, 13 Mar 2003 11:31:24 +0000 (11:31 +0000)]
* net.cc (cygwin_rcmd): Use correct file descriptor in call to fdsock.
(cygwin_rexec): Ditto.

21 years ago * deffilep.y (def_import): Use default extension of "dll"
dannysmith [Thu, 13 Mar 2003 09:39:09 +0000 (09:39 +0000)]
* deffilep.y (def_import):  Use default extension of "dll"
if no extension provided in parsed IMPORT definition.

* deffilep.y (def_lex): Revert 2003-03-12 change.
(dot_name): New id type and rule.
(expline): Use instead of ID.
(opt_equal_name): Likewise.

21 years ago(BYTES_IN_WORD): Don't define.
nickc [Thu, 13 Mar 2003 09:28:48 +0000 (09:28 +0000)]
(BYTES_IN_WORD): Don't define.

21 years agoUpdate.
nickc [Thu, 13 Mar 2003 09:11:16 +0000 (09:11 +0000)]
Update.

21 years ago* syscalls.cc (rename): Assume that DELETE_ON_CLOSE works on Win9x.
cgf [Thu, 13 Mar 2003 08:18:14 +0000 (08:18 +0000)]
* syscalls.cc (rename): Assume that DELETE_ON_CLOSE works on Win9x.
* fhandler_tty.cc (fhandler_tty_slave::close): Fix typo in debug output.

21 years agoAlphabetically corrected my name addition to MAINTAINERS (write after approval).
venkat [Thu, 13 Mar 2003 05:32:21 +0000 (05:32 +0000)]
Alphabetically corrected my name addition to MAINTAINERS (write after approval).

21 years agoAdded myself to MAINTAINERS (write after approval). Approved by : Andrew Cagney.
venkat [Thu, 13 Mar 2003 05:13:57 +0000 (05:13 +0000)]
Added myself to MAINTAINERS (write after approval). Approved by : Andrew Cagney.

21 years ago*** empty log message ***
gdbadmin [Thu, 13 Mar 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-03-12 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 12 Mar 2003 23:55:36 +0000 (23:55 +0000)]
2003-03-12  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_prev_frame): Rename the frame parameter to
"this_frame".
(get_next_frame, legacy_get_prev_frame): Ditto.

21 years ago * include/mswsock.h: Correct invalid filter for _WINSOCK2_H.
earnie [Wed, 12 Mar 2003 23:36:53 +0000 (23:36 +0000)]
* include/mswsock.h: Correct invalid filter for _WINSOCK2_H.
Thanks to Jim Barton <jmbarton@users.sf.net>.

21 years ago* config/tc-mips.c (mips_validate_fix): New function.
aoliva [Wed, 12 Mar 2003 23:07:37 +0000 (23:07 +0000)]
* config/tc-mips.c (mips_validate_fix): New function.
* config/tc-mips.h (TC_VALIDATE_FIX): Define.
(mips_validate_fix): Declare.

21 years ago* gas/mips/branch-misc-2.s: Add branch to symbol in another
aoliva [Wed, 12 Mar 2003 23:07:21 +0000 (23:07 +0000)]
* gas/mips/branch-misc-2.s: Add branch to symbol in another
section.
* gas/mips/branch-misc-2.l: Update error messages and warnings.

21 years ago* Reverted 2003-03-02's patch.
aoliva [Wed, 12 Mar 2003 23:06:07 +0000 (23:06 +0000)]
* Reverted 2003-03-02's patch.

21 years ago* Reverted 2003-03-02's patch.
aoliva [Wed, 12 Mar 2003 23:05:50 +0000 (23:05 +0000)]
* Reverted 2003-03-02's patch.

21 years ago* Reverted previous patch.
aoliva [Wed, 12 Mar 2003 23:05:31 +0000 (23:05 +0000)]
* Reverted previous patch.

21 years agodaily update
amodra [Wed, 12 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago* elfxx-target.h (bfd_elfNN_canonicalize_reloc): Make it
aoliva [Wed, 12 Mar 2003 22:52:11 +0000 (22:52 +0000)]
* elfxx-target.h (bfd_elfNN_canonicalize_reloc): Make it
overridable.
* elf64-mips.c (mips_elf64_canonicalize_reloc,
mips_elf64_get_dynamic_reloc_upper_bound,
mips_elf64_canonicalize_dynamic_reloc): New, adapted from elf.c.
(bfd_elf64_get_canonicalize_reloc,
bfd_elf64_get_dynamic_reloc_upper_bound,
bfd_elf64_canonicalize_dynamic_reloc): Define.
(mips_elf64_slurp_reloc_table): Support dynamic.
(mips_elf64_slurp_one_reloc_table): Adjust.

21 years ago2003-03-12 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 12 Mar 2003 22:39:15 +0000 (22:39 +0000)]
2003-03-12  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_current_frame): Check target_has_registers before
checking target_has_stack.
* eval.c (evaluate_subexp_standard): Use get_selected_frame,
instead of deprecated_selected_frame.
* findvar.c (value_of_register): Pass "frame", not
deprecated_selected_frame, to value_of_builtin_reg.

21 years ago2003-03-12 Martin M. Hunt <hunt@redhat.com>
hunt [Wed, 12 Mar 2003 22:09:16 +0000 (22:09 +0000)]
2003-03-12  Martin M. Hunt  <hunt@redhat.com>

* rhabout.itcl (RHAbout): Fix call
to open_help. We no longer use HTMLViewer.

21 years ago2003-03-12 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 12 Mar 2003 20:50:13 +0000 (20:50 +0000)]
2003-03-12  Andrew Cagney  <cagney@redhat.com>

* regcache.c (regcache_cooked_write_signed): New function.
(regcache_cooked_write_unsigned): New function.
(regcache_cooked_read_unsigned): Fix regnum in range assertion.
(regcache_cooked_read_signed): Fix regnum in range assertion.
* regcache.h (regcache_cooked_write_signed): Declare.
(regcache_cooked_write_unsigned): Declare.

21 years ago * Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up. Delete unused
neroden [Wed, 12 Mar 2003 20:47:07 +0000 (20:47 +0000)]
* Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up.  Delete unused
Make macro.
* Makefile.in: Regenerate.
* configure.in: Clean up gxx_include_dir logic.
* configure: Regenerate.

21 years agomerge from gcc
dj [Wed, 12 Mar 2003 17:28:10 +0000 (17:28 +0000)]
merge from gcc

21 years agofix typo
cgf [Wed, 12 Mar 2003 17:21:31 +0000 (17:21 +0000)]
fix typo

21 years ago2003-03-12 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 12 Mar 2003 17:17:14 +0000 (17:17 +0000)]
2003-03-12  Frank Ch. Eigler  <fche@redhat.com>

        * sid.scm: Set APPLICATION to SID-SIMULATOR.

2003-03-12  Frank Ch. Eigler  <fche@redhat.com>

        * xstormy16-decode.cxx: Regenerate with fixed cgen SID-SIMULATOR.

21 years ago2003-03-12 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 12 Mar 2003 16:50:41 +0000 (16:50 +0000)]
2003-03-12  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
* gdbarch.h, gdbarch.c: Re-generate.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.h: Update.
* x86-64-tdep.c (x86_64_init_abi): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* ppc-linux-tdep.c (ppc_linux_init_abi): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* i386-interix-tdep.c (i386_interix_init_abi): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
* sh-tdep.c (sh_init_extra_frame_info): Update.
(sh64_init_extra_frame_info): Update.
* ns32knbsd-nat.c (frame_num_args): Update.
* m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
* xstormy16-tdep.c (xstormy16_pop_frame): Update.
(xstormy16_frame_chain_valid): Update.
* vax-tdep.c (vax_saved_pc_after_call): Update.
* v850-tdep.c (v850_frame_chain): Update.
(v850_pop_frame): Update.
(v850_init_extra_frame_info): Update.
* sparc-tdep.c (setup_arbitrary_frame): Update.
* ns32k-tdep.c (umax_frame_num_args): Update.
* s390-tdep.c (s390_pop_frame_regular): Update.
* mn10300-tdep.c (mn10300_frame_chain): Update.
(mn10300_pop_frame_regular): Update.
(mn10300_init_extra_frame_info): Update.
* mips-tdep.c (mips_init_frame_pc_first): Update.
(mips_frame_chain): Update.
(mips_pop_frame): Update.
* mcore-tdep.c (mcore_frame_chain): Update.
(mcore_pop_frame): Update.
(mcore_init_extra_frame_info): Update.
* arch-utils.c (init_frame_pc_default): Update.
* m68k-tdep.c (isi_frame_num_args): Update.
(delta68_frame_num_args): Update.
(news_frame_num_args): Update.
* ia64-tdep.c (ia64_pop_frame_regular): Update.
* alpha-tdep.c (alpha_init_frame_pc_first): Update.
(alpha_frame_chain): Update.
(alpha_pop_frame): Update.
* hppa-tdep.c (hppa_saved_pc_after_call): Update.
(hppa_init_extra_frame_info): Update.
(hppa_frame_chain): Update.
(hppa_frame_chain_valid): Update.
* cris-tdep.c (cris_init_extra_frame_info): Update.
* avr-tdep.c (avr_init_extra_frame_info): Update.
* arm-tdep.c (arm_frame_chain_valid): Update.
(arm_init_extra_frame_info): Update.
(arm_pop_frame): Update.
* frame.c (frame_pc_unwind): Update.
* config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
(DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
* config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
* config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.

2003-03-12  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Rename
FRAME_SAVED_PC to DEPRECATED_FRAME_SAVED_PC.

21 years ago2003-03-12 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 12 Mar 2003 15:39:29 +0000 (15:39 +0000)]
2003-03-12  Andrew Cagney  <cagney@redhat.com>

Eliminate the need for POP_FRAME.
* frame.c (do_frame_unwind_register): New function.
(frame_pop): When no POP_FRAME, pop the frame using register
unwind and a scratch regcache.
(frame_saved_regs_pop): Delete function.
(trad_frame_unwinder): Update.
* d10v-tdep.c (d10v_frame_pop): Delete function.
(d10v_frame_unwind): Update.
* sentinel-frame.c (sentinel_frame_pop): Delete function.
(sentinel_frame_unwinder): Update.
* dummy-frame.c (dummy_frame_pop): Delete function.
(dummy_frame_unwind): Update.
* frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
(struct frame_unwind): Update.

21 years agomerge from gcc
dj [Wed, 12 Mar 2003 15:08:02 +0000 (15:08 +0000)]
merge from gcc

21 years agoRename 'index' to 'offset'
nickc [Wed, 12 Mar 2003 09:59:51 +0000 (09:59 +0000)]
Rename 'index' to 'offset'

21 years ago * deffilep.y (def_lex): Accept '.' as valid non-lead char.
dannysmith [Wed, 12 Mar 2003 08:38:16 +0000 (08:38 +0000)]
* deffilep.y (def_lex): Accept '.' as valid non-lead char.

21 years agoCheckin previously referred to in ChangeLog.
cgf [Wed, 12 Mar 2003 06:28:27 +0000 (06:28 +0000)]
Checkin previously referred to in ChangeLog.

21 years ago*** empty log message ***
gdbadmin [Wed, 12 Mar 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-03-12 Ranjit Mathew <rmathew@hotmail.com>
dannysmith [Tue, 11 Mar 2003 23:53:08 +0000 (23:53 +0000)]
2003-03-12  Ranjit Mathew  <rmathew@hotmail.com>

        * include/winnt.h (_IMAGE_SEPARATE_DEBUG_HEADER): Expose
        member SectionAlignment.

21 years ago * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
kevinb [Tue, 11 Mar 2003 23:15:37 +0000 (23:15 +0000)]
* mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
mips_dwarf_dwarf2_ecoff_reg_to_regnum().
(mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
Do range checks on register number obtained from debugging info.
(mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
set_gdbarch_dwarf2_reg_to_regnum().  Adjust call of
set_gdbarch_ecoff_reg_to_regnum() to account for new name of
mapping function.
(do_fp_register_row): Fix typo which caused double type to be
used when attempting to unpack a float.

21 years agodaily update
amodra [Tue, 11 Mar 2003 23:00:07 +0000 (23:00 +0000)]
daily update

21 years ago * dwarf2dbg.c (generic_dwarf2_emit_offset): New.
rth [Tue, 11 Mar 2003 22:00:33 +0000 (22:00 +0000)]
    * dwarf2dbg.c (generic_dwarf2_emit_offset): New.
        (TC_DWARF2_EMIT_OFFSET): Provide default.
        (out_debug_aranges, out_debug_info): Use it.
        * config/tc-ia64.c (ia64_dwarf2_emit_offset): New.
        (ia64_cons_fix_new): Move FUNC_DTP_RELATIVE handling ...
        (ia64_gen_real_reloc_type): ... here.
        * config/tc-ia64.h (TC_DWARF2_EMIT_OFFSET): New.

21 years agomerge from gcc
dj [Tue, 11 Mar 2003 20:18:26 +0000 (20:18 +0000)]
merge from gcc

21 years ago* ld-mips-elf/mips-elf.exp (linux_gnu): New variable. Add:
aoliva [Tue, 11 Mar 2003 19:20:16 +0000 (19:20 +0000)]
* ld-mips-elf/mips-elf.exp (linux_gnu): New variable.  Add:
* ld-mips-elf/rel32-o32.d, ld-mips-elf/rel32-n32.d,
ld-mips-elf/rel64.d, ld-mips-elf/rel32.s, ld-mips-elf/rel64.s: New
tests.

21 years ago* elfxx-mips.c (mips_elf_create_dynamic_relocation): Do not create
aoliva [Tue, 11 Mar 2003 19:11:38 +0000 (19:11 +0000)]
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Do not create
dynamic relocations pointing to local or section symbols, use the
NULL symbol instead.  Document the choice to not emit an
additional R_MIPS_64 relocation.

21 years ago * breakpoint.c (bpstat_stop_status): Fix a small memory leak.
brobecke [Tue, 11 Mar 2003 19:07:01 +0000 (19:07 +0000)]
   * breakpoint.c (bpstat_stop_status): Fix a small memory leak.

21 years agoUpdate changelog entry for Klee's patch
drow [Tue, 11 Mar 2003 18:35:29 +0000 (18:35 +0000)]
Update changelog entry for Klee's patch

21 years ago2003-03-11 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 11 Mar 2003 17:47:13 +0000 (17:47 +0000)]
2003-03-11  Andrew Cagney  <cagney@redhat.com>

* frame.c (deprecated_update_frame_pc_hack): Don't assume a next
frame.  Problem found by Corinna Vinschen.

21 years ago * fhandler_socket.cc (fhandler_socket::dup): Don't call
corinna [Tue, 11 Mar 2003 16:49:58 +0000 (16:49 +0000)]
* fhandler_socket.cc (fhandler_socket::dup): Don't call
fhandler_base::dup() but call DuplicateHandle directly instead to have
control over socket inheritence.

21 years ago2003-03-11 Pierre Muller <muller@ics.u-strasbg.fr>
muller [Tue, 11 Mar 2003 16:38:51 +0000 (16:38 +0000)]
2003-03-11 Pierre Muller  <muller@ics.u-strasbg.fr>

* doublest.c (floatformat_from_length): Accept also
the real size of 'long double' type.

21 years ago * include/winsvc.h (SERVICE_NO_CHANGE): Use hex constant to avoid
earnie [Tue, 11 Mar 2003 14:44:57 +0000 (14:44 +0000)]
* include/winsvc.h (SERVICE_NO_CHANGE): Use hex constant to avoid
warnings.
Thanks to Fabricio D. Rossi <gurusoda@users.sf.net>.
* Makefile.in (bindist): Correct process.
* lib/Makefile.in (install): Ditto.
Thanks to Jeff Bonnggren <jbon@users.sf.net>.

21 years ago2003-03-11 Corinna Vinschen <corinna@vinschen.de>
corinna [Tue, 11 Mar 2003 13:05:36 +0000 (13:05 +0000)]
2003-03-11  Corinna Vinschen  <corinna@vinschen.de>

* fhandler_socket.cc (fhandler_socket::dup): On NT systems avoid
using WinSock2 socket duplication methods.  Add comment.

2003-03-11  Pierre Humblet  <pierre.humblet@ieee.org>

* fhandler_socket.cc (fhandler_socket::fixup_after_fork):
Set io_handle to INVALID_SOCKET in case of failure.
(fhandler_socket::dup): Return 0 if the io_handle is valid.

21 years ago * include/stdlib.h (qsort): Remove const from first parm.
dannysmith [Tue, 11 Mar 2003 03:00:49 +0000 (03:00 +0000)]
* include/stdlib.h (qsort): Remove const from first parm.
Thanks to: Tien-Ren Chen  <trchen@sourceforge.users.net>

21 years ago*** empty log message ***
gdbadmin [Tue, 11 Mar 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***