OSDN Git Service
jjohnstn [Thu, 7 Nov 2002 00:25:56 +0000 (00:25 +0000)]
2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
* arm/Makefile.in: Add support for new pid specs.
* arm/coff-iq80310.specs: Change to allow future support.
* arm/elf-iq80310.specs: Ditto.
* arm/elf-redboot.specs: Ditto.
* arm/coff-redboot.ld: Add EH frame support.
* arm/redboot-crt0.S: Add optional code to clear bss without
memset.
* arm/coff-pid.specs: New file.
* arm/elf-pid.specs: New file.
gdbadmin [Thu, 7 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
hunt [Wed, 6 Nov 2002 23:45:25 +0000 (23:45 +0000)]
2002-11-06 Martin M. Hunt <hunt@redhat.com>
* library/locals.tcl (build_win): Fix so window opens
on Windows.
kkojima [Wed, 6 Nov 2002 23:37:23 +0000 (23:37 +0000)]
* ld-sh/rd-sh.exp: Set asflags_save always.
ezannoni [Wed, 6 Nov 2002 23:27:57 +0000 (23:27 +0000)]
2002-11-06 Elena Zannoni <ezannoni@redhat.com>
* symtab.c (methods_info): Delete. It has been ifdeffed out for
ages.
(symtab_symbol_info): Remove eons old ifdeffed out code.
(_initialize_symtab): Remove prehistoric disabled 'info methods'
command.
amodra [Wed, 6 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update
jjohnstn [Wed, 6 Nov 2002 22:54:51 +0000 (22:54 +0000)]
2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
Catherine Moore <clm@redhat.com>
* m32r/configure.in: Do not require gcc to be able to link an
executable.
* m32r/configure: Regenerate.
* m32r/Makefile.in: Directly reference gdbstub.
troth [Wed, 6 Nov 2002 22:48:24 +0000 (22:48 +0000)]
* c-exp.y: Add missing semi-colons.
* f-exp.y: Add missing semi-colons.
* m2-exp.y: Add missing semi-colons.
* p-exp.y: Add missing semi-colons.
Add empty action to start rule to avoid a type clash error when
building with bison >= 1.50.
hunt [Wed, 6 Nov 2002 21:59:23 +0000 (21:59 +0000)]
2002-11-06 Martin M. Hunt <hunt@redhat.com>
* library/debugwin.itb: Remove VariableWin. Add VarTree.
aoliva [Wed, 6 Nov 2002 21:56:04 +0000 (21:56 +0000)]
* elf64-mips.c (mips_elf64_slurp_one_reloc_table): Generate
exactly three internal relocs per external reloc. Set reloc_count
to the external reloc count.
hunt [Wed, 6 Nov 2002 21:05:22 +0000 (21:05 +0000)]
2002-11-06 Martin M. Hunt <hunt@redhat.com>
* library/watch.tcl: Completely rewritten to use VarTree.
* library/locals.tcl: Completely rewritten to use VarTree.
* library/variables.tcl: Deleted.
* library/vartree.ith: New file.
* library/vartree.itb: New file. Implements a variable
tree.
* library/tclIndex: Rebuilt.
jimb [Wed, 6 Nov 2002 20:57:41 +0000 (20:57 +0000)]
* macrotab.h (struct macro_source_file): Doc fix.
hunt [Wed, 6 Nov 2002 20:45:52 +0000 (20:45 +0000)]
2002-11-06 Martin M. Hunt <hunt@redhat.com>
* library/globalpref.itb (_build_win): Add radiobox
to select KDE/GNOME/default for pref gdb/compat. Remove
browser option.
* library/regwin.itb (build_win): Colors(hbg) has been
removed so use Colors(bg) instead.
* library/prefs.tcl (pref_set_defaults): Add a new
preference "gdb/compat" which can be set to KDE, GNOME,
Windows or default. This allows us to change Insight's
behavior based on windowing system.
(pref_set_colors): Attempt to read in .gtkrc files.
Do different things for KDE vs GNOME.
(pref_load_default): New function. Load default colors.
(pref_load_gnome): New function. Find and open GNOME file.
(load_gnome_file): New function. Loads GNOME file.
(pref_set_option_db): New function. Set option database.
hunt [Wed, 6 Nov 2002 20:29:13 +0000 (20:29 +0000)]
2002-11-06 Martin M. Hunt <hunt@redhat.com>
* generic/gdbtk-varobj.c: Remove FREEIF and replace with xfree.
Make format_string static.
(variable_update): Return an object
with "-1" in it on error.
nickc [Wed, 6 Nov 2002 19:36:17 +0000 (19:36 +0000)]
Adds support for fastcall symbols as used on Microsoft Windows platforms
(i386)
cgd [Wed, 6 Nov 2002 18:41:09 +0000 (18:41 +0000)]
2002-11-06 Richard Sandiford <rsandifo@redhat.com>
* gen-engine.c (print_engine_issue_prefix_hook): Don't add the
global prefix to ENGINE_ISSUE_PREFIX_HOOK.
(print_engine_issue_postfix_hook): Likewise ENGINE_ISSUE_POSTFIX_HOOK.
cgd [Wed, 6 Nov 2002 18:40:25 +0000 (18:40 +0000)]
2002-11-06 Richard Sandiford <rsandifo@redhat.com>
* Make-common.in (SIM_EXTRA_DISTCLEAN): New macro.
(distclean): Depend on it.
sveinse [Wed, 6 Nov 2002 17:32:51 +0000 (17:32 +0000)]
Added Svein Seldal as maintainer for the TIC4X target
nickc [Wed, 6 Nov 2002 17:12:05 +0000 (17:12 +0000)]
(stub_bytes): Mark as const.
Fix comment formatting.
nickc [Wed, 6 Nov 2002 17:02:36 +0000 (17:02 +0000)]
oops - omitted fix to display unknown symbol type in hex.
nickc [Wed, 6 Nov 2002 17:00:56 +0000 (17:00 +0000)]
Add hex number to PROCESSOR-specific, OS-specific, and reserved symbol types.
kseitz [Wed, 6 Nov 2002 14:22:27 +0000 (14:22 +0000)]
* generic/gdbtk-hooks.c (gdbtk_call_command): Make a null
cleanup and run it after every issued gdb command. Apparently
some commands depend on this. [This should really be part of
main gdb...]
nickc [Wed, 6 Nov 2002 13:26:25 +0000 (13:26 +0000)]
Add support for PEF, Mach-O, xSYM
amodra [Wed, 6 Nov 2002 12:04:30 +0000 (12:04 +0000)]
Ah bah, missed these from last commit.
amodra [Wed, 6 Nov 2002 11:38:34 +0000 (11:38 +0000)]
* Makefile.am: Remove entries for elf32-qnx.[ch].
* Makefile.in: Regenerate.
* config.bfd: Change arm-nto to use bfd_elf32_{big|little}arm_vec,
ppc-nto to use bfd_elf32_powerpc{le}_vec, sh-nto to use
bfd_elf32_sh{l}_vec, and i386-nto to use bfd_elf32_i386_vec.
* configure.in: Remove support for bfd_elf32_sh{l}qnx_vec,
bfd_elf32_powerpc{le}qnx_vec, bfd_elf32_{big|little}armqnx_vec,
and bfd_elf32_i386qnx_vec, and removed elf32-qnx.lo from other targets.
bfd_elf32_sh{l}_vec, and i386-nto to use bfd_elf32_i386_vec.
* configure: Regenerate.
* elf32-qnx.c: Remove.
* elf32-qnx.h: Remove.
* elf.c: Remove calls to QNX specific set_nonloadable_filepos,
is_contained_by_filepos, and copy_private_bfd_data_p.
* elf32-i386.c: Remove QNX extended bfd support.
* elf32-ppc.c: Remove QNX extended bfd support.
* elf32-sh.c: Remove QNX extended bfd support.
* elfarm-nabi.c: Remove QNX extended bfd support.
* targets.c: Remove qnx vectors.
* elfxx-target.h (elf_backend_set_nonloadable_filepos): Remove
(elf_backend_is_contained_by_filepos): Remove.
(elf_backend_copy_private_bfd_data_p): Remove.
* po/SRC-POTFILES.in: Regenerate.
cgf [Wed, 6 Nov 2002 01:50:31 +0000 (01:50 +0000)]
* fhandler_serial.cc (fhandler_serial::ioctl): Don't try to figure out if OS
has the capability to retrieve RTS/CTS. Just set default values if
DeviceIoControl fails. (suggested by Sergey Okhapkin)
gdbadmin [Wed, 6 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Tue, 5 Nov 2002 23:15:04 +0000 (23:15 +0000)]
* fhandler_serial.cc (fhandler_serial::raw_read): Use correct type for
minchars.
(fhandler_serial::ioctl): Set errno if the ClearCommError fails.
(fhandler_serial::tcsetattr): Use correct value for vmin_.
(fhandler_serial::tcgetattr): Ditto.
amodra [Tue, 5 Nov 2002 23:00:03 +0000 (23:00 +0000)]
daily update
amodra [Tue, 5 Nov 2002 22:59:23 +0000 (22:59 +0000)]
* elf64-sparc.c (sparc64_elf_relocate_section): Adjust addend of
dynamic relocs against section symbols for the output section vma.
ezannoni [Tue, 5 Nov 2002 22:38:10 +0000 (22:38 +0000)]
2002-11-05 Elena Zannoni <ezannoni@redhat.com>
From Jim Ingham <jingham@apple.com>:
* event-top.c (gdb_disable_readline): New function.
(_initialize_event_loop): Move comment.
jjohnstn [Tue, 5 Nov 2002 22:31:32 +0000 (22:31 +0000)]
2002-11-05 Jeff Johnston <jjohnstn@redhat.com>
* gdb792.cc: New file to test patch for PR gdb/792.
* gdb792.exp: Ditto.
jjohnstn [Tue, 5 Nov 2002 22:30:58 +0000 (22:30 +0000)]
2002-11-05 Jeff Johnston <jjohnstn@redhat.com>
* varobj.c (child_exists, cplus_number_of_children): Change
STREQ macro references to strcmp.
(cplus_name_of_child): Change code to handle the fact that
fields are not necessarily contiguous with regards to their
access control. This is a fix for PR gdb/792.
hjl [Tue, 5 Nov 2002 21:53:12 +0000 (21:53 +0000)]
2002-11-05 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (support_64bit_objects): Check *l before it
is freed.
cagney [Tue, 5 Nov 2002 21:44:04 +0000 (21:44 +0000)]
2002-11-05 Andrew Cagney <
ac131313@redhat.com>
* gdbarch.sh (GET_SAVED_REGISTER): Change to a predicate function.
* gdbarch.h, gdbarch.c: Regnerate.
* frame.h (frame_register): Declare.
* frame.c (frame_register): New function.
(get_saved_register): Test GET_SAVED_REGISTER_P before calling
GET_SAVED_REGISTER, otherwize call
generic_unwind_get_saved_register.
(frame_register_read): Use frame_register instead of
get_saved_register.
fche [Tue, 5 Nov 2002 21:35:45 +0000 (21:35 +0000)]
2002-11-05 Frank Ch. Eigler <fche@redhat.com>
* dev.scm: Call getenv with a string, not a symbol.
ezannoni [Tue, 5 Nov 2002 21:17:31 +0000 (21:17 +0000)]
2002-11-05 Elena Zannoni <ezannoni@redhat.com>
* event-loop.c (start_event_loop): Add comment.
Update copyright.
cagney [Tue, 5 Nov 2002 20:52:42 +0000 (20:52 +0000)]
2002-11-05 Andrew Cagney <
ac131313@redhat.com>
* infcmd.c (default_print_registers_info): Do not call
PRINT_REGISTER_HOOK.
cagney [Tue, 5 Nov 2002 20:43:34 +0000 (20:43 +0000)]
2002-11-05 Andrew Cagney <
ac131313@redhat.com>
* sparc-tdep.c (sparc_print_register_hook): Make static.
(sparc_print_registers_info): New function.
(sparc_do_registers_info): New function.
(sparclet_print_registers_info): New function.
(sparclet_do_registers_info): New function.
(do_sparc_print_registers_info): New function.
(sparc_print_registers): New static function, clone of infcmd.c's
default_print_registers_info.
* config/sparc/tm-sparclet.h (PRINT_REGISTER_HOOK): Delete macro.
(sparclet_do_registers_info): Declare.
(DEPRECATED_DO_REGISTERS_INFO): Re-define.
* config/sparc/tm-sparc.h (DEPRECATED_DO_REGISTERS_INFO):
Re-define.
(sparc_do_registers_info): Declare.
(PRINT_REGISTER_HOOK): Delete macro.
(sparc_print_register_hook): Delete declaration.
carlton [Tue, 5 Nov 2002 20:33:00 +0000 (20:33 +0000)]
2002-11-05 David Carlton <carlton@math.stanford.edu>
* symtab.c (lookup_symbol_aux): Move chunks of code into separate
functions.
(lookup_symbol_aux_local): New function.
(lookup_symbol_aux_symtabs): New function.
(lookup_symbol_aux_psymtabs): New function.
carlton [Tue, 5 Nov 2002 16:59:57 +0000 (16:59 +0000)]
2002-11-05 David Carlton <carlton@math.stanford.edu>
* symtab.c (lookup_symbol_aux): In minsym sections, don't use the
previous values of 'objfile' and 'block'.
cgf [Tue, 5 Nov 2002 16:49:58 +0000 (16:49 +0000)]
* fhandler_socket.cc (fhandler_socket::recvmsg): Call if from == NULL
WSARecvFrom with fromlen = NULL.
ezannoni [Tue, 5 Nov 2002 15:43:18 +0000 (15:43 +0000)]
2002-11-04 Elena Zannoni <ezannoni@redhat.com>
* mi-console.exp: Use mi_runto, mi_run_to_main, mi_next_to,
mi_step_to wherever possible. Update copyright notices.
* mi-disassemble.exp: Ditto.
* mi-eval.exp: Ditto.
* mi-read-memory.exp: Ditto.
* mi-regs.exp: Ditto.
* mi-return.exp: Ditto.
* mi-stack.exp: Ditto.
* mi-stepi.exp: Ditto.
* mi-var-block.exp: Ditto.
* mi-var-cmd.exp: Ditto.
* mi-watch.exp: Ditto.
* mi1-console.exp: Ditto.
* mi1-disassemble.exp: Ditto.
* mi1-eval.exp: Ditto.
* mi1-read-memory.exp: Ditto.
* mi1-regs.exp: Ditto.
* mi1-return.exp: Ditto.
* mi1-stack.exp: Ditto.
* mi1-stepi.exp: Ditto.
* mi1-var-block.exp: Ditto.
* mi1-var-cmd.exp: Ditto.
* mi1-watch.exp: Ditto.
kdienes [Tue, 5 Nov 2002 09:20:13 +0000 (09:20 +0000)]
Correct the ChangeLog entry for 2002-10-11 from:
* findvar.c (read_memory_typed_address): New function.
to
* corefile.c (read_memory_typed_address): New function.
muller [Tue, 5 Nov 2002 08:25:12 +0000 (08:25 +0000)]
2002-10-07 Pierre Muller <muller@ics.u-strasbg.fr>
* values.c (value_change_enclosing_type): Set
enclosing_type field correctly also for the case where
more memory needs to be allocated.
bje [Tue, 5 Nov 2002 05:56:11 +0000 (05:56 +0000)]
* update.
amodra [Tue, 5 Nov 2002 05:01:11 +0000 (05:01 +0000)]
* elf32-arm.h (t2a1_push_insn, t2a2_ldr_insn, t2a3_mov_insn,
t2a4_bx_insn, t2a5_pop_insn, t2a6_bx_insn): Remove.
cgf [Tue, 5 Nov 2002 04:52:52 +0000 (04:52 +0000)]
* pinfo.cc (_pinfo::commune_send): Fix thinko in previous checkin.
cgf [Tue, 5 Nov 2002 04:43:01 +0000 (04:43 +0000)]
* pinfo.cc (_pinfo::commune_send): Set priority low when sleeping, waiting for
commune completion so that we don't spin waiting for lower priority processes.
cgf [Tue, 5 Nov 2002 04:24:48 +0000 (04:24 +0000)]
revert erroneous checkins
cgf [Tue, 5 Nov 2002 04:23:41 +0000 (04:23 +0000)]
* sigproc.cc (WAIT_SIG_PRIORITY): Bump to THREAD_PRIORITY_TIME_CRITICAL.
cgf [Tue, 5 Nov 2002 03:39:24 +0000 (03:39 +0000)]
* pinfo.cc (_pinfo::commune_send): Initialize buffer or suffer random crashes.
cgf [Tue, 5 Nov 2002 03:21:32 +0000 (03:21 +0000)]
* fhandler_process.cc (fhandler_process::fill_filebuf): Deal with error
condition from cmdline retrieval.
cgf [Tue, 5 Nov 2002 02:58:09 +0000 (02:58 +0000)]
* sigproc.cc (WAIT_SIG_PRIORITY): Bump to highest priority.
amodra [Tue, 5 Nov 2002 01:18:53 +0000 (01:18 +0000)]
* config.bfd (sh-*-linux*): Use bfd_elf*_sh64*lin_vec as sh64
vectors in target_selvecs.
(shle-*-netbsdelf*): Use bfd_elf*_sh64*nbsd_vec as sh64 vectors
in target_selvecs.
(sh-*-netbsdelf*): Likewise.
* configure.in (assocvecs): New variable. Handle assocvecs like
selvecs.
* configure: Regenerate.
* format.c (bfd_check_format_matches): Store bfd_target pointers
in matching_vector instead of target names. Select first target
from bfd_associated_vector that matches a list of ambiguous targets.
* targets.c (_bfd_associated_vector): New array.
(bfd_associated_vector): New variable.
(_bfd_target_vector): Add bfd_elf*_sh64*lin_vec.
* libbfd-in.h (bfd_associated_vector): Declare.
* libbfd.h: Regenerate.
amodra [Tue, 5 Nov 2002 01:08:17 +0000 (01:08 +0000)]
* vms-gsd.c (_bfd_vms_write_gsd): Check that symbol->udata.p is
non-NULL before dereferencing.
gdbadmin [Tue, 5 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 4 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update
kkojima [Mon, 4 Nov 2002 21:44:36 +0000 (21:44 +0000)]
* vms.c (vms_object_p): Restore the start address when returning
NULL.
jjohnstn [Mon, 4 Nov 2002 19:04:08 +0000 (19:04 +0000)]
2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/wchar.h: Add extern "C" specifier if C++.
* libc/include/wctype.h: Ditto.
kevinb [Mon, 4 Nov 2002 18:48:56 +0000 (18:48 +0000)]
* Makefile.in, aclocal.m4, configure, lib/Makefile.in, qe/Makefile.in,
samples/Makefile.in, unix/configure: Regenerate configury using
aclocal 1.6.3, automake 1.6.3, and autoconf 2.53.
kevinb [Mon, 4 Nov 2002 18:41:14 +0000 (18:41 +0000)]
Top level configury changes for RDA.
nickc [Mon, 4 Nov 2002 16:10:55 +0000 (16:10 +0000)]
Set SEC_DATA and SEC_LOAD flags for sections marked as 's'.
amodra [Mon, 4 Nov 2002 13:20:55 +0000 (13:20 +0000)]
* elflink.h (struct elf_final_link_info): Add shndxbuf_size.
(elf_bfd_final_link): Don't bother zeroing symtab_hdr fields.
Set up a larger symshndxbuf, and write it out. Free it on
exit rather than freeing symbuf twice. Correct section index
on output section symbol loop.
(elf_link_output_sym): Accumulate symbol extension section
indices, reallocating symshndxbuf rather than writing it out.
(elf_link_flush_output_syms): Don't flush symshndxbuf.
* elf.c (assign_section_numbers): Init i_shdrp to all zero.
Use bfd_zalloc to clear i_shdrp[0] too.
cgf [Mon, 4 Nov 2002 05:08:14 +0000 (05:08 +0000)]
* include/cygwin/version.h: Bump DLL minor number.
cgf [Mon, 4 Nov 2002 04:09:14 +0000 (04:09 +0000)]
* fhandler_serial.cc (fhandler_serial::ioctl): Reformat. Set errno
appropriately. Exit from the bottom. Correctly deal with third argument for
TCFLSH. (Suggested by Sergey Okhapkin)
dannysmith [Mon, 4 Nov 2002 03:53:52 +0000 (03:53 +0000)]
* include/winnt.h (VerSetConditionMask): Add prototype.
* lib/kernel32.def (VerifyVersionInfo[AW]): Add stubs.
amodra [Mon, 4 Nov 2002 03:18:41 +0000 (03:18 +0000)]
* readelf.c (byte_get_little_endian): Comment typo fix.
(print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
as the format string.
(dump_relocations): Correct section sym names.
(process_section_headers): Clear symtab_shndx_hdr.
(read_and_display_attr_value): Don't pass indirect string to printf
as the format string.
(display_debug_frames): Indicate when zero terminator found. Decode
DW_EH_PE_pcrel addresses.
kkojima [Mon, 4 Nov 2002 01:18:12 +0000 (01:18 +0000)]
* ld-sh/rd-sh.exp: Add -isa=SHcompact to ASFLAGS for SH-5.
* ld-sh/tlsbin-1.d: Handle GOT_BIAS appropriately for SH-5.
* ld-sh/tlspic-1.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.
* ld-sh/tlsbin-2.d: Likewise. Make it robust for the symbols
defined by the linker scripts.
cgf [Mon, 4 Nov 2002 01:10:38 +0000 (01:10 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::ioctl): Do nothing if the new window
size is equal to the old one. Send SIGWINCH if slave connected to a pseudo
tty.
(fhandler_pty_master::ioctl): Do nothing if the new window size is equal to the
old one.
sclarke [Mon, 4 Nov 2002 00:02:13 +0000 (00:02 +0000)]
* elf32-sh64-com.c (sh64_address_in_cranges): Use
_raw_size of cranges section if _cooked_size not yet set.
gdbadmin [Mon, 4 Nov 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 3 Nov 2002 23:00:08 +0000 (23:00 +0000)]
daily update
kettenis [Sun, 3 Nov 2002 13:04:47 +0000 (13:04 +0000)]
* i387-tdep.c (i387_print_float_info): Call fputs_filtered instead
of puts_filtered.
kettenis [Sun, 3 Nov 2002 12:32:41 +0000 (12:32 +0000)]
* i387-tdep.c (i387_print_float_info): Replace calls to
register_read and deprecated_read_register_gen with calls to
frame_register_read, and make the necessary adjustments to the
surrounding code.
hp [Sun, 3 Nov 2002 10:43:44 +0000 (10:43 +0000)]
* elf32-v850.c (v850_elf_relax_delete_bytes): Correct parameters
for bfd_elf32_swap_symbol_out.
cagney [Sun, 3 Nov 2002 00:30:32 +0000 (00:30 +0000)]
2002-11-02 Andrew Cagney <
ac131313@redhat.com>
* gdbarch.sh (register_reggroup_p): Allow default value.
* gdbarch.h, gdbarch.c: Regenerate.
gdbadmin [Sun, 3 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 2 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update
cagney [Sat, 2 Nov 2002 20:06:56 +0000 (20:06 +0000)]
2002-11-02 Andrew Cagney <
ac131313@redhat.com>
* regcache.h: Add coment indicating replacements for deprecated
functions.
cagney [Sat, 2 Nov 2002 15:13:34 +0000 (15:13 +0000)]
2002-11-02 Andrew Cagney <cagney@redhat.com>
* reggroups.h, reggroups.c: New files.
* regcache.c: Include "reggroups.h".
(enum regcache_dump_what): Add `regcache_dump_groups'.
(regcache_dump): Contract size of the "Type" column. When
specified, dump the register's groups.
(maintenance_print_register_groups): New function.
(_initialize_regcache): Add command `maint print register-groups'.
* Makefile.in (COMMON_OBS): Add reggroups.o
(SFILES): Add reggroups.c.
(reggroups_h): Define.
(regcache.o, gdbarch.o): Update dependencies.
(reggroups.o): Specify dependencies.
* gdbarch.sh (register_reggroup_p): Add pure multi-arch method.
Add opaque declaration for `struct reggroup' in generated .h file.
Include "reggroups.h" in generated .c file.
gdbarch.h, gdbarch.c: Re-generate.
cagney [Sat, 2 Nov 2002 14:59:10 +0000 (14:59 +0000)]
2002-11-02 Andrew Cagney <cagney@redhat.com>
* regcache.h (deprecated_read_register_gen): Rename
read_register_gen.
(deprecated_write_register_gen): Rename write_register_gen.
* i387-tdep.c: Update.
* x86-64-linux-nat.c: Update
* wince.c: Update.
* thread-db.c: Update.
* win32-nat.c: Update.
* mips-tdep.c: Update.
* d10v-tdep.c: Update.
* cris-tdep.c: Update.
* remote-sim.c: Update.
* remote-rdi.c: Update.
* remote-rdp.c: Update.
* frame.c: Update.
* target.c: Update.
* blockframe.c: Update.
* x86-64-tdep.c: Update.
* xstormy16-tdep.c: Update.
* sh-tdep.c: Update.
* s390-tdep.c: Update.
* rs6000-tdep.c: Update.
* sparc-tdep.c: Update.
* i386-tdep.c: Update.
* dwarf2cfi.c: Update.
* regcache.c: Update.
cgf [Sat, 2 Nov 2002 03:31:14 +0000 (03:31 +0000)]
space
gdbadmin [Sat, 2 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 1 Nov 2002 23:00:07 +0000 (23:00 +0000)]
daily update
brobecke [Fri, 1 Nov 2002 22:08:44 +0000 (22:08 +0000)]
New interix-specific files:
* config/i386/nm-interix.h: New file.
* config/i386/interix.mh: New file.
* config/i386/interix.mt: New file.
* i386-interix-nat.c: New file.
* i386-interix-tdep.c: New file.
cagney [Fri, 1 Nov 2002 21:21:49 +0000 (21:21 +0000)]
2002-11-01 Andrew Cagney <cagney@redhat.com>
* frame.h (deprecated_generic_get_saved_register): Rename
generic_get_saved_register.
* blockframe.c (deprecated_generic_get_saved_register): Update.
* xstormy16-tdep.c (xstormy16_get_saved_register): Update.
(xstormy16_frame_saved_register): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_get_saved_register): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* config/m32r/tm-m32r.h (GET_SAVED_REGISTER): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
hjl [Fri, 1 Nov 2002 20:41:48 +0000 (20:41 +0000)]
2002-11-01 H.J. Lu <hjl@gnu.org>
* gas/i386/i386.exp: Add "sub".
* gas/i386/sub.d: New.
* gas/i386/sub.s: New.
amodra [Fri, 1 Nov 2002 10:42:25 +0000 (10:42 +0000)]
* write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.
(TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK.
* doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed
default.
amodra [Fri, 1 Nov 2002 10:35:43 +0000 (10:35 +0000)]
* dep-in.sed: Fix typo.
phumblet [Fri, 1 Nov 2002 01:47:28 +0000 (01:47 +0000)]
2002-10-31 Pierre Humblet <pierre.humblet@ieee.org>
* fhandler.cc (fhandler_base::open): Verify pc isn't NULL.
gdbadmin [Fri, 1 Nov 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
drow [Thu, 31 Oct 2002 21:00:07 +0000 (21:00 +0000)]
* lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step.
drow [Thu, 31 Oct 2002 20:51:15 +0000 (20:51 +0000)]
* i386-linux-tdep.c (i386_linux_pc_in_sigtramp): Check for
trampolines in sigaction.
cagney [Thu, 31 Oct 2002 20:22:43 +0000 (20:22 +0000)]
2002-10-31 Andrew Cagney <cagney@redhat.com>
* h8300-tdep.c: Include "gdb_assert.h".
(h8300_print_register): Add gdbarch, file and frame parameters.
Use frame_read_unsigned_register to read the register's value.
Use fprintf_filtered to display output.
(h8300_print_registers_info): Replace h8300_do_registers_info.
(h8300_gdbarch_init): Set print_registers_info.
cagney [Thu, 31 Oct 2002 20:14:32 +0000 (20:14 +0000)]
2002-10-31 Andrew Cagney <cagney@redhat.com>
* frame.c (frame_read_unsigned_register): New function.
(frame_read_signed_register): New function.
* frame.h (frame_read_unsigned_register): Declare.
(frame_read_signed_register): Declare.
cagney [Thu, 31 Oct 2002 19:49:33 +0000 (19:49 +0000)]
2002-10-31 Andrew Cagney <cagney@redhat.com>
* h8500-tdep.c (h8500_print_registers_info): New static function,
clone of infcmd.c's default_print_registers_info.
(h8500_do_registers_info): New funtion.
(h8500_print_register_hook): Rename print_register_hook, make
static.
* config/h8500/tm-h8500.h: Update copyright.
(DEPRECATED_DO_REGISTERS_INFO): Define.
(h8500_do_registers_info: Declare.
(PRINT_REGISTER_HOOK): Delete macro.
(print_register_hook): Delete function.
cagney [Thu, 31 Oct 2002 19:14:06 +0000 (19:14 +0000)]
2002-10-31 Andrew Cagney <cagney@redhat.com>
* z8k-tdep.c (z8k_print_register_hook): Make static.
(z8k_print_registers_info): New static function, clone of
infcmd.c's default_print_registers_info.
(z8k_do_registers_info): New function. Wrap
z8k_print_registers_info.
* config/z8k/tm-z8k.h: Update copyright.
(PRINT_REGISTER_HOOK): Delete macro.
(z8k_print_register_hook): Delete declaration.
(DEPRECATED_DO_REGISTERS_INFO): Define.
(z8k_do_registers_info): Declare.
obrien [Thu, 31 Oct 2002 09:18:46 +0000 (09:18 +0000)]
2002-10-31 David O'Brien <obrien@FreeBSD.org>
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't mix
signed and unsigned in comparison.
Approved by: Alan Modra <amodra@bigpond.net.au>
Message-ID: <
20021012185224.Y979@bubble.sa.bigpond.net.au>
cgf [Thu, 31 Oct 2002 02:40:26 +0000 (02:40 +0000)]
* cygpath.cc (get_long_path_name_w32impl): Define similarly to GetLongPathName.
(get_long_name): Correctly prototype GetLongPathName.
(get_long_paths): Implement using get_long_name to cut down on code
duplication.
(doit): Do various things to make path output work predictably.