OSDN Git Service

pf3gnuchains/sourceware.git
22 years ago* Makefile.in (ppc_tdep_h): Define.
thorpej [Thu, 30 May 2002 01:21:51 +0000 (01:21 +0000)]
* Makefile.in (ppc_tdep_h): Define.
(ppc-linux-nat.o)
(ppc-linux-tdep.o)
(rs6000-tdep.o): Use $(ppc_tdep_h).
(ppc-sysv-tdep.o)
(ppcnbsd-nat.o)
(ppcnbsd-tdep.o): New dependency lists.
* ppc-tdep.h: Use generic OS ABI framework.
* ppc-linux-tdep.c (_initialize_ppc_linux_tdep,
ppc_linux_init_abi): New functions.
(ppc_sysv_abi_broken_use_struct_convention)
(ppc_sysv_abi_use_struct_convention)
(ppc_sysv_abi_push_arguments): Move to...
* ppc-sysv-tdep.c: ...here.
* ppcnbsd-nat.c: Don't include gdbcore.h and regcache.h.
* rs6000-tdep.c (process_note_abi_tag_sections)
(get_elfosabi): Remove.
(rs6000_gdbarch_init): Use generic OS ABI framework.
(rs6000_dump_tdep): New function.
(_initialize_rs6000_tdep): Use gdbarch_register.
* config/powerpc/linux.mt (TDEPFILES): Add ppc-sysv-tdep.o.
* config/powerpc/nbsd.mh (NATDEPFILES): Remove solib-legacy.o.
* config/powerpc/aix.mt (TDEPFILES): Use ppc-sysv-tdep.o instead
of ppc-linux-tdep.o.
* config/powerpc/nbsd.mt (TDEPFILES): Likewise.
* config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise.
* config/powerpc/ppc-sim.mt (TDEPFILES): Likewise.
* config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise.
* config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise.
* config/powerpc/vxworks.mt (TDEPFILES): Likewise.

22 years ago * MAINTAINERS: Add self as M68k maintainer.
bje [Thu, 30 May 2002 01:14:21 +0000 (01:14 +0000)]
* MAINTAINERS: Add self as M68k maintainer.

22 years ago* macroscope.c (default_macro_scope): Put `void' in empty argument
jimb [Thu, 30 May 2002 00:02:03 +0000 (00:02 +0000)]
* macroscope.c (default_macro_scope): Put `void' in empty argument
list.

22 years ago*** empty log message ***
gdbadmin [Thu, 30 May 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* config.bfd (arm-*-netbsd*): Add bfd_elf32_littlearm_vec
thorpej [Wed, 29 May 2002 21:10:16 +0000 (21:10 +0000)]
* config.bfd (arm-*-netbsd*): Add bfd_elf32_littlearm_vec
and bfd_elf32_bigarm_vec to targ_selvecs.

22 years ago* include/sys/cygwin.h (EXTERNAL_PINFO_VERSION): Reinstate.
cgf [Wed, 29 May 2002 21:00:51 +0000 (21:00 +0000)]
* include/sys/cygwin.h (EXTERNAL_PINFO_VERSION): Reinstate.
* external.cc (fillout_pinfo): Use it.

22 years ago * ps.cc (main): Use uid or uid32 member of struct external_pinfo
corinna [Wed, 29 May 2002 20:10:27 +0000 (20:10 +0000)]
* ps.cc (main): Use uid or uid32 member of struct external_pinfo
dependent of the value of the struct's version member.

22 years ago * external.cc (fillout_pinfo): Use new version define.
corinna [Wed, 29 May 2002 20:07:49 +0000 (20:07 +0000)]
* external.cc (fillout_pinfo): Use new version define.
* include/sys/cygwin.h (external_pinfo): Define
EXTERNAL_PINFO_VERSION_16_BIT and EXTERNAL_PINFO_VERSION_32_BIT
instead of just EXTERNAL_PINFO_VERSION.

22 years ago* peXXigen.c (pe_print_idata): Fix seg faults on printing import tables with
cgf [Wed, 29 May 2002 20:06:25 +0000 (20:06 +0000)]
* peXXigen.c (pe_print_idata): Fix seg faults on printing import tables with
auto-imported symbols.

22 years agoSet the FSR and FAR registers if a Data Abort is detected.
nickc [Wed, 29 May 2002 19:01:36 +0000 (19:01 +0000)]
Set the FSR and FAR registers if a Data Abort is detected.

22 years ago* external.cc (fillout_pinfo): Set new version field in external_pinfo
cgf [Wed, 29 May 2002 17:12:05 +0000 (17:12 +0000)]
* external.cc (fillout_pinfo): Set new version field in external_pinfo
structure.
* include/sys/cygwin.h (external_pinfo): Replace strace_file with version
field.

22 years ago* Makefile.in (arch-utils.o): Add $(sim_regno_h).
cagney [Wed, 29 May 2002 16:39:50 +0000 (16:39 +0000)]
* Makefile.in (arch-utils.o): Add $(sim_regno_h).
* arch-utils.c: Include "sim-regno.h".
* gdbarch.sh: Don't include "sim-regno.h".
* gdbarch.h, gdbarch.c: Regenerate.
* sim-regno.h (legacy_register_sim_regno): Move declaration from
here.
* arch-utils.h (legacy_register_sim_regno): To here.
* remote-sim.c (legacy_register_sim_regno): Move function from
here.
* arch-utils.c (legacy_register_sim_regno): To here.

22 years agoFix genreation of arm <->thumb glue stubs by ensuring that they are in the last secti...
nickc [Wed, 29 May 2002 16:02:54 +0000 (16:02 +0000)]
Fix genreation of arm <->thumb glue stubs by ensuring that they are in the last section linked.

22 years ago * ps.cc (main): Change print format for uid to unsigned. Use uid32
corinna [Wed, 29 May 2002 15:07:14 +0000 (15:07 +0000)]
* ps.cc (main): Change print format for uid to unsigned.  Use uid32
member of struct external_pinfo instead of uid.

22 years ago Change internal uid datatype from __uid16_t to __uid32_t
corinna [Wed, 29 May 2002 15:04:26 +0000 (15:04 +0000)]
Change internal uid datatype from __uid16_t to __uid32_t
throughout.
* cygwin.din: Export new symbols getpwuid32, getpwuid_r32, getuid32,
geteuid32, setuid32, seteuid32.
* passwd.cc (getpwuid32): New function.
(getpwuid_r32): Ditto.
* syscalls.cc (seteuid32): Ditto.
(setuid32): Ditto.
* uinfo.cc (getuid32): Ditto.
(geteuid32): Ditto.
* winsup.h (uid16touid32): New macro, correclt casting from __uid16_t
to __uid32_t.
(gid16togid32): Ditto fir gids.
(getuid32): Declare.
(geteuid32): Ditto.
(getpwuid32): Ditto.
* include/sys/cygwin.h (struct external_pinfo): Add members uid32 and
gid32.

22 years agoMove declaration and initialisation of saw_line and saw_func out of for loop.
nickc [Wed, 29 May 2002 08:46:58 +0000 (08:46 +0000)]
Move declaration and initialisation of saw_line and saw_func out of for loop.
(Actual patch accidentally checked in yesterday!)

22 years ago * include/cygwin/socket.h: Protect some symbols against multiple
corinna [Wed, 29 May 2002 07:38:50 +0000 (07:38 +0000)]
* include/cygwin/socket.h: Protect some symbols against multiple
definition.
* include/netinet/ip.h: Ditto.
* include/netinet/tcp.h: Ditto.

* include/netinet/ip.h: Replace by BSD derived version of the file.
* include/netinet/tcp.h: Ditto.
* include/netinet/udp.h: New file.
* include/cygwin/ip.h: Remove.

22 years ago * passwd.c (prog_name): New global variable.
corinna [Wed, 29 May 2002 07:13:09 +0000 (07:13 +0000)]
* passwd.c (prog_name): New global variable.
(longopts): Ditto.
(opts): Ditto.
(usage): Standardize output. Accomodate new options.
(print_version): New function.
(main): Accomodate longopts and new --help, --version options.

22 years ago* dtable.cc (dtable::init_std_file_from_handle): Attempt stronger detection of
cgf [Wed, 29 May 2002 05:15:43 +0000 (05:15 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Attempt stronger detection of
invalid handle.
(handle_to_fn): Detect pathological condition where NT resets the buffer
pointer to NULL on an invalid handle.

22 years ago * binutils-all/objcopy.exp (strip_test_with_saving_a_symbol):
amodra [Wed, 29 May 2002 05:00:31 +0000 (05:00 +0000)]
* binutils-all/objcopy.exp (strip_test_with_saving_a_symbol):
Revert 2001-11-15.  Instead allow `D main'.

22 years ago * elf64-ppc.c (ppc64_elf_get_symbol_info): New function.
amodra [Wed, 29 May 2002 05:00:01 +0000 (05:00 +0000)]
* elf64-ppc.c (ppc64_elf_get_symbol_info): New function.
(bfd_elf64_get_symbol_info): Define.
* elfxx-target.h (bfd_elfNN_get_symbol_info): Only define if undef.

22 years agoclarify changelog
cgf [Wed, 29 May 2002 03:42:12 +0000 (03:42 +0000)]
clarify changelog

22 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Properly check for
cgf [Wed, 29 May 2002 03:06:37 +0000 (03:06 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Properly check for
whether we should be opening the file to search for #! characters.  Set
path_conv structure execability, too, if found.

22 years ago2002-05-28 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 29 May 2002 02:23:20 +0000 (02:23 +0000)]
2002-05-28  Michael Snyder  <msnyder@redhat.com>

* gdb.base/call-ar-st.exp: Allow for reduced floating point
        precision.

22 years ago* sim-regno.h: New file.
cagney [Wed, 29 May 2002 01:51:13 +0000 (01:51 +0000)]
* sim-regno.h: New file.
* Makefile.in (sim_regno_h): Define.
(d10v-tdep.o, remote-sim.o): Add dependency on $(sim_regno_h).
* remote-sim.c: Include "sim-regno.h" and "gdb_assert.h".
(legacy_register_sim_regno): New function.
(one2one_register_sim_regno): New function.
(gdbsim_fetch_register): Rewrite.
(gdbsim_store_register): Only store a register when
REGISTER_SIM_REGNO is valid.
* d10v-tdep.c: Include "sim-regno.h".
(d10v_ts2_register_sim_regno): Add legacy_regiter_sim_regno check.
(d10v_ts3_register_sim_regno): Ditto.
* gdbarch.sh: Include "sim-regno.h".
(REGISTER_SIM_REGNO): Set default to legacy_register_sim_regno.
* gdbarch.h, gdbarch.c: Regenerate.
* arch-utils.h (default_register_sim_regno): Delete declaration.
* arch-utils.c (default_register_sim_regno): Delete function.

22 years ago * cpu-h8300.c: Make default h8300 machine first in machine list.
amodra [Wed, 29 May 2002 00:58:45 +0000 (00:58 +0000)]
* cpu-h8300.c: Make default h8300 machine first in machine list.

22 years ago*** empty log message ***
gdbadmin [Wed, 29 May 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Wed, 29 May 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 28 May 2002 22:26:31 +0000 (22:26 +0000)]
2002-05-28  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
        tcsendbrk.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
        tcgetpgrp(), and tcsetpgrp() functions.
        * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
        to get __MAX_BAUD rate.
        * libc/sys/linux/machine/i386/include/termios.h: New file.
        * libc/include/machine/termios.h: Ditto.
        * libc/sys/linux/cfspeed.c: Ditto.
        * libc/sys/linux/tcsendbrk.c: Ditto.

22 years ago2002-05-28 Marek Michalkiewicz <marekm@amelek.gda.pl>
marekm [Tue, 28 May 2002 20:06:26 +0000 (20:06 +0000)]
2002-05-28  Marek Michalkiewicz  <marekm@amelek.gda.pl>

* configure.in (noconfigdirs): Don't compile libiberty, libstdcxx
and libgcj for AVR.

22 years ago * config/tc-mips.c: Replace GP in comments by $gp.
ths [Tue, 28 May 2002 19:23:08 +0000 (19:23 +0000)]
* config/tc-mips.c: Replace GP in comments by $gp.
(mips_big_got): Initialize.
(mips_trap): Initialize.
(load_address): Use mips_gp_register instead of hardcoded value.
Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead.
(macro): Use mips_gp_register instead of hardcoded value.
(macro2): Change load_address calls.
(md_pcrel_from): Comment formatting.
(s_cpload): Use mips_gp_register instead of hardcoded value.
(s_cprestore): Likewise. Comment formatting.
(s_gpword): Fix data type.
(s_cpadd): Use mips_gp_register instead of hardcoded value.
(nopic_need_relax): Replace GP in comments by $gp.
(mips_elf_final_processing): Better comment.

22 years ago* ppcnbsd-nat.c: Rewrite.
thorpej [Tue, 28 May 2002 18:43:00 +0000 (18:43 +0000)]
* ppcnbsd-nat.c: Rewrite.
* ppcnbsd-tdep.c: New file.
* ppcnbsd-tdep.h: New file.
* config/powerpc/nbsd.mh (NATDEPFILES): Remove corelow.o,
solib.o, and solib-svr4.o.
* config/powerpc/nbsd.mt (TDEPFILES): Add ppcnbsd-tdep.o,
nbsd-tdep.o, and corelow.o.

22 years agoAdd DLX target
nickc [Tue, 28 May 2002 17:56:42 +0000 (17:56 +0000)]
Add DLX target

22 years ago2002-05-28 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 28 May 2002 15:49:51 +0000 (15:49 +0000)]
2002-05-28  Elena Zannoni  <ezannoni@redhat.com>

* interp.c (sim_create_inferior): Add comment.

From Alan Matsuoka <alanm@redhat.com>:
From 2001-04-27 Jason Eckhardt <jle@cygnus.com>:
* simops.c (OP_4400): Output "mvf0f" instead of "mf0f".
(OP_4401): Output "mvf0t" instead of "mf0t".
(OP_460B): Do not output a flag register.
(OP_4609): Do not output a flag register.

22 years ago* MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to use
cagney [Tue, 28 May 2002 15:16:28 +0000 (15:16 +0000)]
* MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to use
`tr' and `sed'.  Mention that `broken' targets are not expected to
build.

22 years ago * ps.cc (usage): Fix typo.
corinna [Tue, 28 May 2002 14:59:36 +0000 (14:59 +0000)]
* ps.cc (usage): Fix typo.

22 years ago * security.cc (set_security_attribute): Call getegid32() instead of
corinna [Tue, 28 May 2002 14:58:13 +0000 (14:58 +0000)]
* security.cc (set_security_attribute): Call getegid32() instead of
getegid().
* include/cygwin/grp.h: Declare getegid32().

22 years ago * security.cc (set_security_attribute): Call getegid32() instead of
corinna [Tue, 28 May 2002 14:57:35 +0000 (14:57 +0000)]
* security.cc (set_security_attribute): Call getegid32() instead of
getegid().
* include/cygwin/grp.h: Declare getegid32().

22 years agoAdd noew about DLX contribution.
nickc [Tue, 28 May 2002 14:20:41 +0000 (14:20 +0000)]
Add noew about DLX contribution.

22 years ago Change internal gid datatype from __gid16_t to __gid32_t
corinna [Tue, 28 May 2002 14:10:49 +0000 (14:10 +0000)]
Change internal gid datatype from __gid16_t to __gid32_t
throughout.
* cygwin.din: Export new symbols chown32, fchown32, getegid32,
getgid32, getgrgid32, getgrnam32, getgroups32, initgroups32, lchown32,
setgid32, setegid32, getgrent32.
* grp.cc (grp32togrp16): New static function.
(getgrgid32): New function.
(getgrnam32): Ditto.
(getgrent32): Ditto.
(getgroups32): Change name of internal function from getgroups.
(getgroups32): New function.
(initgroups32): Ditto.
* syscalls.cc (chown32): Ditto.
(lchown32): Ditto.
(fchown32): Ditto.
(setegid32): Ditto.
(setgid32): Ditto.
* uinfo.cc (getgid32): Ditto.
(getegid32): Ditto.
* include/cygwin/grp.h: Remove declaration of getgrgid() and getgrnam().
Declare getgrgid32() and getgrnam32() instead.  Declare getgid32().

22 years agoAdd DLX target
nickc [Tue, 28 May 2002 14:07:41 +0000 (14:07 +0000)]
Add DLX target

22 years agoAdd DLX target
nickc [Tue, 28 May 2002 14:07:24 +0000 (14:07 +0000)]
Add DLX target

22 years agoAdd DLX target
nickc [Tue, 28 May 2002 14:05:38 +0000 (14:05 +0000)]
Add DLX target

22 years agoAdd DLX target
nickc [Tue, 28 May 2002 14:05:08 +0000 (14:05 +0000)]
Add DLX target

22 years agoAdd DLX target
nickc [Tue, 28 May 2002 14:04:59 +0000 (14:04 +0000)]
Add DLX target

22 years ago * include/w32api.h: Increment version to 1.5
earnie [Tue, 28 May 2002 13:24:24 +0000 (13:24 +0000)]
* include/w32api.h: Increment version to 1.5
* Makefile.in: Ditto.

22 years agoMerging MinGW changes
earnie [Tue, 28 May 2002 13:20:26 +0000 (13:20 +0000)]
Merging MinGW changes

22 years agoMerging MinGW changes
earnie [Tue, 28 May 2002 13:13:26 +0000 (13:13 +0000)]
Merging MinGW changes

22 years agoMerging MinGW changes
earnie [Tue, 28 May 2002 13:12:46 +0000 (13:12 +0000)]
Merging MinGW changes

22 years ago Remove amd-udi subdirectory - it is obsolete.
nickc [Tue, 28 May 2002 10:29:50 +0000 (10:29 +0000)]
 Remove amd-udi subdirectory - it is obsolete.

22 years ago* ps.cc (prog_name): New global variable.
cgf [Tue, 28 May 2002 03:38:36 +0000 (03:38 +0000)]
* ps.cc (prog_name): New global variable.
(longopts): Ditto.
(opts): Ditto.
(usage): New function.
(print_version): New function.
(main): Accomodate longopts and new --help, --version options.

22 years ago* autoload.cc (noload): Properly mask low order word for determining number of
cgf [Tue, 28 May 2002 02:09:14 +0000 (02:09 +0000)]
* autoload.cc (noload): Properly mask low order word for determining number of
bytes to pop.

22 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat): Minor logic cleanup.
cgf [Tue, 28 May 2002 02:00:55 +0000 (02:00 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat): Minor logic cleanup.

22 years ago* autoload.cc (LoadFuncEx): Define via new LoadFuncEx2 macro.
cgf [Tue, 28 May 2002 01:55:39 +0000 (01:55 +0000)]
* autoload.cc (LoadFuncEx): Define via new LoadFuncEx2 macro.
(LoadFuncEx2): Adapted from LoadFuncEx.  Provides control of return value for
nonexistent function.
(NtQueryObject): Declare.
(IsDebuggerPresent): Declare via LoadFuncEx2 and always return true if not
available.
* debug.h (being_debugged): Just rely on IsDebuggerPresent return value.
* dtable.cc (handle_to_fn): New function.
(dtable::init_std_file_from_handle): Attempt to derive std handle's name via
handle_to_fn.
(dtable::build_fhandler_from_name): Fill in what we can in path_conv structure
when given a handle and path doesn't exist.
* fhandler.cc (fhandler_base::open): Don't set the file pointer here.  Use
pc->exists () to determine if file exists rather than calling GetFileAttributes
again.
* fhandler.h (fhandler_base::exec_state_isknown): New method.
(fhandler_base::fstat_helper): Add extra arguments to declaration.
(fhandler_base::fstat_by_handle): Declare new method.
(fhandler_base::fstat_by_name): Declare new method.
* fhandler_disk_file (num_entries): Make __stdcall.
(fhandler_base::fstat_by_handle): Define new method.
(fhandler_base::fstat_by_name): Define new method.
(fhandler_base:fstat): Call fstat_by_{handle,name} as appropriate.
(fhandler_disk_file::fstat_helper): Accept extra arguments for filling out stat
structure.  Move handle or name specific stuff to new methods above.
(fhandler_disk_file::open): Use real_path->exists rather than calling
GetFileAttributes again.
* ntdll.h (FILE_NAME_INFORMATION): Define new structure.
(OBJECT_INFORMATION_CLASS): Partially define new enum.
(OBJECT_NAME_INFORMATION): Define new structure.
(NtQueryInformationFile): New declaration.
(NtQueryObject): New declaration.
* path.cc (path_conv::fillin): Define new method.
* path.h (path_conv::fillin): Declare new method.
(path_conv::drive_thpe): Rename from 'get_drive_type'.
(path_conv::volser): Declare new method.
(path_conv::volname): Declare new method.
(path_conv::root_dir): Declare new method.
* syscalls.cc (fstat64): Send real path_conv to fstat as second argument.

22 years ago * ld-cris/libdso-2.d: Tweak for combreloc now default on.
hp [Tue, 28 May 2002 01:44:46 +0000 (01:44 +0000)]
* ld-cris/libdso-2.d: Tweak for combreloc now default on.

22 years agodaily update
amodra [Tue, 28 May 2002 00:26:27 +0000 (00:26 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Tue, 28 May 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-05-27 Michael Chastain <mec@shout.net>
chastain [Mon, 27 May 2002 21:46:51 +0000 (21:46 +0000)]
2002-05-27  Michael Chastain  <mec@shout.net>
From Benjamin Kosnik  <bkoz@redhat.com>

* gdb.c++/m-data.cc: New file.
* gdb.c++/m-data.exp: New file.

22 years ago2002-05-27 Ben Elliston <bje@redhat.com>
bje [Mon, 27 May 2002 20:53:24 +0000 (20:53 +0000)]
2002-05-27  Ben Elliston  <bje@redhat.com>

* glue.cxx (bus_prober::label): New member.
(bus_prober ctor): Add a corresponding "label" attribute.
(probing_bus::traceAccess): Output a component label, if given.
* hw-glue-probe-bus.xml: Update documentation.

22 years ago2002-05-27 Michael Chastain <mec@shout.net>
chastain [Mon, 27 May 2002 20:07:25 +0000 (20:07 +0000)]
2002-05-27  Michael Chastain  <mec@shout.net>
From Benjamin Kosnik  <bkoz@redhat.com>

* gdb.c++/try_catch.cc: New file.
* gdb.c++/try_catch.exp: New file.

22 years ago2002-05-27 Michael Chastain <mec@shout.net>
chastain [Mon, 27 May 2002 20:06:55 +0000 (20:06 +0000)]
2002-05-27  Michael Chastain  <mec@shout.net>
From Benjamin Kosnik  <bkoz@redhat.com>

* gdb.c++/try_catch.cc: New file.
* gdb.c++/try_catch.exp: New file.

22 years ago2002-05-27 Michael Chastain <mec@shout.net>
chastain [Mon, 27 May 2002 18:00:14 +0000 (18:00 +0000)]
2002-05-27  Michael Chastain  <mec@shout.net>

* gdb.c++/local.exp: Accept more nested types in output.

22 years ago2002-05-27 Michael Chastain <mec@shout.net>
chastain [Mon, 27 May 2002 17:59:47 +0000 (17:59 +0000)]
2002-05-27  Michael Chastain  <mec@shout.net>

* gdb.c++/local.exp: Accept more nested types in output.

22 years agoInstall new elf_chaos.sc script.
nickc [Mon, 27 May 2002 17:52:54 +0000 (17:52 +0000)]
Install new elf_chaos.sc script.

22 years agoAdd missing semicolon
nickc [Mon, 27 May 2002 16:16:00 +0000 (16:16 +0000)]
Add missing semicolon

22 years agoFix transaltion problems.
nickc [Mon, 27 May 2002 15:46:09 +0000 (15:46 +0000)]
Fix transaltion problems.

22 years agooops - omitted from previous delta
nickc [Mon, 27 May 2002 15:16:25 +0000 (15:16 +0000)]
oops - omitted from previous delta

22 years agoNew Swedish translation
nickc [Mon, 27 May 2002 15:15:46 +0000 (15:15 +0000)]
New Swedish translation

22 years agoOnly perform access checks if 'check' is set.
nickc [Mon, 27 May 2002 14:11:53 +0000 (14:11 +0000)]
Only perform access checks if 'check' is set.
Report unknown machine numbers.
Formatting tidy ups.

22 years agoFixed date in my last ChangeLog entry
mludvig [Mon, 27 May 2002 13:39:15 +0000 (13:39 +0000)]
Fixed date in my last ChangeLog entry

22 years ago2002-05-24 Michal Ludvig <mludvig@suse.cz>
mludvig [Mon, 27 May 2002 13:37:38 +0000 (13:37 +0000)]
2002-05-24  Michal Ludvig  <mludvig@suse.cz>

* x86-64-tdep.c (x86_64_skip_prologue): Remove obsolete note.
Let PC point right after the prologue before looking up symbols.

22 years agoThumb BL instruction: Do not set LR to pc + 2, it has already been advanced.
nickc [Mon, 27 May 2002 13:30:35 +0000 (13:30 +0000)]
Thumb BL instruction: Do not set LR to pc + 2, it has already been advanced.

22 years ago * security.cc (lsa2str): New function.
corinna [Mon, 27 May 2002 11:58:46 +0000 (11:58 +0000)]
* security.cc (lsa2str): New function.
(get_priv_list): Call lsa2str instead of sys_wcstombs.

22 years ago * syscalls.cc (seteuid): Do not take allow_ntsec into account.
corinna [Mon, 27 May 2002 11:48:13 +0000 (11:48 +0000)]
* syscalls.cc (seteuid): Do not take allow_ntsec into account.
Attempt to use an existing or new token even when the uid
matches orig_uid, but the gid is not in the process token.
Major reorganization after several incremental changes.
(setegid): Do not take allow_ntsec into account. Minor
reorganization after several incremental changes.

22 years ago2002-05-27 René Møller Fonseca <fonseca@users.sourceforge.net>
dannysmith [Mon, 27 May 2002 09:44:15 +0000 (09:44 +0000)]
2002-05-27  René Møller Fonseca  <fonseca@users.sourceforge.net>

* include/winreg.h: (RegConnectRegistry[AW]): Replace
LP[W]STR with LPC[W]STR.
(REG_QWORD, REG_QWORD_LITTLE_ENDIAN): Add defines.
Clean up whitespace.

22 years ago2002-05-27 Martin M. Hunt <hunt@redhat.com>
hunt [Mon, 27 May 2002 09:17:22 +0000 (09:17 +0000)]
2002-05-27  Martin M. Hunt  <hunt@redhat.com>

* i386-tdep.c (i386_register_virtual_type): Return
builtin_type_vec128i for SSE registers.

* gdbtypes.h (builtin_type_vec128i): Declare.

* gdbtypes.c (build_builtin_type_vec128i): New function.
(builtin_type_v2_double, builtin_type_v4_int64): New types.
(builtin_type_vec128i): New type for SSE2 128-bit registers.
(build_gdbtypes): Initialize new builtin vector types.
(_initialize_gdbtypes): Register new vector types with gdbarch.

22 years ago2002-05-27 Rick Rankin <rick_rankin@yahoo.com>
dannysmith [Mon, 27 May 2002 08:49:23 +0000 (08:49 +0000)]
2002-05-27  Rick Rankin  <rick_rankin@yahoo.com>

* include/winnls.h: Add #define for LOCALE_RETURN_NUMBER.

22 years ago * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
amodra [Mon, 27 May 2002 08:40:34 +0000 (08:40 +0000)]
* unwind-ia64.c (unw_print_brmask): Don't use sprintf.
(unw_print_grmask): Likewise.
(unw_print_frmask): Likewise.

22 years ago * ldlang.c (lang_size_sections_1): Move check for conflicting load
rsandifo [Mon, 27 May 2002 08:22:06 +0000 (08:22 +0000)]
* ldlang.c (lang_size_sections_1): Move check for conflicting load
addresses and regions from here...
(lang_get_regions): ...to this new function.
(lang_leave_output_section_statement): Use lang_get_regions.
(lang_leave_overlay): Likewise.
* mri.c (mri_draw_tree): Pass null as last argument to
lang_leave_output_section_statement.
* emultempl/elf32.em (gld*_place_orphan): Likewise.
* emultempl/mmo.em (mmo_place_orphan): Likewise.
* emultempl/pe.em (gld*_place_orphan): Likewise.

22 years ago* debug.h (being_debugged): New macro.
cgf [Mon, 27 May 2002 02:25:27 +0000 (02:25 +0000)]
* debug.h (being_debugged): New macro.
* dtable.cc (dtable::extend): Use new macro.
* exceptions.cc (try_to_debug): Ditto.
* strace.cc (strace::hello): Only output debugging info when we think we're
being debugged.

22 years ago* winsup.h: Remove duplicate declarations of malloc_lock and malloc_unlock.
cgf [Mon, 27 May 2002 02:09:17 +0000 (02:09 +0000)]
* winsup.h: Remove duplicate declarations of malloc_lock and malloc_unlock.

22 years agoupdate comment
cgf [Mon, 27 May 2002 02:06:16 +0000 (02:06 +0000)]
update comment

22 years ago2002-05-26 Michael Chastain <mec@shout.net>
chastain [Mon, 27 May 2002 02:03:35 +0000 (02:03 +0000)]
2002-05-26  Michael Chastain  <mec@shout.net>

* gdb.base/call-rt-st.exp: Fix typo in brace quoting.

22 years ago2002-05-26 Michael Chastain <mec@shout.net>
chastain [Mon, 27 May 2002 02:02:53 +0000 (02:02 +0000)]
2002-05-26  Michael Chastain  <mec@shout.net>

* gdb.base/call-rt-st.exp: Fix typo in brace quoting.

22 years ago* strace.cc (attach_process): Don't tell process to start stracing here.
cgf [Mon, 27 May 2002 01:49:08 +0000 (01:49 +0000)]
* strace.cc (attach_process): Don't tell process to start stracing here.
(proc_child): Do it here, instead, after first debug event.  This should work
around inexplicable races with DebugActiveProcess.
(dostrace): Pass any pid argument to proc_child.

22 years ago* MAINTAINERS: ns32k is not longer an obsolete candidate,
thorpej [Mon, 27 May 2002 01:13:11 +0000 (01:13 +0000)]
* MAINTAINERS: ns32k is not longer an obsolete candidate,
since it has been multi-arch'd.
* NEWS: Note that ns32k-*-* is now partial multi-arch.
Move Alpha and VAX multi-arch news entries to same section
as other multi-arch news.

22 years ago* ns32k-tdep.c: include gdbtypes.h, inferior.h, regcache.h,
thorpej [Mon, 27 May 2002 01:05:15 +0000 (01:05 +0000)]
* ns32k-tdep.c: include gdbtypes.h, inferior.h, regcache.h,
target.s, arch-utils.h, ns32k-tdep.h.  Make many functions
static.  Rename some register numbers to put them in ns32k-tdep
private namespace.
(ns32k_get_saved_register, ns32k_gdbarch_init_32082,
ns32k_gdbarch_init_32382, ns32k_gdbarch_init, ns32k_dump_tdep): New
functions.
(_initialize_ns32k_tdep): Use gdbarch_register.
* ns32k-tdep.h: New file.
* ns32knbsd-tdep.c: New file.
* config/ns32k/nbsdaout.mt (TDEPFILES): Add ns32knbsd-tdep.o.
* config/ns32k/tm-nbsd.h: Include "ns32k/tm-ns32k.h".
(IN_SOLIB_CALL_TRAMPOLINE, REGISTER_NAME, NUM_REGS,
REGISTER_BYTES, REGISTER_BYTE): Remove.
* config/ns32k/tm-ns32k.h: New file.
* config/ns32k/tm-umax.h: Remove.

22 years ago*** empty log message ***
gdbadmin [Mon, 27 May 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Mon, 27 May 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago* ns32k-tdep.c (ns32k_saved_pc_after_call,
thorpej [Sun, 26 May 2002 23:06:06 +0000 (23:06 +0000)]
* ns32k-tdep.c (ns32k_saved_pc_after_call,
ns32k_store_struct_return, ns32k_extract_return_value,
ns32k_store_return_value, ns32k_extract_struct_value_address): New
functions.
* config/ns32k/tm-umax.h (SAVED_PC_AFTER_CALL): Define as
ns32k_saved_pc_after_call.
(STORE_STRUCT_RETURN): Define as ns32k_store_struct_return.
(EXTRACT_RETURN_VALUE): Define as ns32k_extract_return_value.
(STORE_RETURN_VALUE): Define as ns32k_store_return_value.
(EXTRACT_STRUCT_VALUE_ADDRESS): Define as
ns32k_extract_struct_value_address.

22 years ago* ns32k-tdep.c (ns32k_call_dummy_words, sizeof_ns32k_call_dummy_words,
thorpej [Sun, 26 May 2002 22:27:00 +0000 (22:27 +0000)]
* ns32k-tdep.c (ns32k_call_dummy_words, sizeof_ns32k_call_dummy_words,
ns32k_fix_call_dummy): New.
* config/ns32k/tm-umax.h (CALL_DUMMY_WORDS): Define as
ns32k_call_dummy_words.
(SIZEOF_CALL_DUMMY_WORDS): Define as sizeof_ns32k_call_dummy_words.
(CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_ADDR,
CALL_DUMMY_NARGS): Remove.
(FIX_CALL_DUMMY): Define as ns32k_fix_call_dummy.

22 years ago* ns32k-tdep.c (ns32k_breakpoint_from_pc, ns32k_frame_chain,
thorpej [Sun, 26 May 2002 20:31:04 +0000 (20:31 +0000)]
* ns32k-tdep.c (ns32k_breakpoint_from_pc, ns32k_frame_chain,
ns32k_frame_saved_pc, ns32k_frame_args_address,
ns32k_frame_locals_address, ns32k_frame_init_saved_regs,
ns32k_push_dummy_frame, ns32k_pop_frame): New functions.
* config/ns32k/tm-nbsd.h (FRAME_SAVED_PC): Remove.
* config/ns32k/tm-umax.h (INNER_THAN): Define as core_addr_lessthan.
(BREAKPOINT_FROM_PC): Define as ns32k_breakpoint_from_pc.
(BREAKPOINT): Remove..
(FRAME_CHAIN): Define as ns32k_frame_chain.
(FRAME_SAVED_PC): Define as ns32k_frame_saved_pc.
(FRAME_ARGS_ADDRESS): Define as ns32k_frame_args_address.
(FRAME_LOCALS_ADDRESS): Define as ns32k_frame_locals_address.
(FRAME_FIND_SAVED_REGS): Remove.
(FRAME_INIT_SAVED_REGS): Define as ns32k_frame_init_saved_regs.
(PUSH_DUMMY_FRAME): Define as ns32k_push_dummy_frame.
(POP_FRAME): Define as ns32k_pop_frame.

22 years ago * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA
ths [Sun, 26 May 2002 18:46:36 +0000 (18:46 +0000)]
* config/tc-mips.c (mips_emit_delays): Replace magic constant for RA
by the define. Remove superfluous check of mips_opts.mips16.
(append_insn): Likewise. Canonicalize variable increments.
(macro_build): Canonicalize variable increments.
(macro_build_lui): Likewise.
(load_register): Likewise.
(load_address): Move pointer initialization.
(macro): Move pointer to a more local scope. Canonicalize variable
increments. Better comments. Replace magic constant for RA by the
define.
(macro2): Replace magic constant for RA by the define. Canonicalize
variable increments.
(mips_ip): Canonicalize variable increments.
(mips16_ip): Replace magic constant for RA by the define.
(my_getSmallParser): Canonicalize variable increments/decrements.
(my_getPercentOp): Likewise.
(my_getSmallExpression): Likewise.
(s_align): Likewise.
(s_mipsset): Likewise.
(s_cpsetup): Likewise.
(s_insn): Remove superfluous check of mips_opts.mips16.
(s_mips_stab): Likewise.
(mips_handle_align): Canonicalize variable increments.
(s_mips_ent): Likewise.
(s_mips_end): Add comment.

22 years ago* ns32k-tdep.c (ns32k_register_byte_32082,
thorpej [Sun, 26 May 2002 17:59:36 +0000 (17:59 +0000)]
* ns32k-tdep.c (ns32k_register_byte_32082,
ns32k_register_byte_32382, ns32k_register_raw_size,
ns32k_register_virtual_size, ns32k_register_virtual_type): New
functions.
* config/ns32k/tm-nbsd.h (REGISTER_BYTE): Define as
ns32k_register_byte_32382.
* config/ns32k/tm-umax.h: Update copyright years.
(REGISTER_BYTE): Define as ns32k_register_byte_32082.
(REGISTER_RAW_SIZE): Define as ns32k_register_raw_size.
(REGISTER_VIRTUAL_SIZE): Define as ns32k_register_virtual_size.
(REGISTER_VIRTUAL_TYPE): Define as ns32k_register_virtual_type.
(ns32k_get_enter_addr): Fix prototype.

22 years ago * arsup.c: Remove ARGSUSED.
kazu [Sun, 26 May 2002 14:55:03 +0000 (14:55 +0000)]
* arsup.c: Remove ARGSUSED.
* debug.c: Likewise.
* ieee.c: Likewise.
* nlmconv.c: Likewise.
* prdbg.c: Likewise.
* stabs.c: Likewise.
* wrstabs.c: Likewise.

22 years ago* ns32k-tdep.c: Update copyright years.
thorpej [Sun, 26 May 2002 09:29:33 +0000 (09:29 +0000)]
* ns32k-tdep.c: Update copyright years.
(ns32k_register_name_32082): New function.
(ns32k_register_name_32382): Ditto.
* config/ns32k/tm-nbsd.h (REGISTER_NAMES): Remove.
(REGISTER_NAME): Define as ns32k_register_name_32382.
* config/ns32k/tm-umax.h (REGISTER_NAMES): Remove.
(REGISTER_NAME): Define as ns32k_register_name_32082.

22 years agogas:
thorpej [Sun, 26 May 2002 05:04:51 +0000 (05:04 +0000)]
gas:
* configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
* configure: Regenerate.

ld:
* configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.

22 years ago*** empty log message ***
gdbadmin [Sun, 26 May 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Sun, 26 May 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago * ldemul.c: Fix formatting.
kazu [Sat, 25 May 2002 20:39:24 +0000 (20:39 +0000)]
* ldemul.c: Fix formatting.
* ldfile.c: Likewise.
* pe-dll.c: Likewise.
* pe-dll.h: Likewise.