OSDN Git Service
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
dj [Sat, 6 Sep 2003 23:51:11 +0000 (23:51 +0000)]
merge from gcc
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.
kettenis [Sat, 6 Sep 2003 21:09:20 +0000 (21:09 +0000)]
* sol-thread.c: Include "gdb_string.h".
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.
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.
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..
cgf [Sat, 6 Sep 2003 02:02:30 +0000 (02:02 +0000)]
* dump_setup.cc (check_package_files): Don't fail on empty package.
amodra [Sat, 6 Sep 2003 00:00:13 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 6 Sep 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
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.
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.
nickc [Fri, 5 Sep 2003 17:46:52 +0000 (17:46 +0000)]
Add support for v850e1 instructions
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.
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.
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.
bje [Fri, 5 Sep 2003 00:48:01 +0000 (00:48 +0000)]
Fix mail address in most recent commit.
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.
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.
gdbadmin [Fri, 5 Sep 2003 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 5 Sep 2003 00:00:05 +0000 (00:00 +0000)]
daily update
dj [Thu, 4 Sep 2003 22:53:35 +0000 (22:53 +0000)]
* configure: Regenerate.
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.
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.
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.
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.
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.
corinna [Thu, 4 Sep 2003 17:41:46 +0000 (17:41 +0000)]
* breakpoint.c (watchpoint_check): Remove accidentally checked in
unused code. Add comment.
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.
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.
nickc [Thu, 4 Sep 2003 12:33:44 +0000 (12:33 +0000)]
Match GNU/KFreeBSD with new kfreebsd*-gnu triplet.
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.
nickc [Thu, 4 Sep 2003 11:04:33 +0000 (11:04 +0000)]
Add binutils support for v850e1 processor
corinna [Thu, 4 Sep 2003 10:57:58 +0000 (10:57 +0000)]
* sysconf.cc (sysconf): Return more accurate value for _SC_AVPHYS_PAGES.
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.
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.
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.
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.
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.
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.
gdbadmin [Thu, 4 Sep 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 4 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update
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.
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.
brolley [Wed, 3 Sep 2003 23:12:21 +0000 (23:12 +0000)]
003-09-03 Dave Brolley <brolley@redhat.com>
* cpu.h, model.c, sem.c, decode.h, decode.c: Regenerated.
brolley [Wed, 3 Sep 2003 23:09:56 +0000 (23:09 +0000)]
2003-09-03 Dave Brolley <brolley@redhat.com>
* frv-*: Regenerated.
brolley [Wed, 3 Sep 2003 23:03:45 +0000 (23:03 +0000)]
2003-09-03 Dave Brolley <brolley@redhat.com>
* frv.opc (parse_A, parse_A0, parse_A1): New parse handlers.
* frv.cpu (UNIT): Add IALL, FMALL, FMLOW, STORE, SCAN, DCPL, MDUALACC,
MCLRACC-1.
(A): Removed operand.
(A0,A1): New operands replace operand A.
(mnop): Now a real insn
(mclracc): Removed insn.
(mclracc-0, mclracc-1): New insns replace mclracc.
(all insns): Use new UNIT attributes.
bje [Wed, 3 Sep 2003 22:40:45 +0000 (22:40 +0000)]
Spelling fix by the ChangeLog police.
msnyder [Wed, 3 Sep 2003 22:36:06 +0000 (22:36 +0000)]
2003-09-03 Michael Snyder <msnyder@redhat.com>
* config/djgpp/fnchange.lst: Fix up sim/frv/profile-fr*.[ch].
msnyder [Wed, 3 Sep 2003 21:56:01 +0000 (21:56 +0000)]
2003-09-03 Michael Snyder <msnyder@redhat.com>
* sim/frv/fr500/mclracc.cgs: Change mach to 'all',
to be consistant with other tests in the directory.
msnyder [Wed, 3 Sep 2003 21:51:57 +0000 (21:51 +0000)]
2003-09-03 Michael Snyder <msnyder@redhat.com>
* sim/frv/interrupts/Ipipe-fr400.cgs: New file.
* sim/frv/interrupts/Ipipe-fr500.cgs: New file.
* sim/frv/interrupts/Ipipe.cgs: Remove (replaced by above).
cagney [Wed, 3 Sep 2003 21:01:42 +0000 (21:01 +0000)]
2003-09-03 Andrew Cagney <cagney@redhat.com>
* config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition.
* config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define.
* symfile.c (syms_from_objfile): Update.
(reread_symbols): `Update
* exec.c (exec_file_attach): Update.
(exec_file_attach): Update.
* config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert
2003-08-29 change.
* config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET.
drow [Wed, 3 Sep 2003 20:46:01 +0000 (20:46 +0000)]
* arm-tdep.c: Include frame-unwind.h, frame-base.h, and
trad-frame.h.
(arm_get_cache): Delete macro.
(struct arm_prologue_cache): Update comments. Make saved_regs into
a trad_frame_saved_reg pointer. Remove unwound_pc; rename unwound_sp
to prev_sp.
(thumb_scan_prologue): Update for cache changes. Don't call
DEPRECATED_PC_IN_CALL_DUMMY.
(arm_scan_prologue): Update for cache changes. Take NEXT_FRAME
argument and use it in desperation search for our prologue. Do not
search past the specified PC.
(arm_make_prologue_cache): Simplify.
(arm_prologue_this_id, arm_prologue_prev_register)
(arm_prologue_unwind, arm_prologue_unwind_sniffer)
(arm_normal_frame_base, arm_normal_base, arm_make_sigtramp_cache)
(arm_sigtramp_this_id, arm_sigtramp_prev_register)
(arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer)
(arm_unwind_dummy_id, arm_unwind_pc, arm_unwind_sp): New.
(arm_frame_chain_valid, arm_find_callers_reg)
(arm_frame_saved_pc, arm_read_fp, arm_frame_init_saved_regs)
(arm_pop_frame): Delete obsolete methods.
(arm_minimal_frame_chain, arm_minimal_frame_info): Delete.
(arm_gdbarch_init): Update for new frame methods. Register prologue
and sigtramp unwinders. Set the default frame base method.
* Makefile.in (arm-tdep.o): Update dependencies.
* varobj.c (find_frame_addr_in_frame_chain): Call
get_frame_base_address.
* std-regs.c (value_of_builtin_frame_fp_reg): Likewise.
drow [Wed, 3 Sep 2003 20:45:02 +0000 (20:45 +0000)]
* arm-tdep.c (arm_minimal_frame_chain): Renamed from
arm_frame_chain. Take NEXT_FRAME and CACHE arguments.
Use the cache instead of DEPRECATED_FRAME_SAVED_PC.
(arm_minimal_frame_info): Renamed from arm_init_extra_frame_info.
Take NEXT_FRAME and CACHE arguments. Call
FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument.
Set unwound_pc in CACHE instead of modifying the frame argument.
Don't bother checking the frame type when looking for sigtramp
frames.
(arm_make_prologue_cache, arm_frame_chain)
(arm_init_extra_frame_info): New functions.
drow [Wed, 3 Sep 2003 20:44:25 +0000 (20:44 +0000)]
* arm-tdep.c (arm_get_cache): Define.
(struct arm_prologue_cache): Renamed from frame_extra_info. Add
unwound_sp, unwound_pc, and saved_regs.
(thumb_scan_prologue): Take a cache instead of the frame.
(arm_scan_prologue): Likewise.
(arm_frame_chain): Create a temporary cache for arm_scan_prologue
instead of a temporary frame.
(arm_init_extra_frame_info): Allocate and use a cache.
(arm_frame_saved_pc, arm_pop_frame): Use the cache.
cagney [Wed, 3 Sep 2003 18:52:19 +0000 (18:52 +0000)]
2003-09-03 Andrew Cagney <cagney@redhat.com>
* config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS.
* config/mips/wince.mt (TM_CLIBS): Ditto.
* config/sh/wince.mt (TM_CLIBS): Ditto.
* config/pa/hppa64.mt (TM_CLIBS): Delete.
* config/sparc/sp64.mt (CC): Delete.
schwab [Wed, 3 Sep 2003 18:46:52 +0000 (18:46 +0000)]
* Makefile.in (FLAGS_TO_PASS): Pass down $(bindir) and $(mandir).