OSDN Git Service

pf3gnuchains/sourceware.git
20 years agoChange array element access to something similar to way C works.
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.

20 years ago2003-09-09 Andrew Cagney <cagney@redhat.com>
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.

20 years ago * libc/include/grp.h: Don't define setgrfile, group_from_gid and
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.

20 years ago * mmap.cc (mmap64): Change address types from caddr_t to void *
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.

20 years agoCorrect small glitch introduced in ChangeLog by last commit.
hilfingr [Tue, 9 Sep 2003 08:17:44 +0000 (08:17 +0000)]
Correct small glitch introduced in ChangeLog by last commit.

20 years ago2003-09-09 Paul N. Hilfinger <hilfingr@gnat.com>
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.

20 years agoAdd support for v850e1 machine number.
nickc [Tue, 9 Sep 2003 06:34:54 +0000 (06:34 +0000)]
Add support for v850e1 machine number.

20 years ago2003-09-04 Andrew Cagney <cagney@redhat.com>
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.

20 years ago2003-09-08 Andrew Cagney <cagney@redhat.com>
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.

20 years ago2003-09-08 Andrew Cagney <cagney@redhat.com>
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.

20 years ago2003-09-08 Andrew Cagney <cagney@redhat.com>
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.

20 years ago* dcrt0.cc (dlL_crt0_1): Set __argc_safe after __argc is absolutely know to be
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.

20 years ago* dir.cc (readdir): Reinstate setting of old ino field for legacy applications.
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.

20 years ago*** empty log message ***
gdbadmin [Tue, 9 Sep 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Tue, 9 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago * config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-V
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.

20 years agoMake frv-tdep.c use new frame mechanisms.
kevinb [Mon, 8 Sep 2003 23:01:28 +0000 (23:01 +0000)]
Make frv-tdep.c use new frame mechanisms.

20 years ago* dwarf2-frame.c (read_encoded_value): Add support for
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.

20 years ago* passwe.cc (getpwnam_r): Initialize pw_comment field.
cgf [Mon, 8 Sep 2003 22:03:20 +0000 (22:03 +0000)]
* passwe.cc (getpwnam_r): Initialize pw_comment field.

20 years ago* passwd.cc (getpwuid_r32): Initialize pw_comment field.
cgf [Mon, 8 Sep 2003 21:44:52 +0000 (21:44 +0000)]
* passwd.cc (getpwuid_r32): Initialize pw_comment field.

20 years ago2003-09-08 Michael Chastain <mec@shout.net>
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'.

20 years ago* sigproc.cc (wait_sig_inited): Remove assertion since it is racy.
cgf [Mon, 8 Sep 2003 21:10:22 +0000 (21:10 +0000)]
* sigproc.cc (wait_sig_inited): Remove assertion since it is racy.

20 years ago * infrun.c (normal_stop): Don't print a message if the inferior
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.

20 years ago * cygwin.din: Export endusershell, getusershell and setusershell.
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.

20 years ago2003-09-08 Andrew Cagney <cagney@redhat.com>
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.

20 years ago* Makefile.in (dbxread.o): Note new dependency on $(gdb_assert_h).
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.

20 years ago * frame.c (deprecated_safe_get_selected_frame): New function.
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.

20 years ago * CGEN.sh.h: New arg arch-file.
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.

20 years ago2003-09-08 Dave Brolley <brolley@redhat.com>
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.

20 years ago2003-09-08 Dave Brolley <brolley@redhat.com>
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.

20 years ago2003-09-08 Dave Brolley <brolley@redhat.com>
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.

20 years ago2003-09-08 Dave Brolley <brolley@redhat.com>
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.

20 years ago2003-09-08 Dave Brolley <brolley@redhat.com>
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.

20 years ago2003-09-08 Dave Brolley <brolley@redhat.com>
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.

20 years ago * archures.c: Add new machine names for hppa.
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.

20 years ago * archures.c: Add new machine names for hppa.
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.

20 years ago * Makefile.in (ALLDEPFILES): Add sh64-tdep.c.
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.

20 years ago2003-09-08 Justin Forest <vhex@users.sourceforge.net>
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.

20 years ago * cygwin.din: Export argz_add argz_add_sep argz_append argz_count
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.

20 years agofix typo
cgf [Mon, 8 Sep 2003 05:09:13 +0000 (05:09 +0000)]
fix typo

20 years ago* Makefile.in (zlib_h): Rename libz.h -> zlib.h.
cgf [Mon, 8 Sep 2003 04:29:34 +0000 (04:29 +0000)]
* Makefile.in (zlib_h): Rename libz.h -> zlib.h.

20 years agoThroughout, remove __d_u.__d_data fields from DIR structure.
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.

20 years ago* Makefile.in: Detect existence of mingw zlib headers and libraries. Build
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.

20 years ago2003-09-07 Michael Chastain <mec@shout.net>
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'.

20 years ago* include/cygwin/in.h: Don't define ipv6 stuff unless we call for it
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.

20 years agodaily update
amodra [Mon, 8 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Mon, 8 Sep 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * lin-lwp.c (detach_callback): Don't call stop_wait_callback.
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.

20 years ago* cygheap.cc (_csbrk): More left coercion cleanup.
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.

20 years ago* gdb.arch/i386-prologue.exp: Add checks for saved registers.
kettenis [Sun, 7 Sep 2003 16:37:59 +0000 (16:37 +0000)]
* gdb.arch/i386-prologue.exp: Add checks for saved registers.

20 years ago From Nick Kelsey <nickk@ubicom.com>:
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.

20 years agoFix description of comment character for PPC.
nickc [Sun, 7 Sep 2003 12:28:09 +0000 (12:28 +0000)]
Fix description of comment character for PPC.

20 years ago* signal.cc (nanosleep): Improve test for valid values. Round delay up to
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.

20 years agoRemove left coercion throughout.
cgf [Sun, 7 Sep 2003 02:22:58 +0000 (02:22 +0000)]
Remove left coercion throughout.

20 years ago * arm-linux-tdep.c (arm_linux_arm_be_breakpoint): New.
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.

20 years ago*** empty log message ***
gdbadmin [Sun, 7 Sep 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Sun, 7 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update

20 years agomerge from gcc
dj [Sat, 6 Sep 2003 23:51:11 +0000 (23:51 +0000)]
merge from gcc

20 years ago * elf32-m68hc1x.h (struct m68hc11_elf_link_hash_table): Remove
ciceron [Sat, 6 Sep 2003 21:09:40 +0000 (21:09 +0000)]
* elf32-m68hc1x.h (struct m68hc11_elf_link_hash_table): Remove
all_local_syms member.
* elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Use bfd_elf_get_elf_syms
to get the local symbols.

20 years ago* sol-thread.c: Include "gdb_string.h".
kettenis [Sat, 6 Sep 2003 21:09:20 +0000 (21:09 +0000)]
* sol-thread.c: Include "gdb_string.h".

20 years ago * elf32-m68hc12.c (elf32_m68hc12_special_sections): New for hc11.
ciceron [Sat, 6 Sep 2003 20:55:49 +0000 (20:55 +0000)]
* elf32-m68hc12.c (elf32_m68hc12_special_sections): New for hc11.
(elf_backend_special_sections): Define.a

PR savannah/4950:
* elf32-m68hc11.c (elf32_m68hc11_special_sections): The .vectors
section is read-only.

20 years ago PR savannah/4358:
ciceron [Sat, 6 Sep 2003 20:43:05 +0000 (20:43 +0000)]
PR savannah/4358:
* config/tc-m68hc11.c (s_m68hc11_relax): Use 2 for size to avoid
overflow complain.

20 years ago* hires.h (hires_ms::~hires_ms): Delete declaration.
cgf [Sat, 6 Sep 2003 02:14:04 +0000 (02:14 +0000)]
* hires.h (hires_ms::~hires_ms): Delete declaration.
* times.cc (hires_ms::~hires_ms): Delete definition..

20 years ago* dump_setup.cc (check_package_files): Don't fail on empty package.
cgf [Sat, 6 Sep 2003 02:02:30 +0000 (02:02 +0000)]
* dump_setup.cc (check_package_files): Don't fail on empty package.

20 years agodaily update
amodra [Sat, 6 Sep 2003 00:00:13 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Sat, 6 Sep 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * include/w32api.h (_NT5, etc): Reverse the changes of 2003-07-01.
earnie [Fri, 5 Sep 2003 19:41:21 +0000 (19:41 +0000)]
* include/w32api.h (_NT5, etc): Reverse the changes of 2003-07-01.
* include/winbase.h (_NT5, etc): Ditto.

20 years ago2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 5 Sep 2003 18:22:00 +0000 (18:22 +0000)]
2003-09-05  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
        is different for _REENT_SMALL than when using regular reent
        struct.

20 years agoAdd support for v850e1 instructions
nickc [Fri, 5 Sep 2003 17:46:52 +0000 (17:46 +0000)]
Add support for v850e1 instructions

20 years agogas/
rsandifo [Fri, 5 Sep 2003 07:18:26 +0000 (07:18 +0000)]
gas/
* config/tc-frv.c (md_pcrel_from_section): Heed TC_FORCE_RELOCATION.

gas/testsuite/
* gas/frv/reloc1.[sd]: New test.
* gas/frv/allinsn.exp: Run it.

20 years ago * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
bje [Fri, 5 Sep 2003 02:21:41 +0000 (02:21 +0000)]
* libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
modern versions of GCC issue a warning.

20 years ago* dcrt0.cc (__argc_safe): New variable.
cgf [Fri, 5 Sep 2003 01:55:00 +0000 (01:55 +0000)]
* dcrt0.cc (__argc_safe): New variable.
(dll_crt0_1): Store argc in __argc_safe, which will theoretically remain
untouched by the user.
* fhandler_console.cc (fhandler_console::read): Silence some compiler warnings.
* fhandler_raw.cc (fhandler_dev_raw::raw_read): Ditto.
* pinfo.cc (_pinfo::commune_recv): Carefully bound argv scan and check for
potentially bad pointers since user could have set argv cell to anythinw.
* cygheap.h (CYGHEAPSIZE): Bump up size.

20 years agoFix mail address in most recent commit.
bje [Fri, 5 Sep 2003 00:48:01 +0000 (00:48 +0000)]
Fix mail address in most recent commit.

20 years ago * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
bje [Fri, 5 Sep 2003 00:45:54 +0000 (00:45 +0000)]
* libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
after continuation characters that induces a warning from modern
versions of GCC.

20 years ago * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
bje [Fri, 5 Sep 2003 00:13:15 +0000 (00:13 +0000)]
* libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards.  #ifndef FOO ||
FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.

20 years ago*** empty log message ***
gdbadmin [Fri, 5 Sep 2003 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Fri, 5 Sep 2003 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago* configure: Regenerate.
dj [Thu, 4 Sep 2003 22:53:35 +0000 (22:53 +0000)]
* configure: Regenerate.

20 years ago2003-09-04 Dave Brolley <brolley@redhat.com>
brolley [Thu, 4 Sep 2003 22:46:10 +0000 (22:46 +0000)]
2003-09-04  Dave Brolley  <brolley@redhat.com>

        * frv.cpu (register-transfer): Pass in all attributes in on argument.
        Update all callers.
        (conditional-register-transfer): Ditto.
        (cache-preload): Ditto.
        (floating-point-conversion): Ditto.
        (floating-point-neg): Ditto.
        (float-abs): Ditto.
        (float-binary-op-s): Ditto.
        (conditional-float-binary-op): Ditto.
        (ne-float-binary-op): Ditto.
        (float-dual-arith): Ditto.
        (ne-float-dual-arith): Ditto.

20 years ago* gcore.c: Reorder include files in alphabetical order. Include
kettenis [Thu, 4 Sep 2003 21:05:48 +0000 (21:05 +0000)]
* gcore.c: Reorder include files in alphabetical order.  Include
"gdb_assert.h".  Various coding style fixes.
(derive_stack_segment, derive_heap_segment): Replace check for
non-null BOTTOM and TOP with gdb_assert.
(derive_heap_segment): Replace check for successful creation of
ZERO with gdb_assert.
(make_mem_sec): Use bfd_section_lma to set OSEC->lma.

20 years ago2003-09-04 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 4 Sep 2003 21:03:36 +0000 (21:03 +0000)]
2003-09-04  Andrew Cagney  <cagney@redhat.com>

* thread-db.c (verbose_dlsym): New function.
(thread_db_load): Use verbose_dlsym
(thread_db_new_objfile): Print that libthread_db was loaded, and
that thread debugging was enabled.

20 years ago2003-09-04 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 4 Sep 2003 18:55:34 +0000 (18:55 +0000)]
2003-09-04  Andrew Cagney  <cagney@redhat.com>

* configure.tgt: Add "mips64*-*-*" target.  Delete
mips64*el-*-ecoff*, mips64*el-*-elf*, mips*el-*-ecoff*,
mips*el-*-elf*, mips*-*-lnews*, mips*-*-sysv*, mips*-*-riscos*,
mips*-*-ecoff*, mips*-*-elf*, mips*-little-*, mips*-big-*,
mips*-dec-*, mips64*-big-*, mips64*vr*-*-elf*, mips64*-*-ecoff*,
mips*-sony-*, and mips64*-*-elf* targets.
* config/mips/embedl.mt: Delete file.
* config/mips/embedl64.mt: Delete file.
* config/mips/mips.mt: Delete file.
* config/mips/mips64.mt: Delete file.
* config/mips/tm-embed.h: Delete file.
* config/mips/embed.mt (TM_FILE): Set to "tm-mips.h".
* config/mips/embed64.mt: Delete out-of-date comment.

20 years ago2003-09-04 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 4 Sep 2003 18:04:24 +0000 (18:04 +0000)]
2003-09-04  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa_gdbarch_init): Set
"have_nonsteppable_watchpoint".
* config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
* mips-tdep.c (mips_dump_tdep): Do not print
HAVE_NONSTEPPABLE_WATCHPOINT.
(mips_gdbarch_init): Set "have_nonsteppable_watchpoint".
* config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
* config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
* config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.

20 years ago * breakpoint.c (watchpoint_check): Remove accidentally checked in
corinna [Thu, 4 Sep 2003 17:41:46 +0000 (17:41 +0000)]
* breakpoint.c (watchpoint_check): Remove accidentally checked in
unused code.  Add comment.

20 years ago * breakpoint.c (watchpoint_check): Check for pc being in an
corinna [Thu, 4 Sep 2003 17:24:52 +0000 (17:24 +0000)]
* breakpoint.c (watchpoint_check): Check for pc being in an
epilogue if watchpoint frame couldn't be found.

20 years ago2003-09-04 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 4 Sep 2003 16:48:41 +0000 (16:48 +0000)]
2003-09-04  Andrew Cagney  <cagney@redhat.com>

* Makefile.in: Re-generate all dependencies.

20 years agoMatch GNU/KFreeBSD with new kfreebsd*-gnu triplet.
nickc [Thu, 4 Sep 2003 12:33:44 +0000 (12:33 +0000)]
Match GNU/KFreeBSD with new kfreebsd*-gnu triplet.

20 years agoMake it clear what should be done with patches to the top level configure files
nickc [Thu, 4 Sep 2003 12:30:27 +0000 (12:30 +0000)]
Make it clear what should be done with patches to the top level configure files
(other than config.guess and config.sub).
Add binutils@sources.redhat.com as an address to which patches can be sent.

20 years agoAdd binutils support for v850e1 processor
nickc [Thu, 4 Sep 2003 11:04:33 +0000 (11:04 +0000)]
Add binutils support for v850e1 processor

20 years ago * sysconf.cc (sysconf): Return more accurate value for _SC_AVPHYS_PAGES.
corinna [Thu, 4 Sep 2003 10:57:58 +0000 (10:57 +0000)]
* sysconf.cc (sysconf): Return more accurate value for _SC_AVPHYS_PAGES.

20 years ago * mmap.cc: Restructure. Add, remove and rewrite comments throughout
corinna [Thu, 4 Sep 2003 10:27:51 +0000 (10:27 +0000)]
* mmap.cc: Restructure. Add, remove and rewrite comments throughout
for better readability.  Change function names for better
understanding.
(MAP_SET): Accomodate name change from map_map_ to page_map_.
(MAP_CLR): Ditto.
(MAP_ISSET): Ditto.
(mmap_record::page_map_): Rename from page_map_.
(mmap_record::get_map): Remove.
(mmap_record::alloc_page_map): Rename from alloc_map. Return bool
indicating success of cygheap memory allocation.
(mmap_record::free_page_map): Rename from free_map.
(mmap_record::fixup_page_map): Rename from fixup_map.
(mmap_record::find_unused_pages): Rename from find_empty.
(mmap_record::map_pages): Rename from map_map.
(mmap_record::unmap_pages): Rename from unmap_map.
(class list): Make all class members private.
(list::list): Remove.
(list::~list): Remove.
(list::get_fd): New attribute reader.
(list::get_hash): Ditto.
(list::get_record): Ditto.
(list::add_record): Manage all allocation for mmap_records.  Check
for failed memory allocation and return NULL if so.
(list::set): New function.
(list::del_record): Rename from erase. Return true if last mmap_record
has been deleted, false otherwise. Check for legal incoming index
value.
(list::erase): Remove erase/0.
(list::search_record): Rename from match.
(map::map): Remove.
(map::~map): Remove.
(map::add_list): Manage all allocation for lists.  Check for failed
memory allocation and return NULL if so.
(map::get_list): New method.
(map::del_list): Rename from erase. Check for legal incoming index
value.
(mmap64): Check for failed mmap_record memory allocation.  Return
with MAP_FAILED and errno set to ENOMEM if so.
(munmap): Rearrange loop using new list and mmap_record accessor
functions.  Rename loop index variables for better understanding.
Check if list can be deleted after last mmap_record in it has been
deleted.
(msync): Rearrange loop using new list and mmap_record accessor
functions.  Rename loop index variables for better understanding.
(fixup_mmaps_after_fork): Ditto.

20 years ago* cxx.cc (new): Fix formatting. Just return result of ccalloc rather than
cgf [Thu, 4 Sep 2003 03:01:35 +0000 (03:01 +0000)]
* cxx.cc (new): Fix formatting.  Just return result of ccalloc rather than
calling memset explicitly.

20 years ago * config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ANY to existing
amodra [Thu, 4 Sep 2003 01:52:18 +0000 (01:52 +0000)]
* config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ANY to existing
ppc_cpu selection rather than replacing.
(ppc_set_cpu): Ignore and preserve PPC_OPCODE_ANY in ppc_cpu.
(md_begin): When PPC_OPCODE_ANY, insert all opcodes in ppc_hash.

20 years ago * ppc-dis.c (struct dis_private): New.
amodra [Thu, 4 Sep 2003 01:51:37 +0000 (01:51 +0000)]
* ppc-dis.c (struct dis_private): New.
(powerpc_dialect): Make static.  Accept -Many in addition to existing
options.  Save dialect in dis_private.
(print_insn_big_powerpc): Retrieve dialect from dis_private.
(print_insn_little_powerpc): Likewise.
(print_insn_powerpc): Call powpc_dialect here.  Remove unnecessary
efs/altivec check.  Try harder to disassemble if given -Many.
* ppc-opc.c (insert_fxm): Expand comment.
(PPC, PPCCOM, PPC32, PPC64, PPCVEC): Remove PPC_OPCODE_ANY.
(POWER, POWER2, PPCPWR2, POWER32, COM, COM32, M601, PWRCOM): Likewise.
(POWER4): Remove PPCCOM.
(PPCONLY): Don't define.  Update all occurrences to PPC.

20 years ago* mount.cc (mount_commands): Ensure user mode is actually user mode and not the
cgf [Thu, 4 Sep 2003 01:04:57 +0000 (01:04 +0000)]
* mount.cc (mount_commands): Ensure user mode is actually user mode and not the
default system mode.

20 years ago2003-09-03 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 4 Sep 2003 00:05:49 +0000 (00:05 +0000)]
2003-09-03  Andrew Cagney  <cagney@redhat.com>

* arch-utils.h (legacy_print_insn): Delete declaration.
* arch-utils.c (legacy_print_insn): Delete function.
* disasm.c (deprecated_tm_print_insn_info): Delete.
(_initialize_disasm): Delete function, contained code initializing
deprecated_tm_print_insn_info.
* gdbarch.sh (deprecated_tm_print_insn): Delete.
(deprecated_tm_print_insn_info): Delete.
(TARGET_PRINT_INSN): Do not provide a default.
* gdbarch.h, gdbarch.c: Re-generate.

20 years ago*** empty log message ***
gdbadmin [Thu, 4 Sep 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Thu, 4 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago2003-09-03 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 3 Sep 2003 23:46:57 +0000 (23:46 +0000)]
2003-09-03  Andrew Cagney  <cagney@redhat.com>

* disasm.c (fprintf_disasm): New function.
(gdb_disassemble_info): Call "init_disassemble_info", instead of
INIT_DISASSEMBLE_INFO_NO_ARCH.  Do not initialize "insn_sets",
reverts 2003-08-14 change.
(_initialize_disasm): Call "init_disassemble_info", instead of
INIT_DISASSEMBLE_INFO_NO_ARCH.

20 years agoIndex: opcodes/ChangeLog
cagney [Wed, 3 Sep 2003 23:43:17 +0000 (23:43 +0000)]
Index: opcodes/ChangeLog
2003-09-03  Andrew Cagney  <cagney@redhat.com>

* dis-init.c (init_disassemble_info): New file and function.
* Makefile.am (CFILES): Add "dis-init.c".
(libopcodes_la_SOURCES): Add "dis-init.c".
(dis-init.lo): Specify dependencies.
* Makefile.in: Regenerate.

Index: include/ChangeLog
2003-08-27  Andrew Cagney  <cagney@redhat.com>

* dis-asm.h (init_disassemble_info): Declare.
(INIT_DISASSEMBLE_INFO): Redefine as a call to
init_disassemble_info.
(INIT_DISASSEMBLE_INFO_NO_ARCH): Ditto.

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

* objdump.c: Refer to init_disassemble_info in comments.
(disassemble_data): Replace INIT_DISASSEMBLE_INFO with
init_disassemble_info.