OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years agoRemove accidental enabling of bfd_gas=yes for sh-coff targets.
nickc [Tue, 21 May 2002 20:01:51 +0000 (20:01 +0000)]
Remove accidental enabling of bfd_gas=yes for sh-coff targets.

22 years ago * filemode.c: Fix formatting.
kazu [Tue, 21 May 2002 19:34:57 +0000 (19:34 +0000)]
* filemode.c: Fix formatting.
* ieee.c: Likewise.
* is-ranlib.c: Likewise.
* is-strip.c: Likewise.
* maybe-ranlib.c: Likewise.
* maybe-strip.c: Likewise.
* nlmconv.c: Likewise.
* nm.c: Likewise.
* not-ranlib.c: Likewise.
* not-strip.c: Likewise.
* objcopy.c: Likewise.
* objdump.c: Likewise.

22 years ago2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
fitzsim [Tue, 21 May 2002 18:20:17 +0000 (18:20 +0000)]
2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>

* configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.

22 years ago * Makefile.in: Increment VERSION to 1.4.
earnie [Tue, 21 May 2002 16:50:12 +0000 (16:50 +0000)]
* Makefile.in: Increment VERSION to 1.4.
(conf_prefix): New variable.
(bindist): Modify target to use $(conf_prefix).

22 years ago * objdump.c (dump_headers): Fix output formatting for ELF32
ths [Tue, 21 May 2002 16:21:16 +0000 (16:21 +0000)]
* objdump.c (dump_headers): Fix output formatting for ELF32
architectures in a BFD64 enabled toolchain.
* bfd/bfd.c (bfd_get_arch_size): Remove bfd_set_error call for
non-ELF targets.

22 years ago * elf-bfd.h (elf_backend_emit_relocs): Change prototype to return
ths [Tue, 21 May 2002 16:03:45 +0000 (16:03 +0000)]
* elf-bfd.h (elf_backend_emit_relocs): Change prototype to return
an error value.
* elflink.h (elf_link_output_relocs): Likewise. Improve error message.
return with false on error.
(elf_link_input_bfd): Check reloc_emitter return value.

22 years ago* NEWS: Note new MIPS NetBSD native configuration.
thorpej [Tue, 21 May 2002 15:58:39 +0000 (15:58 +0000)]
* NEWS: Note new MIPS NetBSD native configuration.
* configure.host (mips*-*-netbsd*): New host.
* configure.tgt (mips*-*-netbsd*): New target.
* mipsnbsd-nat.c: New file.
* mipsnbsd-tdep.c: New file.
* mipsnbsd-tdep.h: New file.
* config/mips/nbsd.mh: New file.
* config/mips/nbsd.mt: New file.
* config/mips/nm-nbsd.h: New file.
* config/mips/tm-nbsd.h: New file.

22 years ago* Makefile.in (SFILES): Add osabi.c.
thorpej [Tue, 21 May 2002 15:36:01 +0000 (15:36 +0000)]
* Makefile.in (SFILES): Add osabi.c.
(COMMON_OBS): Add osabi.o.
(osabi.o): New dependency list.
* osabi.c: New file.
* osabi.h: New file.
* doc/gdbint.texinfo: Document new generic OS ABI framework.

* Makefile.in (alpha_tdep_h): Define and use instead of
alpha-tdep.h.
* alpha-tdep.c (alpha_abi_names, process_note_abi_tag_sections,
get_elfosabi, alpha_abi_handler_list, alpha_gdbarch_register_os_abi):
Remove.
(alpha_gdbarch_init, alpha_dump_tdep): Use generic OS ABI framework.
* alpha-tdep.h: Include osabi.h.
(alpha_abi): Remove.
(gdbarch_tdep): Use generic OS ABI framework.
* alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Use
gdbarch_register_osabi.
* alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Likewise.
* alphafbsd-tdep.c (_initialize_alphafbsd_tdep): Likewise.
* alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Likewise.

* Makefile.in (sh_tdep_h): Add osabi.h.
* sh-tdep.h (sh_osabi): Remove.
(gdbarch_tdep): Use generic OS ABI framework.
* sh-tdep.c (sh_osabi_names, process_note_abi_tag_sections,
sh_osabi_handler_list, sh_gdbarch_register_os_abi): Remove.
(sh_gdbarch_init, sh_dump_tdep): Use generic OS ABI framework.
* shnbsd-tdep.c (_initialize_shnbsd_tdep): Use gdbarch_register_osabi.

* Makefile.in (arm_tdep_h): Define and use instead of arm-tdep.h.
* arm-linux-tdep.c (_initialize_arm_linux_tdep): Use
gdbarch_register_osabi.
* arm-tdep.c (arm_abi_names, process_note_abi_tag_sections,
arm_abi_handler_list, arm_gdbarch_register_os_abi): Remove.
(get_elfosabi): Rename to...
(arm_elf_osabi_sniffer): ...this.  Adjust to use generic OS
ABI framework support routines.
(arm_gdbarch_init): Use generic OS ABI framework.
(arm_dump_tdep): Likewise.
(_initialize_arm_tdep): Likewise.
* arm-tdep.h: Include osabi.h.
(arm_abi): Remove.
(gdbarch_tdep): Remove arm_abi and abi_name members.  Add
osabi member.
(arm_gdbarch_register_os_abi): Remove prototype.
* armnbsd-tdep.c (arm_netbsd_aout_osabi_sniffer): New function.
(_initialize_arm_netbsd_tdep): Use gdbarch_register_osabi.

* Makefile.in (mips-tdep.o): Add osabi.h to dependency list.
* mips-tdep.c: Include osabi.h.
(gdbarch_tdep, mips_gdbarch_init, mips_dump_tdep): Use generic
OS ABI framework.

22 years agobfd:
thorpej [Tue, 21 May 2002 15:10:53 +0000 (15:10 +0000)]
bfd:
* config.bfd (armeb-*-netbsdelf*): New target.

ld:
* Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
(earmelfb_nbsd.c): New rule.
* Makefile.in: Regenerate.
* configure.tgt (armeb-*-netbsdelf*): New target.
(arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
(arm-*-netbsd*): Likewise.
* emulparams/armelfb_nbsd.sh: New file.

22 years ago * security.cc (open_local_policy): Initialize lsa to
corinna [Tue, 21 May 2002 14:50:24 +0000 (14:50 +0000)]
    * security.cc (open_local_policy): Initialize lsa to
INVALID_HANDLE_VALUE instead of NULL.
(get_logon_server_and_user_domain): Test for INVALID_HANDLE_VALUE
instead of NULL.
(create_token): Both of the above.

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

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

22 years ago * h8300-tdep.c: Fix formatting.
kazu [Mon, 20 May 2002 18:40:44 +0000 (18:40 +0000)]
* h8300-tdep.c: Fix formatting.

22 years ago * debug.c: Fix formatting.
kazu [Mon, 20 May 2002 18:23:04 +0000 (18:23 +0000)]
* debug.c: Fix formatting.
* debug.h: Likewise.
* dlltool.c: Likewise.
* dllwrap.c: Likewise.
* emul_aix.c: Likewise.
* emul_vanilla.c: Likewise.

22 years ago * mi-main.c (captured_mi_execute_command): Add uiout parameter.
kseitz [Mon, 20 May 2002 18:09:56 +0000 (18:09 +0000)]
    * mi-main.c (captured_mi_execute_command): Add uiout parameter.
        "data" is now a structure which is used to pass data to/from this
        function to mi_execute_command.
        Modify function to comply with requirements from catch_exceptions.
        Store real return result and command's return result in data.
        (mi_execute_command): Use catch_exceptions.
        Use enum to handle actions to be performed instead of overloading
        catch_errors return result and the mi return result.

22 years ago2002-05-20 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Mon, 20 May 2002 17:45:41 +0000 (17:45 +0000)]
2002-05-20  Elena Zannoni  <ezannoni@redhat.com>

* rs6000-tdep.c (rs6000_do_registers_info): Simplify code for
printing vector registers.

22 years agoReplace deprecated command line switches with their modern equivalents.
nickc [Mon, 20 May 2002 17:05:34 +0000 (17:05 +0000)]
Replace deprecated command line switches with their modern equivalents.

22 years agoAdd support for target specific command line switches to old-style simualtors.
nickc [Mon, 20 May 2002 14:32:48 +0000 (14:32 +0000)]
Add support for target specific command line switches to old-style simualtors.
Make use of this support in the ARM simulator to add a --swi-support= switch
to select whcih SWI protocols to emulate.

22 years ago * elf64-ppc.c (ppc_build_one_stub): Point undefined function syms
amodra [Mon, 20 May 2002 13:12:40 +0000 (13:12 +0000)]
* elf64-ppc.c (ppc_build_one_stub): Point undefined function syms
at the plt call stub.

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

* gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.

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

* gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.

22 years ago2002-05-17 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Mon, 20 May 2002 01:07:14 +0000 (01:07 +0000)]
2002-05-17  Elena Zannoni  <ezannoni@redhat.com>

       * configure.in (configdirs): Add gdb.arch.
       * configure: Regenerate.

22 years ago2002-05-20 Philip Aston <philipa@mail.com>
dannysmith [Mon, 20 May 2002 00:57:17 +0000 (00:57 +0000)]
2002-05-20  Philip Aston  <philipa@mail.com>

* include/pbt.h (PBT_APMRESUMESUSPEND): Correct value is 7.

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

* include/lmaccess.h: (NetAccess*, NetGroup*,
NetLocalGroup*, NetUser*, NetGet*, INetLogonControl[2],
NetQueryDisplayInfotmationIndex): Replace LPWSTR with LPCWSTR.

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

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

22 years ago * cpu-mips.c (mips_compatible): Don't try to check machine
ths [Sun, 19 May 2002 21:06:34 +0000 (21:06 +0000)]
* cpu-mips.c (mips_compatible): Don't try to check machine
compatibility.

22 years agoFrom Fernando Nasser:
cagney [Sun, 19 May 2002 20:11:16 +0000 (20:11 +0000)]
From Fernando Nasser:
* remote.c (remote_async_open_1): Re-throw the exception when the
connection fails.
(remote_cisco_open): Ditto.
(remote_open_1): Ditto.

22 years ago* remote.c (remote_start_remote_dummy): Add uiout parameter.
cagney [Sun, 19 May 2002 18:32:09 +0000 (18:32 +0000)]
* remote.c (remote_start_remote_dummy): Add uiout parameter.
(remote_start_remote): Add uiout parameter.  Pass through to
remote_start_remote_dummy.
(remote_open_1): Use catch_exception instead of catch_errors.
(remote_async_open_1): Ditto.
(remote_cisco_open): Ditto.

22 years ago* remote.c (remote_start_remote): Replace PTR with void pointer.
cagney [Sun, 19 May 2002 16:56:03 +0000 (16:56 +0000)]
* remote.c (remote_start_remote): Replace PTR with void pointer.
(sigint_remote_twice_token, sigint_remote_token): Ditto.  Make
static.

22 years ago * addr2line.c: Fix formatting.
kazu [Sun, 19 May 2002 16:17:53 +0000 (16:17 +0000)]
* addr2line.c: Fix formatting.
* ar.c: Likewise.
* arsup.c: Likewise.
* arsup.h: Likewise.
* binemul.c: Likewise.
* binemul.h: Likewise.
* bucomm.c: Likewise.
* coffdump.c: Likewise.
* coffgrok.c: Likewise.
* coffgrok.h: Likewise.

22 years ago * compile.c: Fix formatting.
kazu [Sun, 19 May 2002 12:52:54 +0000 (12:52 +0000)]
* compile.c: Fix formatting.

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

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

22 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat): Make handling of nlink
cgf [Sat, 18 May 2002 21:07:18 +0000 (21:07 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat): Make handling of nlink
consistent for remote files.

22 years ago* strace.cc (add_child): Use calloc since new requires working libstdc++.a.
cgf [Sat, 18 May 2002 21:05:10 +0000 (21:05 +0000)]
* strace.cc (add_child): Use calloc since new requires working libstdc++.a.
(fhandler_disk_file::fstat): Ditto for delete/free.

22 years ago* path.cc (path_conv::check): Always set executable bit for executable
cgf [Sat, 18 May 2002 20:27:49 +0000 (20:27 +0000)]
* path.cc (path_conv::check): Always set executable bit for executable
extension.

22 years ago* gdb_indent.sh: Allow the script to be run in the sim directory.
cagney [Sat, 18 May 2002 19:50:19 +0000 (19:50 +0000)]
* gdb_indent.sh: Allow the script to be run in the sim directory.

22 years ago* config/i386/nm-cygwin.h (NO_PTRACE_H): Remove define.
kettenis [Sat, 18 May 2002 19:29:35 +0000 (19:29 +0000)]
* config/i386/nm-cygwin.h (NO_PTRACE_H): Remove define.
* config/i386/nm-go32.h (NO_PTRACE_H): Remove define.

22 years agoAdd -bnortl and -bnortllib support for AIX.
trix [Sat, 18 May 2002 16:56:26 +0000 (16:56 +0000)]
Add -bnortl and -bnortllib support for AIX.

22 years agoFix C_FILE auxent.
trix [Sat, 18 May 2002 13:13:12 +0000 (13:13 +0000)]
Fix C_FILE auxent.

22 years ago * app.c: Fix formatting.
kazu [Sat, 18 May 2002 12:53:29 +0000 (12:53 +0000)]
* app.c: Fix formatting.
* as.c: Likewise.
* ehopt.c: Likewise.
* expr.c: Likewise.
* input-file.c: Likewise.
* listing.c: Likewise.
* macro.h: Likewise.
* stabs.c: Likewise.
* symbols.c: Likewise.

22 years ago * compile.c: Fix formatting.
kazu [Sat, 18 May 2002 11:40:19 +0000 (11:40 +0000)]
* compile.c: Fix formatting.

22 years agoremove white space
cgf [Sat, 18 May 2002 06:10:16 +0000 (06:10 +0000)]
remove white space

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

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

22 years ago2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 17 May 2002 23:39:36 +0000 (23:39 +0000)]
2002-05-17  Jeff Johnston  <jjohnstn@redhat.com>

* Makefile.am: Copy and install headers from sys/machine/include
directory.  Also pass $toollibdir to lower-level directories.
* Makefile.in: Regenerated.
* libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
stderr to use _REENT macro instead of _impure_ptr directly.
* libc/include/sys/config.h[__i386__][__linux__]: Define
__DYNAMIC_REENT__.
* libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
call to __getreent() function if !__SINGLE_THREAD__ and
__DYNAMIC_REENT__ is set.
* libc/reent/Makefile.am: Add support for getreent.c.
* libc/reent/Makefile.in: Regenerated.
* libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
* libc/sys/linux/Makefile.am: Add support for new files.
* libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/configure: Ditto.
* libc/sys/linux/io.c: Add poll syscall.  Also weak-alias
__close, __read, __write, __poll, __open, __lseek, __fcntl from
their __libc_ counterparts.
* libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
and weak-alias to regular names.
* libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
to pread64 and __pread64.
* libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
* libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
weak-alias to pwrite64.
* libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
__libc_sched_getscheduler, __libc_sched_get_priority_max,
__libc_sched_get_priority_min, and __libc_sched_setschedule to
name with __ instead of __libc_.
* libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
* libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
to raise.
* libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
__libc_send to __send.
* libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
__gettimeofday.
* libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
it to wait.  Rename wait3 to __libc_wait3 and weak-alias it to wait3.
* libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
type and typedef __jmp_buf to jmp_buf.
* libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
setjmp.S.
* libc/sys/linux/machine/i386/Makefile.in: Regenerated.
* libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
section.
* libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
prefix for function macros and then use weak_alias() to regular names.
* libc/sys/linux/machine/i386/syscall.h: Ditto.
* libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
* libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
to be flockfile() and funlockfile() respectively.
* libc/sys/linux/sys/types.h
* libc/reent/getreent.c: New file.
* libc/sys/linux/flockfile.c: Ditto.
* libc/sys/linux/funlockfile.c: Ditto.
* libc/sys/linux/getreent.c: Ditto.
* libc/sys/linux/pread.c: Ditto.
* libc/sys/linux/pwrite.c: Ditto.
* libc/sys/linux/raise.c: Ditto.
* libc/sys/linux/system.c: Ditto.
* libc/sys/linux/tcdrain.c: Ditto.
* libc/sys/linux/machine/i386/i386mach.h: Ditto.
* libc/sys/linux/machine/i386/setjmp.S: Ditto.
* libc/sys/linux/machine/i386/syscalls.c: Ditto.
* libc/sys/linux/machine/i386/weakalias.h: Ditto.
* libc/sys/linux/machine/i386/include/setjmp.h: Ditto.

22 years ago* corelow.c (core_open): Only call set_gdbarch_from_file if
kettenis [Fri, 17 May 2002 23:06:09 +0000 (23:06 +0000)]
* corelow.c (core_open): Only call set_gdbarch_from_file if
exec_bfd is NULL.

22 years ago* gdb.base/completion.exp: Recognize the more detailed error
jimb [Fri, 17 May 2002 22:03:32 +0000 (22:03 +0000)]
* gdb.base/completion.exp: Recognize the more detailed error
messages produced by the macro expander's lexical analyzer.

22 years ago2002-05-17 Ben Elliston <bje@redhat.com>
bje [Fri, 17 May 2002 21:35:24 +0000 (21:35 +0000)]
2002-05-17  Ben Elliston  <bje@redhat.com>

* sidcomp.cache/refill.exp: New test.

22 years ago2002-05-17 Ben Elliston <bje@redhat.com>
bje [Fri, 17 May 2002 21:28:14 +0000 (21:28 +0000)]
2002-05-17  Ben Elliston  <bje@redhat.com>

* Makefile.am (DEJAGNUTESTS): Add refill.exp.
* cache.h (cache_component::refill_latency): New member.
* cache.cxx (cache_component::read_line): Add refill latency.
(cache_component::cache_component): Initialise it and add a
corresponding "refill-latency" attribute.
* hw-cache.xml (memory latency) : Document refill latency.

22 years ago * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
fitzsim [Fri, 17 May 2002 20:13:37 +0000 (20:13 +0000)]
* newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
* newlib/libc/sys/h8300hms/read.c: New file.  Magic trap 0xC8 for sim.
* newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
* newlib/libs/sys/h8300hms/sys/syscall.h: New file.

22 years agoFix call of read_relative_register_raw_bytes
avolkov [Fri, 17 May 2002 19:39:52 +0000 (19:39 +0000)]
Fix call of read_relative_register_raw_bytes

22 years ago* fhandler.cc (fhandler_base::lseek): Avoid calling SetFilePointer with high
cgf [Fri, 17 May 2002 19:30:50 +0000 (19:30 +0000)]
* fhandler.cc (fhandler_base::lseek): Avoid calling SetFilePointer with high
order part of 64 bit address on OS's which do not support that kind of
operation.  Otherwise Windows 95 will become confused.

22 years ago* compile.c: Add absented opcodes: LDC, STC, EEPMOV, TAS.
avolkov [Fri, 17 May 2002 19:22:14 +0000 (19:22 +0000)]
* compile.c: Add absented opcodes: LDC, STC, EEPMOV, TAS.

22 years agoh8300: Add support of EXR register
avolkov [Fri, 17 May 2002 19:19:22 +0000 (19:19 +0000)]
h8300: Add support of EXR register

22 years ago* h8300s now new target, not alias of h8300h
avolkov [Fri, 17 May 2002 19:09:12 +0000 (19:09 +0000)]
* h8300s now new target, not alias of h8300h

22 years ago* h8300.h: Corrected defs of all control regs and eepmov instr.
avolkov [Fri, 17 May 2002 19:01:03 +0000 (19:01 +0000)]
* h8300.h: Corrected defs of all control regs and eepmov instr.

22 years ago*compile.c: Add additional CCR flags (I,UI,H,U)
avolkov [Fri, 17 May 2002 18:55:13 +0000 (18:55 +0000)]
*compile.c: Add additional CCR flags (I,UI,H,U)

22 years ago*h8300-tdep.c: Add additional CCR flags (I,UI,H,U)
avolkov [Fri, 17 May 2002 18:52:56 +0000 (18:52 +0000)]
*h8300-tdep.c: Add additional CCR flags (I,UI,H,U)

22 years ago* compile.c: Change literal regnumbers to REGNUMS.
avolkov [Fri, 17 May 2002 18:47:14 +0000 (18:47 +0000)]
* compile.c: Change literal regnumbers to REGNUMS.

22 years ago* Change literal regno in h8300-tdep.c
avolkov [Fri, 17 May 2002 18:44:12 +0000 (18:44 +0000)]
* Change literal regno in h8300-tdep.c

22 years ago* NEWS: Note addition of macro support.
jimb [Fri, 17 May 2002 18:02:17 +0000 (18:02 +0000)]
* NEWS: Note addition of macro support.

22 years ago* gdb.texinfo (C Preprocessor Macros): New chapter.
jimb [Fri, 17 May 2002 18:00:02 +0000 (18:00 +0000)]
* gdb.texinfo (C Preprocessor Macros): New chapter.
Include it in the main menu.
(Contributors): Credit Jim Blandy with macro support.
(Compilation): Explain how to get macro information into the
executable.
(Expressions): Note that preprocessor macros are expanded.

22 years agoExpand preprocessor macros in C expressions.
jimb [Fri, 17 May 2002 17:57:46 +0000 (17:57 +0000)]
Expand preprocessor macros in C expressions.
* c-lang.h: #include "macroexp.h", for macro_lookup_ftype.
(scan_macro_expansion, scanning_macro_expansion,
finished_macro_expansion): New function declarations.
(expression_macro_lookup_func, expression_macro_lookup_baton): New
variable declarations.
* parser-defs.h (expression_context_pc): New declaration.
* parse.c (expression_context_pc): New variable.
(parse_exp_1): Set expression_context_pc, as well as
expression_context_block.
* c-exp.y (yylex): If we're not already reading the result of a
macro expansion, try to macro-expand the next token.  When we're
done scanning a macro expansion, switch back to the mainline text.
Commas and `if's in a macro's expansion don't terminate the input.
* c-lang.c: #include "macroscope.h" and "gdb_assert.h".
(macro_original_text, macro_expanded_text,
expression_macro_lookup_func, expression_macro_lookup_baton): New
variables.
(scan_macro_expansion, scanning_macro_expansion,
finished_macro_expansion, scan_macro_cleanup, null_macro_lookup,
c_preprocess_and_parse): New functions.
(c_language_defn, cplus_language_defn, asm_language_defn): Call
c_preprocess_and_parse, instead of c_parse.
* Makefile.in (c_lang_h): Note that this #includes macroexp.h.
(c-lang.o): Note dependency on macroscope.h and gdb_assert.h.

22 years ago * cpu/powerpc.cpu: New file.
jrydberg [Fri, 17 May 2002 15:35:51 +0000 (15:35 +0000)]
    * cpu/powerpc.cpu: New file.

22 years agoprint_insn_sh cleanup:
amylaar [Fri, 17 May 2002 14:36:41 +0000 (14:36 +0000)]
print_insn_sh cleanup:

include:
* dis-asm.h (print_insn_shl, print_insn_sh64l): Remove prototype.
gdb:
* sh-tdep.c (gdb_print_insn_sh64): Delete.
(gdb_print_insn_sh): Just set info->endian and use print_insn_sh.
(sh_gdbarch_init): Always use gdb_print_insn_sh.
opcodes:
* disassemble.c (disassembler): Just use print_insn_sh for bfd_arch_sh.
* sh-dis.c (LITTLE_BIT): Delete.
(print_insn_sh, print_insn_shl): Deleted.
(print_insn_shx): Renamed to
(print_insn_sh).  No longer static.  Handle SHmedia instructions.
Use info->endian to determine endianness.
* sh64-dis.c (print_insn_sh64, print_insn_sh64l): Delete.
(print_insn_sh64x): No longer static.  Renamed to
(print_insn_sh64).  Removed pfun_compact and endian arguments.
If we got an uneven address to indicate SHmedia, adjust it.
Return -2 for SHcompact instructions.
sim/sh64:
* sim-if.c (sh64_disassemble_insn): Use  print_insn_sh instead of
print_insn_shl.

22 years ago * elf64-ppc.c (ppc64_elf_info_to_howto): Formatting.
amodra [Fri, 17 May 2002 13:24:59 +0000 (13:24 +0000)]
* elf64-ppc.c (ppc64_elf_info_to_howto): Formatting.
(ppc64_elf_relocate_section): Don't warn about reloc overflow when
we've already warned about an undefined symbol.  Report more
detail on reloc errors.

22 years agoRemove stale files.
amodra [Fri, 17 May 2002 10:36:49 +0000 (10:36 +0000)]
Remove stale files.

22 years ago * acinclude.m4 (AM_INSTALL_LIBBFD): Fake to fool autotools.
amodra [Fri, 17 May 2002 10:34:28 +0000 (10:34 +0000)]
* acinclude.m4 (AM_INSTALL_LIBBFD): Fake to fool autotools.
* configure.in: Invoke AM_INSTALL_LIBBFD.
* Makefile.am (install-data-local): Move to..
(install_libopcodes): .. New target.
(uninstall_libopcodes): Likewise.
(install-bfdlibLTLIBRARIES): Likewise.
(uninstall-bfdlibLTLIBRARIES): Likewise.
(bfdlibdir): New.
(bfdincludedir): New.
(lib_LTLIBRARIES): Rename to bfdlib_LTLIBRARIES.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.

22 years ago * acinclude.m4 (AM_INSTALL_LIBBFD): New.
amodra [Fri, 17 May 2002 10:33:59 +0000 (10:33 +0000)]
* acinclude.m4 (AM_INSTALL_LIBBFD): New.
* configure.in: Invoke AM_INSTALL_LIBBFD.
* Makefile.am (install-data-local): Revert 2002-05-13.  Move to..
(install_libbfd): .. New target.
(uninstall_libbfd): Likewise.
(install-bfdlibLTLIBRARIES): Likewise.
(uninstall-bfdlibLTLIBRARIES): Likewise.
(bfdlibdir): New.
(bfdincludedir): New.
(lib_LTLIBRARIES): Rename to bfdlib_LTLIBRARIES.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.

22 years ago * NEWS: Add section for multi-arched targets. Add v850 to that section.
corinna [Fri, 17 May 2002 10:14:00 +0000 (10:14 +0000)]
* NEWS: Add section for multi-arched targets.  Add v850 to that section.

22 years agoRemove msdos subdirectory - it is obsolete.
nickc [Fri, 17 May 2002 09:58:09 +0000 (09:58 +0000)]
Remove msdos subdirectory - it is obsolete.

22 years agoRemove computation of len from inside hash loop.
nickc [Fri, 17 May 2002 09:52:02 +0000 (09:52 +0000)]
Remove computation of len from inside hash loop.

22 years ago * fhandler_raw.cc (fhandler_dev_raw::open): Replace set_errno()
corinna [Fri, 17 May 2002 09:32:44 +0000 (09:32 +0000)]
* fhandler_raw.cc (fhandler_dev_raw::open): Replace set_errno()
by __seterrno_from_win_error().
* security.cc (open_local_policy): Ditto.
(get_lsa_srv_inf): Ditto.
(get_user_groups): Ditto.
(get_user_primary_group): Ditto.
(create_token): Ditto.
(subauth): Ditto.

22 years ago * times.cc (utimes): Use FILE_WRITE_ATTRIBUTES even on 9x/Me when
corinna [Fri, 17 May 2002 08:32:27 +0000 (08:32 +0000)]
* times.cc (utimes): Use FILE_WRITE_ATTRIBUTES even on 9x/Me when
opening file for writing timestamp.
* wincap.cc: Remove flag has_specific_access_rights.
* wincap.h: Ditto.

22 years ago* Makefile.in (sh_tdep_h): Define and use.
thorpej [Fri, 17 May 2002 06:55:48 +0000 (06:55 +0000)]
* Makefile.in (sh_tdep_h): Define and use.
* config/sh/tm-sh.h (sh_osabi, sh_abi, gdbarch_tdep,
register enum): Move to...
* * sh-tdep.h: ...here.
* sh-tdep.c: Include sh-tdep.h.
* sh3-rom.c: Likewise.
* shnbsd-tdep.c: Likewise.

22 years ago * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
marekm [Fri, 17 May 2002 05:55:13 +0000 (05:55 +0000)]
* Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
* Makefile.in: Regenerate.
* configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.

22 years ago2002-05-16 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 17 May 2002 00:05:20 +0000 (00:05 +0000)]
2002-05-16  Michael Snyder  <msnyder@redhat.com>

* arm-tdep.c: Spelling fix in comment.

22 years agodaily update
amodra [Fri, 17 May 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Fri, 17 May 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoAdd commands for manually expanding macros and showing their
jimb [Thu, 16 May 2002 21:15:50 +0000 (21:15 +0000)]
Add commands for manually expanding macros and showing their
definitions.
* macrocmd.c, macroscope.c, macroscope.h: New files.
* Makefile.in (SFILES): Add macrocmd.c, macroscope.c.
(macroscope_h): New variable.
(HFILES_NO_SRCDIR): Add macroscope.h.
(COMMON_OBS): Add macrocmd.o, macroscope.o.
(macroscope.o, macrocmd.o): New rules.

22 years agoTeach the Dwarf 2 reader to read macro information.
jimb [Thu, 16 May 2002 21:00:12 +0000 (21:00 +0000)]
Teach the Dwarf 2 reader to read macro information.
* dwarf2read.c: #include "macrotab.h".
(dwarf_macinfo_buffer): New variable.
(struct dwarf2_pinfo): New members: dwarf_macinfo_buffer, and
dwarf_macinfo_size.
(DWARF_MACINFO_BUFFER, DWARF_MACINFO_SIZE): New macros.
(dwarf2_missing_macinfo_section, dwarf2_macros_too_long,
dwarf2_macros_not_terminated, dwarf2_macro_outside_file,
dwarf2_macro_unmatched_end_file, dwarf2_macro_malformed_definition,
dwarf2_macro_spaces_in_definition): New complaints.
(dwarf2_has_info): Initialize dwarf_macinfo_offset.
(dwarf2_build_psymtabs): Read the .dwarf_macinfo section.
(dwarf2_build_psymtabs_hard): Record the buffer and its size in
the partial symbol table.
(psymtab_to_symtab_1): Set the macinfo buffer and size globals
from what's recorded in the partial symbol table.
(read_file_scope): If the compilation unit has a
`DW_AT_macro_info' attribute, read its macro information.
* Makefile.in (dwarf2read.o): Depend on macrotab.h.

22 years ago2002-05-16 Daniel Jacobowitz <drow@mvista.com>
drow [Thu, 16 May 2002 19:51:08 +0000 (19:51 +0000)]
2002-05-16  Daniel Jacobowitz  <drow@mvista.com>

        Fix PR gdb/546
        * ser-tcp.c: Don't include <netinet/udp.h>.

22 years ago * emulparams/avr1.sh: New file.
marekm [Thu, 16 May 2002 19:51:07 +0000 (19:51 +0000)]
* emulparams/avr1.sh: New file.
* emulparams/avr2.sh: New file.
* emulparams/avr3.sh: New file.
* emulparams/avr4.sh: New file.
* emulparams/avr5.sh: New file.
* scripttempl/avr.sc: New file.

22 years ago * config/tc-avr.c (mcu_types): Update for new devices.
marekm [Thu, 16 May 2002 19:23:57 +0000 (19:23 +0000)]
* config/tc-avr.c (mcu_types): Update for new devices.

22 years ago * MAINTAINERS: Add myself as the second AVR port maintainer.
marekm [Thu, 16 May 2002 18:53:22 +0000 (18:53 +0000)]
* MAINTAINERS: Add myself as the second AVR port maintainer.

22 years ago * libc/machine/sh/strcpy.S (strcpy): make sure r0 has right value
amylaar [Thu, 16 May 2002 17:29:11 +0000 (17:29 +0000)]
* libc/machine/sh/strcpy.S (strcpy): make sure r0 has right value
at first loop exit point.

22 years ago * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
amylaar [Thu, 16 May 2002 16:16:07 +0000 (16:16 +0000)]
* libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
__LITTLE_ENDIAN__.

22 years agoCorrect date in commit message.
rearnsha [Thu, 16 May 2002 13:49:21 +0000 (13:49 +0000)]
Correct date in commit message.

22 years ago * MAINTAINERS: Update my email address.
ciceron [Thu, 16 May 2002 13:38:54 +0000 (13:38 +0000)]
* MAINTAINERS: Update my email address.

22 years ago * MAINTAINERS: Update my email address.
ciceron [Thu, 16 May 2002 13:38:42 +0000 (13:38 +0000)]
* MAINTAINERS: Update my email address.

22 years ago* config/arm/nm-nbsd.h: Use "config/nm-nbsd.h" to include generic
rearnsha [Thu, 16 May 2002 13:32:06 +0000 (13:32 +0000)]
* config/arm/nm-nbsd.h: Use "config/nm-nbsd.h" to include generic
include file of the same name.

22 years ago * MAINTAINERS: Update my email address.
ciceron [Thu, 16 May 2002 13:15:43 +0000 (13:15 +0000)]
* MAINTAINERS: Update my email address.

22 years ago * configure.tgt: Mark v850 as multi-arched.
corinna [Thu, 16 May 2002 12:11:36 +0000 (12:11 +0000)]
* configure.tgt: Mark v850 as multi-arched.
* config/v850/tm-v850.h: Remove file.
* config/v850/v850.mt: Eliminate TM_FILE.

22 years ago * configure.tgt: Mark v850 as multi-arched.
corinna [Thu, 16 May 2002 12:11:27 +0000 (12:11 +0000)]
* configure.tgt: Mark v850 as multi-arched.
* config/v850/tm-v850.h: Remove file.
* config/v850/v850.mt: Eliminate TM_FILE.

22 years ago * v850-tdep.c: Full multi-arch.
corinna [Thu, 16 May 2002 11:43:00 +0000 (11:43 +0000)]
* v850-tdep.c: Full multi-arch.
* config/v850/tm-v850.h: Eliminate or move to v850-tdep.c everything.
Define GDB_MULTI_ARCH to 2.

22 years ago2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
muller [Thu, 16 May 2002 09:34:46 +0000 (09:34 +0000)]
2002-05-02  Pierre Muller  <muller@ics.u-strasbg.fr>

* p-exp.y (current_type): New static variable.
Carries the type of the expression at the position that is parsed.
(push_current_type, pop_current_type): Two new functions. Used
to store/restore current_type in expression on specific tokens.
(search_filed): New static variable. Set to one after parsing a point as
at that point only a FIELDNAME token should be searched.
(FIELDNAME): New token. After a point only a token belonging to
current_type type definition is allowed.
(all over token rules): reset and change current_type according
to rules.
(exp '[' rule): insert implicit array index field if
exp is a pascal string type.

22 years ago * syscalls.cc (seteuid): Set default dacl in process token.
corinna [Thu, 16 May 2002 09:30:44 +0000 (09:30 +0000)]
* syscalls.cc (seteuid): Set default dacl in process token.
Replace in-line code by call to verify_token().
(setegid): Reverse change from 2002-01-21. Add call to
RevertToSelf and set primary group in impersonation token.
* security.cc (create_token): Store pgrpsid in token security
descriptor, except if it already appears in my_grps.
Use sec_acl() in place of get_dacl().
(verify_token): Create from code in seteuid(), with tighter checks.
(get_dacl) Deleted.
(get_group_sidlist): Add argument to indicate if pgrpsid is already
in the groups.
* security.h: Define verify_token().
* autoload.cc: Load GetKernelObjectSecurity().

22 years ago * v850-tdep.c: Fix comment for v850_scan_prologue. Remove extra
corinna [Thu, 16 May 2002 08:23:15 +0000 (08:23 +0000)]
* v850-tdep.c: Fix comment for v850_scan_prologue.  Remove extra
frame info.  Use frame_info's saved_regs instead of matching member
in extra_frame_info throughout.
(v850_frame_init_saved_regs): New function.
(v850_init_extra_frame_info): Move most functionality into
v850_frame_init_saved_regs().
* config/v850/tm-v850.h (EXTRA_FRAME_INFO): Remove definition.
(v850_frame_find_saved_regs): Remove declaration.
(FRAME_FIND_SAVED_REGS): Remove definition.
(v850_frame_init_saved_regs): Add declaration.
(FRAME_INIT_SAVED_REGS): Add definition.