OSDN Git Service
cgf [Thu, 11 Sep 2003 02:00:42 +0000 (02:00 +0000)]
* Makefile.in (MINGW_CXX): Define and use for mingw-compiled files.
* path.cc: Include more path info in cygwin-specific includes since the cygwin
directory is no longer included by default.
cgf [Thu, 11 Sep 2003 00:07:28 +0000 (00:07 +0000)]
* Makefile.in: More fixups to adjust for the fact that mingw_getopt.o is no
longer built.
amodra [Thu, 11 Sep 2003 00:00:15 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 11 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
wilson [Wed, 10 Sep 2003 23:50:08 +0000 (23:50 +0000)]
* MAINTAINERS: Change my e-mail address.
amodra [Wed, 10 Sep 2003 23:35:39 +0000 (23:35 +0000)]
* ld-elf/merge2.s: New.
* ld-elf/merge2.d: New.
wilson [Wed, 10 Sep 2003 23:28:12 +0000 (23:28 +0000)]
* MAINTAINERS: Update my e-mail address.
cgf [Wed, 10 Sep 2003 21:55:59 +0000 (21:55 +0000)]
* Makefile.in: Remove references to getopt since it is now part of mingwex.
kevinb [Wed, 10 Sep 2003 21:05:59 +0000 (21:05 +0000)]
* MAINTAINERS (frv): New ISA entry.
cgf [Wed, 10 Sep 2003 21:01:40 +0000 (21:01 +0000)]
* shared_info.h (shared_info::initialize): Remove argument.
* cygheap.h (cygheap_user::init): New declaration.
* uinfo.cc (cygheap_user::init): New.
(internal_getlogin): Move functionality to cygheap_user::init. Open the
process token to update the group sid.
* shared.cc (user_shared_initialize): Get the user information from
cygheap->user.
(shared_info::initialize): Remove argument. Call cygheap->user.init instead of
cygheap->user.set_name.
(memory_init): Do not get the user name and do not pass it to
shared_info::initialize.
* registry.cc (get_registry_hive_path): Make csid a cygpsid.
(load_registry_hive): Ditto.
hjl [Wed, 10 Sep 2003 20:48:31 +0000 (20:48 +0000)]
2003-09-10 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_special_sections): Mark all sections
started with ".sbss" or "".sdata" as SHF_IA_64_SHORT.
brolley [Wed, 10 Sep 2003 20:40:46 +0000 (20:40 +0000)]
2003-09-10 Dave Brolley <brolley@redhat.com>
* profile.c (slot_names): FM1 was listed twice. Changed first
instance to FM0. Added IALL, FMALL and FMLOW.
(print_parallel): Don't examine slots with no insns.
cgf [Wed, 10 Sep 2003 20:16:00 +0000 (20:16 +0000)]
* fhandler_disk_file.cc (num_entries): Take . and .. into account if they do
not exist since cygwin simulates them.
(fhandler_cygdrive::fstat): Ditto.
(fhandler_cygdrive::readdir): Don't do any specific tests on __d_position when
seeing if a drive exists.
corinna [Wed, 10 Sep 2003 19:13:04 +0000 (19:13 +0000)]
* Makefile.in (DLL_OFILES): Add getopt.o and iruserok.o.
* cygwin.din: Export __check_rhosts_file, __rcmd_errstr, optarg,
opterr, optind, optopt, optreset, getopt, getopt_long, iruserok
and ruserok.
* getopt.c: Moved from lib to here. Define opt* variables as
dllexport.
* iruserok.c: Moved from lib to here. Rearrange function order.
Prefer using 64/32 bit functions.
* syscalls.cc (shell_fp): Define as struct __sFILE64.
(getusershell): Use fopen64 instead of fopen.
* winsup.h: Add declarations for seteuid32, fopen64,
cygwin_gethostbyname and cygwin_inet_addr.
* include/getopt.h: Declare opt* variables dllimport.
* include/cygwin/version.h: Bump API minor number.
danglin [Wed, 10 Sep 2003 18:46:07 +0000 (18:46 +0000)]
* elf32-hppa.c (struct elf32_hppa_link_hash_entry,
hppa_link_hash_newfunc, hppa_build_one_stub,
elf32_hppa_adjust_dynamic_symbol, mark_PIC_calls, allocate_plt_static,
allocate_dynrelocs, elf32_hppa_size_dynamic_sections,
elf32_hppa_finish_dynamic_symbol): Remove pic_call field and all code
for generating import stubs for calls to statically linked PIC
functions.
(hppa_type_of_stub): Don't generate an import stub for calls to
statically linked pic functions. Generate import stubs for calls
in a shared object, to functions not in a regular file, and to
defined weak functions. Add new argument INFO.
(hppa_build_one_stub): Don't undef ADDIL_DP.
(elf32_hppa_check_relocs): Don't set SEC_HAS_GOT_REF flag.
(elf32_hppa_size_stubs): Pass info to hppa_type_of_stub.
(final_link_relocate): Change all DLTIND relocs to DPREL relocs in a
non-shared link. Convert instructions that use the the linkage table
pointer, or a facsimile thereof, to use the global data pointer when
the reloc has been changed.
cgf [Wed, 10 Sep 2003 17:26:11 +0000 (17:26 +0000)]
* exceptions.cc (sig_handle_tty_stop): Check parent PID_NOCLDSTOP rather than
erroneously checking *my own* sigtodo.
cgf [Wed, 10 Sep 2003 16:22:48 +0000 (16:22 +0000)]
* Makefile.in: Add some more -fomit-frame-pointer files.
* path.cc (conv_path_list_buf_size): Free normalized_path or suffer memory
leak.
* syscalls.cc (chroot): Ditto.
kevinb [Wed, 10 Sep 2003 15:57:22 +0000 (15:57 +0000)]
* linux-target.c (reginfo): The MQ register is for IBM POWER
(pre-PowerPC) architecture, and is undefined in PPC GNU/Linux
environment.
corinna [Wed, 10 Sep 2003 15:53:43 +0000 (15:53 +0000)]
* libc/include/sys/unistd.h: Declare function daemon for Cygwin.
corinna [Wed, 10 Sep 2003 15:51:58 +0000 (15:51 +0000)]
* Makefile.in (DLL_OFILES): Add bsdlib.o.
* autoload.cc (RegisterServiceProcess): Add.
* bsdlib.cc: New file.
(daemon): New function.
(login_tty): Ditto.
(openpty): Ditto.
(forkpty): Ditto.
* cygwin.din: Export daemon, forkpty, login_tty, logwtmp, updwtmp,
openpty and revoke.
* syscalls.cc (updwtmp): New function, writing to wtmp exclusively.
(logwtmp): Ditto.
(login): Call updwtmp instead of writing to wtmp by itself.
(logout): Ditto.
* tty.cc (revoke): New funtion.
* include/paths.h: Define _PATH_DEVNULL.
* include/pty.h: New header.
* include/cygwin/version.h: Bump API minor number.
* include/sys/utmp.h: Declare logwtmp with const arguments.
Declare updwtmp.
* lib/iruserok.c: New file.
(ruserok): New function.
(iruserok): Ditto.
(__ivaliduser): Ditto.
(__icheckhost): Ditto.
corinna [Wed, 10 Sep 2003 10:01:31 +0000 (10:01 +0000)]
* fhandler_socket.cc (fhandler_socket::fstat): Don't use PC_POSIX.
kevinb [Wed, 10 Sep 2003 07:32:46 +0000 (07:32 +0000)]
* frv-tdep.c (dis-asm.h): Include.
* Makefile.in (frv-tdep.o): Update dependencies.
phumblet [Wed, 10 Sep 2003 02:12:25 +0000 (02:12 +0000)]
2003-09-09 Pierre Humblet <pierre.humblet@ieee.org>
* shared_info.h: Include security.h.
(open_shared): Add psa argument.
(user_shared_initialize): New declaration.
* security.h: Add _SECURITY_H guard.
(sec_user): Use sec_none in the no ntsec case.
* spawn.cc (spawn_guts): Remove call to load_registry_hive.
* syscalls (seteuid32): If warranted, call load_registry_hive,
user_shared_initialize and RegCloseKey(HKEY_CURRENT_USER).
* shared.cc (user_shared_initialize): New.
(open_shared): Add and use psa argument.
(memory_init): Move mount table initialization to
user_shared_initialize. Call it.
bwilson [Wed, 10 Sep 2003 00:17:29 +0000 (00:17 +0000)]
* config/tc-xtensa.c (xtensa_mark_literal_pool_location): Remove
"move_labels" argument and corresponding call to xtensa_move_labels.
(md_assemble): Add a separate call to xtensa_move_labels and remove
argument for call to xtensa_mark_literal_pool_location.
(xtensa_literal_position, xtensa_switch_to_literal_fragment): Fix
calls to xtensa_mark_literal_pool_location.
(xtensa_create_local_symbol): Delete and inline the code into...
(xtensa_create_literal_symbol): ...here.
(xtensa_frob_label): Combine conditionals.
(expression_maybe_register, xtensa_symbol_new_hook,
fix_new_exp_in_seg): Use symbol_get_tc.
amodra [Wed, 10 Sep 2003 00:00:35 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 10 Sep 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
bwilson [Tue, 9 Sep 2003 23:41:43 +0000 (23:41 +0000)]
* config/tc-xtensa.c (xtensa_literal_pseudo): Remove code for
combining identical literals.
(expression_maybe_register): Remove call to find_lit_sym_translation.
(is_duplicate_expression, cache_literal, is_duplicate_literal,
add_lit_sym_translation, find_lit_sym_translation): Delete.
jjohnstn [Tue, 9 Sep 2003 23:29:51 +0000 (23:29 +0000)]
2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
* ia64-tdep.c (ia64_sigtramp_frame_init_saved_regs):
Fix typo for high range of floating registers.
carlton [Tue, 9 Sep 2003 23:23:04 +0000 (23:23 +0000)]
2003-09-09 David Carlton <carlton@kealia.com>
* dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and
highpc initialization here out of scan_partial_symbols.
(scan_partial_symbols): Restructure into a recursive version,
calling add_partial_namespace and add_partial_enumeration when
appropriate.
(add_partial_namespace): New.
(add_partial_enumeration, locate_pdi_sibling): Ditto.
dsl [Tue, 9 Sep 2003 23:09:37 +0000 (23:09 +0000)]
Reverting until I learn how to conform..
jjohnstn [Tue, 9 Sep 2003 22:53:26 +0000 (22:53 +0000)]
2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
* libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
prototype.
* libc/machine/powerpc/simdldtoa.c: Remove prototype for
_simdldcheck(). Also add unsigned cast for index variable in
for loop using sizeof operators.
* libc/machine/powerpc/strtoufix32.c: Remove unused variable.
* libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
* libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
plus fix shift calculation for determining if there is a
carry from word2.
cagney [Tue, 9 Sep 2003 22:41:47 +0000 (22:41 +0000)]
2003-09-09 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (ppc_push_return_address): Delete function.
(rs6000_push_dummy_call): Set LR to BP_ADDR.
(rs6000_gdbarch_init): Do not set deprecated_push_return_address.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto.
brolley [Tue, 9 Sep 2003 22:34:53 +0000 (22:34 +0000)]
2003-09-09 Dave Brolley <brolley@redhat.com>
* sim/frv/maddaccs.cgs: move to fr400 subdirectory.
* sim/frv/msubaccs.cgs: move to fr400 subdirectory.
* sim/frv/masaccs.cgs: move to fr400 subdirectory.
brolley [Tue, 9 Sep 2003 22:29:42 +0000 (22:29 +0000)]
2003-09-09 Dave Brolley <brolley@redhat.com>
* frv-desc.c: Regenerated.
brolley [Tue, 9 Sep 2003 22:28:33 +0000 (22:28 +0000)]
2003-09-09 Dave Brolley <brolley@redhat.com>
* frv.c (do_media_average): Select machine using a switch.
brolley [Tue, 9 Sep 2003 22:27:28 +0000 (22:27 +0000)]
2003-09-09 Dave Brolley <brolley@redhat.com>
* frv.cpu (media-dual-complex): Change UNIT to FMALL.
(conditional-media-dual-complex, media-quad-complex): Likewise.
cagney [Tue, 9 Sep 2003 22:21:35 +0000 (22:21 +0000)]
2003-09-09 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (rs6000_fix_call_dummy): Delete function.
(rs6000_push_dummy_call): Set the "TOC" register.
cagney [Tue, 9 Sep 2003 22:10:55 +0000 (22:10 +0000)]
2003-09-09 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (rs6000_gdbarch_init): Do not set the deprecated
methods "max_register_raw_size", "max_register_virtual_size" or
"register_virtual_size".
ian [Tue, 9 Sep 2003 20:25:57 +0000 (20:25 +0000)]
* MAINTAINERS: Update my e-mail address.
cagney [Tue, 9 Sep 2003 20:22:36 +0000 (20:22 +0000)]
2003-09-09 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (rs6000_store_struct_return): Delete function.
(rs6000_push_dummy_call): Store the struct return address.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto.
ian [Tue, 9 Sep 2003 20:22:17 +0000 (20:22 +0000)]
* MAINTAINERS: Update my e-mail address.
cagney [Tue, 9 Sep 2003 18:29:25 +0000 (18:29 +0000)]
2003-09-09 Andrew Cagney <cagney@redhat.com>
* ppc-tdep.h (ppc_sysv_abi_push_dummy_call): Replace
"ppc_sysv_abi_push_arguments".
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Replace
"ppc_sysv_abi_push_arguments".
* rs6000-tdep.c (rs6000_gdbarch_init): Set "push_dummy_call"
instead of "push_arguments".
(rs6000_push_dummy_call): Replace "rs6000_push_arguments".
dsl [Tue, 9 Sep 2003 16:58:00 +0000 (16:58 +0000)]
This enables the print elements limits to work with multi-dim arrays
in FORTRAN
dsl [Tue, 9 Sep 2003 16:51:54 +0000 (16:51 +0000)]
Change array element access to something similar to way C works.
The old method would drag in the entire array, then look for the
single element. This method just gets the right element out instead.
Saves memory, and saves a crash for array with (*) as one of the
dimensions when it would previously have allocated (unsigned int) -1 bytes.
cagney [Tue, 9 Sep 2003 15:00:21 +0000 (15:00 +0000)]
2003-09-09 Andrew Cagney <cagney@redhat.com>
* sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS
instead of CALL_DUMMY_ADDRESS.
corinna [Tue, 9 Sep 2003 13:14:49 +0000 (13:14 +0000)]
* libc/include/grp.h: Don't define setgrfile, group_from_gid and
setgroupent for Cygwin.
corinna [Tue, 9 Sep 2003 09:41:17 +0000 (09:41 +0000)]
* mmap.cc (mmap64): Change address types from caddr_t to void *
according to SUSv3.
(mmap): Ditto.
(munmap): Ditto.
(msync): Ditto.
(mprotect): Ditto. Move to before the fhandler methods.
* include/sys/mman.h: Change prototypes accordingly.
hilfingr [Tue, 9 Sep 2003 08:17:44 +0000 (08:17 +0000)]
Correct small glitch introduced in ChangeLog by last commit.
hilfingr [Tue, 9 Sep 2003 08:05:41 +0000 (08:05 +0000)]
2003-09-09 Paul N. Hilfinger <hilfingr@gnat.com>
* p-lang.c: Eliminate "register".
* c-lang.c: Ditto.
* expprint.c: Ditto.
* f-lang.c: Ditto.
* jv-lang.c: Ditto.
* language.c: Ditto.
* m2-lang.c: Ditto.
* parse.c: Ditto.
* scm-lang.c: Ditto.
* objc-lang.c: Ditto.
nickc [Tue, 9 Sep 2003 06:34:54 +0000 (06:34 +0000)]
Add support for v850e1 machine number.
cagney [Tue, 9 Sep 2003 04:41:30 +0000 (04:41 +0000)]
2003-09-04 Andrew Cagney <cagney@redhat.com>
* avr-tdep.c: Include "dis-asm.h".
* cris-tdep.c: Include "dis-asm.h".
(cris_delayed_get_disassembler): Use "struct disassemble_info"
instead of corresponding typedef.
* h8300-tdep.c: Include "dis-asm.h".
* ia64-tdep.c: Include "dis-asm.h".
* i386-tdep.c: Include "dis-asm.h".
(i386_print_insn): Use "struct disassemble_info" instead of
corresponding typedef.
* m68k-tdep.c: Include "dis-asm.h".
* mcore-tdep.c: Include "dis-asm.h".
* mips-tdep.c: Include "dis-asm.h".
(gdb_print_insn_mips): Make static, use "struct disassemble_info"
instead of corresponding typedef.
* ns32k-tdep.c: Include "dis-asm.h".
* s390-tdep.c: Include "dis-asm.h".
* sparc-tdep.c: Include "dis-asm.h".
* vax-tdep.c: Include "dis-asm.h".
* v850-tdep.c: Include "dis-asm.h".
* mn10300-tdep.c: Include "dis-asm.h".
* rs6000-tdep.c: Include "dis-asm.h".
* xstormy16-tdep.c: Include "dis-asm.h".
(_initialize_xstormy16_tdep): Delete "extern" declaration of
print_insn_xstormy16.
* Makefile.in (v850-tdep.o): Update dependencies.
(vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
(ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
(m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
(h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
(mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
(gdbarch_h): Remove $(dis_asm_h).
* disasm.c: Include "dis-asm.h".
(dis_asm_read_memory): Use "struct disassemble_info" instead of
corresponding typedef.
(dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
(gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
* gdbarch.sh: Do not include "dis-asm.h".
(struct disassemble_info): Declare opaque.
(TARGET_PRINT_INSN): Update declaration.
* gdbarch.h, gdbarch.c: Re-generate.
cagney [Tue, 9 Sep 2003 03:58:17 +0000 (03:58 +0000)]
2003-09-08 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_CALL_DUMMY_ADDRESS): Rename
CALL_DUMMY_ADDRESS, change to a predicate.
* gdbarch.h, gdbarch.c: Re-generate.
* blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
Use either DEPRECATED_CALL_DUMMY_ADDRESS or entry_point_address.
* infcall.c (call_function_by_hand): Ditto.
* sparc-tdep.c (sparc_push_return_address): Ditto.
(sparc_gdbarch_init): Set deprecated_call_dummy_address.
* xstormy16-tdep.c (xstormy16_push_return_address): Replace
CALL_DUMMY_ADDRESS with entry_point_address.
* v850-tdep.c (v850_push_return_address): Ditto.
* s390-tdep.c (s390_push_return_address): Ditto.
* rs6000-tdep.c (ppc_push_return_address): Ditto.
* mn10300-tdep.c (mn10300_push_return_address): Ditto.
* mcore-tdep.c (mcore_push_return_address): Ditto.
* cris-tdep.c (cris_push_return_address): Ditto.
* arm-tdep.c (arm_push_return_address): Ditto.
cagney [Tue, 9 Sep 2003 03:31:07 +0000 (03:31 +0000)]
2003-09-08 Andrew Cagney <cagney@redhat.com>
* dwarf2-frame.c (enum dwarf2_reg_rule): New, replace anonymous
enum. Add REG_UNSPECIFIED, rename REG_UNSAVED to REG_UNDEFINED
and REG_UNMODIFIED to REG_SAME_VALUE.
(execute_cfa_program): Update.
(dwarf2_frame_cache): Update. Initialize table to
REG_UNSPECIFIED, complain if CFI fails to specify a register's
location.
(dwarf2_frame_prev_register): Update. Handle REG_UNSPECIFIED.
cagney [Tue, 9 Sep 2003 03:14:01 +0000 (03:14 +0000)]
2003-09-08 Andrew Cagney <cagney@redhat.com>
* gnu-nat.c: Remove "inline" function attribute.
* alpha-tdep.c, ppc-linux-tdep.c, macroexp.c: Ditto.
cgf [Tue, 9 Sep 2003 03:11:31 +0000 (03:11 +0000)]
* dcrt0.cc (dlL_crt0_1): Set __argc_safe after __argc is absolutely know to be
set.
* exceptions.cc (sig_handle_tty_stop): Don't reset sigCONT event since it is
reset automatically.
* fork.cc (fork): Remove obsolete usage of PID_SPLIT_HEAP.
* include/sys/cygwin.h: Ditto.
* sigproc.cc (sig_send): Use sigframe init method to set frame since it checks
for previous ownership of the frame.
* sigproc.h (sigframe::init): Accept an "is_exception" argument.
cgf [Tue, 9 Sep 2003 00:21:16 +0000 (00:21 +0000)]
* dir.cc (readdir): Reinstate setting of old ino field for legacy applications.
* dirent.h (dirent): Rename unused field to __ino32.
* passwd.cc (getpwnam_r): Initialize pw_comment field.
gdbadmin [Tue, 9 Sep 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 9 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update
kevinb [Mon, 8 Sep 2003 23:21:36 +0000 (23:21 +0000)]
* config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-V
target.
kevinb [Mon, 8 Sep 2003 23:01:28 +0000 (23:01 +0000)]
Make frv-tdep.c use new frame mechanisms.
kettenis [Mon, 8 Sep 2003 22:43:40 +0000 (22:43 +0000)]
* dwarf2-frame.c (read_encoded_value): Add support for
DW_EH_PE_aligned encoding.
cgf [Mon, 8 Sep 2003 22:03:20 +0000 (22:03 +0000)]
* passwe.cc (getpwnam_r): Initialize pw_comment field.
cgf [Mon, 8 Sep 2003 21:44:52 +0000 (21:44 +0000)]
* passwd.cc (getpwuid_r32): Initialize pw_comment field.
chastain [Mon, 8 Sep 2003 21:30:52 +0000 (21:30 +0000)]
2003-09-08 Michael Chastain <mec@shout.net>
* gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
cgf [Mon, 8 Sep 2003 21:10:22 +0000 (21:10 +0000)]
* sigproc.cc (wait_sig_inited): Remove assertion since it is racy.
drow [Mon, 8 Sep 2003 20:13:48 +0000 (20:13 +0000)]
* infrun.c (normal_stop): Don't print a message if the inferior
has exited.
corinna [Mon, 8 Sep 2003 20:08:52 +0000 (20:08 +0000)]
* cygwin.din: Export endusershell, getusershell and setusershell.
* syscalls.cc (getusershell): New function.
(setusershell): Ditto.
(endusershell): Ditto.
* include/cygwin/version.h: Bump API minor number.
cagney [Mon, 8 Sep 2003 19:27:48 +0000 (19:27 +0000)]
2003-09-08 Andrew Cagney <cagney@redhat.com>
* generic/gdbtk-cmds.c: Include "disasm.h".
(gdbtk_load_asm): Use "gdb_print_insn" instead of
TARGET_PRINT_INSN .
(gdb_disassemble_driver): Delete code referencing
"deprecated_tm_print_insn_info". Delete "di" and "di_initialized"
and any code initializing those variables. Pass NULL as "di"
parameter to "print_asm_fn".
(disassemble_from_exec): Mention that it is unused.
jimb [Mon, 8 Sep 2003 19:22:29 +0000 (19:22 +0000)]
* Makefile.in (dbxread.o): Note new dependency on $(gdb_assert_h).
* dbxread.c: #include "gdb_assert.h".
(read_dbx_symtab): If the objfile has no .data section, use the
section index for the .bss section instead.
drow [Mon, 8 Sep 2003 18:56:03 +0000 (18:56 +0000)]
* frame.c (deprecated_safe_get_selected_frame): New function.
* frame.h (deprecated_safe_get_selected_frame): Add prototype.
* findvar.c (read_var_value): Call it.
devans [Mon, 8 Sep 2003 18:55:35 +0000 (18:55 +0000)]
* CGEN.sh.h: New arg arch-file.
* arm7t/Makefile.am (cgen-arm,cgen-arm7f,cgen-arm7f-arm): Update call
to CGEN.sh.
* arm7t/Makefile.in: Regenerate.
* m32r/Makefile.am (cgen-m32r): Update call to CGEN.sh.
* m32r/Makefile.in: Regenerate.
* xstormy16/Makefile.am (cgen-xstormy16): Update call to CGEN.sh.
* xstormy16/Makefile.in: Regenerate.
brolley [Mon, 8 Sep 2003 17:26:20 +0000 (17:26 +0000)]
2003-09-08 Dave Brolley <brolley@redhat.com>
On behalf of Doug Evans <dje@sebabeach.org>
* Makefile.in (stamp-arch,stamp-cpu,stamp-xcpu): Pass archfile to cgen.
brolley [Mon, 8 Sep 2003 17:25:56 +0000 (17:25 +0000)]
2003-09-08 Dave Brolley <brolley@redhat.com>
On behalf of Doug Evans <dje@sebabeach.org>
* Makefile.in (stamp-arch,stamp-cpu, stamp-desc): Pass archfile to cgen.
brolley [Mon, 8 Sep 2003 17:25:35 +0000 (17:25 +0000)]
2003-09-08 Dave Brolley <brolley@redhat.com>
On behalf of Doug Evans <dje@sebabeach.org>
* Makefile.in (stamp-arch,stamp-cpu): Pass archfile to cgen.
Remove copying of .cpu file to cgen/cpu, no longer needed.
brolley [Mon, 8 Sep 2003 17:24:59 +0000 (17:24 +0000)]
2003-09-08 Dave Brolley <brolley@redhat.com>
On behalf of Doug Evans <dje@sebabeach.org>
* cgen.sh: New arg archfile.
* Make-common.in (cgen-arch,cgen-cpu,cgen-defs,cgen-decode,
cgen-cpu-decode,cgen-desc): Update call to cgen.sh.
brolley [Mon, 8 Sep 2003 17:24:04 +0000 (17:24 +0000)]
2003-09-08 Dave Brolley <brolley@redhat.com>
On behalf of Doug Evans <dje@sebabeach.org>
* Makefile.am (run-cgen): Pass new args archfile and opcfile
to cgen.sh.
(stamp-ip2k,stamp-m32r,stamp-fr30,stamp-frv,stamp-openrisc,
stamp-iq2000,stamp-xstormy16): Pass paths of .cpu and .opc files
to cgen.sh.
(stamp-frv): Delete hardcoded path spec workaround.
* Makefile.in: Regenerate.
* cgen.sh: New args archfile and opcfile. Pass on to cgen.
brolley [Mon, 8 Sep 2003 17:17:22 +0000 (17:17 +0000)]
2003-09-08 Dave Brolley <brolley@redhat.com>
On behalf of Doug Evans <dje@sebabeach.org>
Pass in paths to input files, instead of assuming they live in
$srcdir/cpu. Plus misc. option processing cleanup.
* cgen-doc.scm (doc-arguments): Make options strings not symbols.
Add pre-process pass to all options.
* cgen-gas.scm (gas-arguments): Ditto.
* cgen-sid.scm (sim-arguments): Ditto.
* cgen-sim.scm (sim-arguments): Ditto.
* cgen-stest.scm (stest-arguments): Ditto.
* cgen-opc.scm (opc-arguments): Ditto. New argument -OPC.
(-opc-file-path): New global.
(opc-file-path): New fn.
* opcodes.scm (read-cpu.opc): Replace srcdir,cpu args with opc-file.
All callers updated.
(gen-extra-cpu.h,gen-extra-cpu.c,gen-extra-opc.h,gen-extra-opc.c,
gen-extra-asm.c,gen-extra-dis.c,gen-extra-ibld.h,gen-extra-ibld.c):
Replace srcdir arg with opc-file. All callers updated.
* read.scm (-opt-spec-update): Delete.
(opt-get-first-pass,opt-get-second-pass): New fns.
(-cgen): Process application-specific arguments in two passes.
brobecke [Mon, 8 Sep 2003 16:46:02 +0000 (16:46 +0000)]
* archures.c: Add new machine names for hppa.
* bfd-in2.h: Regenerate.
* cpu-hppa.c: Use the new machine names.
brobecke [Mon, 8 Sep 2003 16:42:42 +0000 (16:42 +0000)]
* archures.c: Add new machine names for hppa.
* bfd-in2.h: Regenerate.
* cpu-hppa.c: Use the new machine names.
corinna [Mon, 8 Sep 2003 11:26:20 +0000 (11:26 +0000)]
* Makefile.in (ALLDEPFILES): Add sh64-tdep.c.
(sh64-tdep.o): Add dependencies.
* configure.tgt: Add FIXME to sh-*-linux*.
* sh-tdep.c: Move sh64 support to sh64-tdep.c.
(sh_gdbarch_init): Always set correct sh_show_regs function
pointer. Call sh64_gdbarch_init() if machine type is sh5.
* sh-tdep.h: Move sh64 support to sh64-tdep.c.
* sh64-tdep.c: New file, containing all sh64 related code from
sh-tdep.c.
* config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o.
* config/sh/linux.mt (TDEPFILES): Ditto.
* config/sh/nbsd.mt (TDEPFILES): Ditto.
* config/sh/tm-sh.h: Drop REGISTER_TYPE definition.
* config/sh/wince.mt (TDEPFILES): Ditto.
dannysmith [Mon, 8 Sep 2003 10:35:56 +0000 (10:35 +0000)]
2003-09-08 Justin Forest <vhex@users.sourceforge.net>
* include/winuser.h (PM_QS_INPUT, PM_QS_POSTMESSAGE,
PM_QS_PAINT, PM_QS_SENDMESSAGE): Add defines.
2003-09-08 Filip Navara <xnavara@volny.cz>
* include/wingdi.h (GRADIENT_FILL_RECT_H, GRADIENT_FILL_RECT_V,
GRADIENT_FILL_TRIANGLE, GRADIENT_FILL_OP_FLAG): Add defines.
corinna [Mon, 8 Sep 2003 08:53:01 +0000 (08:53 +0000)]
* cygwin.din: Export argz_add argz_add_sep argz_append argz_count
argz_create argz_create_sep argz_delete argz_extract argz_insert
argz_next argz_replace argz_stringify envz_add envz_entry envz_get
envz_merge envz_remove envz_strip
* include/cygwin/version.h: Bump api minor number.
cgf [Mon, 8 Sep 2003 05:09:13 +0000 (05:09 +0000)]
fix typo
cgf [Mon, 8 Sep 2003 04:29:34 +0000 (04:29 +0000)]
* Makefile.in (zlib_h): Rename libz.h -> zlib.h.
cgf [Mon, 8 Sep 2003 04:04:18 +0000 (04:04 +0000)]
Throughout, remove __d_u.__d_data fields from DIR structure.
* include/sys/dirent.h (dirent): Remvoe old_d_ino.
(DIR): Make __d_dirhash a 64 bit value. Remove __d_data and __d_u. Add
__flags.
* dir.cc (opendir_states): New enum.
(opendir): Clear new DIR __flags field.
(readdir): Fill in '.' and '..' entries if we hit EOF and we haven't seen them
already. Nuke setting of old_d_ino.
(rewinddir): Reset DIR __flags field.
(seekdir64): Ditto.
* fhandler_disk_file.cc (fhandler_cygdrive::fhandler_cygdrive): Remove special
handling of "." and ".." since they are now handled automatically.
cgf [Mon, 8 Sep 2003 02:50:02 +0000 (02:50 +0000)]
* Makefile.in: Detect existence of mingw zlib headers and libraries. Build
cygcheck wihtout package checking if they are unavailable.
* dump_setup.cc: Generate dummy zlib macros when zlib is not available.
(open_package_list): Use zlib functions to uncompress package lists. Return
gzFile rather than FILE *.
(check_package_files): Change fp to gzFile to accommodate zlib functions. Use
gzgets to read from package file. Use gzclose to close the handle.
(package_list): Ditto.
(package_find): Ditto.
chastain [Mon, 8 Sep 2003 02:00:11 +0000 (02:00 +0000)]
2003-09-07 Michael Chastain <mec@shout.net>
* gdb.cp/classes.exp: Accommodate both 'syntax error' and
'parse error'.
cgf [Mon, 8 Sep 2003 00:26:25 +0000 (00:26 +0000)]
* include/cygwin/in.h: Don't define ipv6 stuff unless we call for it
specifically since it isn't really implemented yet.
amodra [Mon, 8 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 8 Sep 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
drow [Sun, 7 Sep 2003 18:49:43 +0000 (18:49 +0000)]
* lin-lwp.c (detach_callback): Don't call stop_wait_callback.
(stop_wait_callback): Handle !lp->signalled also.
(lin_lwp_has_pending, flush_callback): New functions.
(lin_lwp_wait): Call flush_callback.
* linux-proc.c (linux_proc_add_line_to_sigset): New function.
(linux_proc_pending_signals): New function.
* linux-nat.h (linux_proc_pending_signals): Add prototype.
cgf [Sun, 7 Sep 2003 18:27:53 +0000 (18:27 +0000)]
* cygheap.cc (_csbrk): More left coercion cleanup.
* fhandler_tty.cc (fhandler_tty_slave::read): Ditto.
(fhandler_tty_slave::write): Ditto.
* fhandler_windows.cc (fhandler_windows::read): Ditto.
* heap.cc (sbrk): Ditto.
kettenis [Sun, 7 Sep 2003 16:37:59 +0000 (16:37 +0000)]
* gdb.arch/i386-prologue.exp: Add checks for saved registers.
drow [Sun, 7 Sep 2003 15:15:00 +0000 (15:15 +0000)]
From Nick Kelsey <nickk@ubicom.com>:
* infrun.c (handle_inferior_event): Check IN_SOLIB_RETURN_TRAMPOLINE
when the stop PC is at the beginning of a function also.
nickc [Sun, 7 Sep 2003 12:28:09 +0000 (12:28 +0000)]
Fix description of comment character for PPC.
cgf [Sun, 7 Sep 2003 05:18:01 +0000 (05:18 +0000)]
* signal.cc (nanosleep): Improve test for valid values. Round delay up to
resolution. Fix test for negative remainder. Use timeGetTime through gtod.
(sleep): Round up return value. Christopher Faylor <cgf@redhat.com>
* hires.h (HIRES_DELAY_MAX): Define.
(hires_ms::minperiod): Declare static.
(hires_ms::resolution): New.
(hires_ms::dmsecs): New.
(hires_ms::prime): Return UINT.
(gtod): Declare.
* times.cc (hires_ms::prime): Always calculate minperiod and set it to 1 in
case of failure. Return minperiod.
(hires_ms::resolution): Define.
(hires_ms::~hires_ms): Delete.
(hires_ms::usecs): Check minperiod to prime.
(gtod) Define as global.
cgf [Sun, 7 Sep 2003 02:22:58 +0000 (02:22 +0000)]
Remove left coercion throughout.
drow [Sun, 7 Sep 2003 01:35:59 +0000 (01:35 +0000)]
* arm-linux-tdep.c (arm_linux_arm_be_breakpoint): New.
(arm_linux_init_abi): Use arm_linux_arm_be_breakpoint.
gdbadmin [Sun, 7 Sep 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 7 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update