OSDN Git Service
Hans-Peter Nilsson [Thu, 7 Nov 2002 13:28:04 +0000 (13:28 +0000)]
* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOT,
case R_CRIS_32_GOT>: Correct test for filling in constant .got
contents, enabling for a non-DSO, for symbols defined in the
program with --export-dynamic.
Alan Modra [Thu, 7 Nov 2002 12:45:29 +0000 (12:45 +0000)]
* elf64-ppc.c: Comment typo fixes.
(ppc64_elf_merge_private_bfd_data): Allow BFD_ENDIAN_UNKNOWN input.
Nick Clifton [Thu, 7 Nov 2002 08:45:24 +0000 (08:45 +0000)]
Added/Updated Danish translation.
Joel Brobecker [Thu, 7 Nov 2002 07:47:22 +0000 (07:47 +0000)]
Put in place the framework necessary for multiarching the hppa targets.
* hppa-tdep.c (hppa_gdbarch_init): New function.
(hppa_dump_tdep): New function.
(_initialize_hppa_tdep): Register the hppa gdbarch init function and
tdep structure dumper.
* config/pa/tm-hppa.h (GDB_MULTI_ARCH): New macro, defined to 0
until the multi-arching conversion has partially been completed.
Andrew Cagney [Thu, 7 Nov 2002 02:45:27 +0000 (02:45 +0000)]
2002-11-06 Andrew Cagney <
ac131313@redhat.com>
* valops.c (value_assign): Merge lval_register case into
lval_reg_frame_relative. Use frame_register and
regcache_cooked_write instead of get_saved_register and
write_register_bytes. After flushing the register cache, try to
re-select the selected frame.
Andrew Cagney [Thu, 7 Nov 2002 02:40:28 +0000 (02:40 +0000)]
2002-11-06 Andrew Cagney <
ac131313@redhat.com>
* regcache.h (deprecated_register_valid): Rename register_valid.
* regcache.c: Update.
* ia64-aix-nat.c: Update.
* i386gnu-nat.c: Update.
* alpha-nat.c: Update.
* sparc-nat.c: Update.
* lynx-nat.c: Update.
* remote-mips.c: Update.
Joel Brobecker [Thu, 7 Nov 2002 02:19:56 +0000 (02:19 +0000)]
* hppa-tdep.c (_initialize_hppa_tdep): Move function body
to end of file, to be more consistent with the pratice followed
by other targets.
Andrew Cagney [Thu, 7 Nov 2002 01:55:16 +0000 (01:55 +0000)]
2002-11-06 Andrew Cagney <
ac131313@redhat.com>
* infcmd.c: Include "reggroups.h" and <ctype.h>.
(print_float_info): Print registers in float_reggroup.
(print_vector_info): Print registers in vector_reggroup.
(default_print_registers_info): When all, print registers in
all_reggroup. Otherwize, print registers in general_reggroup.
(registers_info): Rewrite. Add support for register groups.
Eliminate a goto.
Jeff Johnston [Thu, 7 Nov 2002 01:43:59 +0000 (01:43 +0000)]
2002-11-06 Jeff Johnston <jjohnstn@redhat.com>
* mi-cmd-var.c (mi_cmd_var_create): Change the function used to
parse the frame addr from parse_and_eval_address() to
string_to_core_addr(). This is a fix for PR gdb/494.
Aldy Hernandez [Thu, 7 Nov 2002 00:54:09 +0000 (00:54 +0000)]
2002-11-06 Aldy Hernandez <aldyh@redhat.com>
* opcodes/ppc-opc.c: Change RD to RS for evmerge*.
gdbadmin [Thu, 7 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Martin 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.
Elena Zannoni [Wed, 6 Nov 2002 23:27:58 +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.
Alan Modra [Wed, 6 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update
Theodore A. Roth [Wed, 6 Nov 2002 22:48:25 +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.
Martin Hunt [Wed, 6 Nov 2002 21:59:24 +0000 (21:59 +0000)]
2002-11-06 Martin M. Hunt <hunt@redhat.com>
* library/debugwin.itb: Remove VariableWin. Add VarTree.
Alexandre Oliva [Wed, 6 Nov 2002 21:56:05 +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.
Martin Hunt [Wed, 6 Nov 2002 21:05:24 +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.
Jim Blandy [Wed, 6 Nov 2002 20:57:41 +0000 (20:57 +0000)]
* macrotab.h (struct macro_source_file): Doc fix.
Martin Hunt [Wed, 6 Nov 2002 20:45:54 +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.
Martin Hunt [Wed, 6 Nov 2002 20:29:14 +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.
Chris Demetriou [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.
Chris Demetriou [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.
Nick Clifton [Wed, 6 Nov 2002 17:12:05 +0000 (17:12 +0000)]
(stub_bytes): Mark as const.
Fix comment formatting.
Keith Seitz [Wed, 6 Nov 2002 14:22:28 +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...]
Nick Clifton [Wed, 6 Nov 2002 13:26:29 +0000 (13:26 +0000)]
Add support for PEF, Mach-O, xSYM
Alan Modra [Wed, 6 Nov 2002 12:04:31 +0000 (12:04 +0000)]
Ah bah, missed these from last commit.
Alan Modra [Wed, 6 Nov 2002 11:38:35 +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.
gdbadmin [Wed, 6 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 5 Nov 2002 23:00:03 +0000 (23:00 +0000)]
daily update
Alan Modra [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.
Elena Zannoni [Tue, 5 Nov 2002 22:38:11 +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.
Jeff Johnston [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.
Jeff Johnston [Tue, 5 Nov 2002 22:31:00 +0000 (22:31 +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.
Andrew Cagney [Tue, 5 Nov 2002 21:44:05 +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.
Elena Zannoni [Tue, 5 Nov 2002 21:17:33 +0000 (21:17 +0000)]
2002-11-05 Elena Zannoni <ezannoni@redhat.com>
* event-loop.c (start_event_loop): Add comment.
Update copyright.
Andrew Cagney [Tue, 5 Nov 2002 20:52:44 +0000 (20:52 +0000)]
2002-11-05 Andrew Cagney <
ac131313@redhat.com>
* infcmd.c (default_print_registers_info): Do not call
PRINT_REGISTER_HOOK.
Andrew Cagney [Tue, 5 Nov 2002 20:43:36 +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.
David Carlton [Tue, 5 Nov 2002 20:33:01 +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.
David 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'.
Elena Zannoni [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.
Klee Dienes [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.
Pierre Muller [Tue, 5 Nov 2002 08:25:13 +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.
Alan Modra [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.
Alan Modra [Tue, 5 Nov 2002 01:18:56 +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.
Alan Modra [Tue, 5 Nov 2002 01:08:18 +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 ***
Alan Modra [Mon, 4 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update
Kaz Kojima [Mon, 4 Nov 2002 21:44:36 +0000 (21:44 +0000)]
* vms.c (vms_object_p): Restore the start address when returning
NULL.
Kevin Buettner [Mon, 4 Nov 2002 18:41:14 +0000 (18:41 +0000)]
Top level configury changes for RDA.
Alan Modra [Mon, 4 Nov 2002 13:20:56 +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.
Stephen Clarke [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 ***
Alan Modra [Sun, 3 Nov 2002 23:00:08 +0000 (23:00 +0000)]
daily update
Mark 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.
Mark Kettenis [Sun, 3 Nov 2002 12:32:42 +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.
Hans-Peter Nilsson [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.
Andrew Cagney [Sun, 3 Nov 2002 00:30:33 +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 ***
Alan Modra [Sat, 2 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew 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.
Andrew 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.
Andrew 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.
gdbadmin [Sat, 2 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 1 Nov 2002 23:00:07 +0000 (23:00 +0000)]
daily update
Joel Brobecker [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.
Andrew 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.
gdbadmin [Fri, 1 Nov 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Thu, 31 Oct 2002 21:00:08 +0000 (21:00 +0000)]
* lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step.
Daniel Jacobowitz [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.
Andrew Cagney [Thu, 31 Oct 2002 20:22:45 +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.
Andrew Cagney [Thu, 31 Oct 2002 20:14:33 +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.
Andrew Cagney [Thu, 31 Oct 2002 19:49:34 +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.
Andrew Cagney [Thu, 31 Oct 2002 19:14:07 +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.
David O'Brien [Thu, 31 Oct 2002 09:18:48 +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>
gdbadmin [Thu, 31 Oct 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Joel Brobecker [Wed, 30 Oct 2002 20:42:54 +0000 (20:42 +0000)]
* hppa-tdep.c (find_function_in_inferior): Remove this extern,
as this is already provided by value.h, and was actually causing
a compilation error because of a conflict in parameter type
declaration due to a missing const keyword.
(low_text_segment_addres): Fix a compilation warning.
Daniel Jacobowitz [Wed, 30 Oct 2002 15:50:17 +0000 (15:50 +0000)]
* coffcode.h: Remove extraneous '\'.
Daniel Jacobowitz [Wed, 30 Oct 2002 04:10:06 +0000 (04:10 +0000)]
* mips-linux-nat.c (mips_linux_cannot_fetch_register): Don't fetch
registers without a name.
(mips_linux_cannot_store_register): Don't store registers without
a name.
gdbadmin [Wed, 30 Oct 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 29 Oct 2002 00:20:31 +0000 (00:20 +0000)]
daily update
gdbadmin [Tue, 29 Oct 2002 00:00:15 +0000 (00:00 +0000)]
*** empty log message ***
H.J. Lu [Mon, 28 Oct 2002 22:30:29 +0000 (22:30 +0000)]
2002-10-28 H.J. Lu <hjl@gnu.org>
* Makefile.am (targets.lo): Depend on Makefile instead of
config.status.
(archures.lo): Likewise.
* Makefile.in: Regenerated.
David Carlton [Mon, 28 Oct 2002 17:05:56 +0000 (17:05 +0000)]
2002-10-28 David Carlton <carlton@math.stanford.edu>
* symtab.c (find_addr_symbol): Delete. (It was already commented
out.)
* symtab.h: Delete prototype for find_addr_symbol.
gdbadmin [Mon, 28 Oct 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 27 Oct 2002 23:00:04 +0000 (23:00 +0000)]
daily update
DJ Delorie [Sun, 27 Oct 2002 01:02:05 +0000 (01:02 +0000)]
merge from gcc
DJ Delorie [Sun, 27 Oct 2002 01:01:04 +0000 (01:01 +0000)]
merge from gcc
gdbadmin [Sun, 27 Oct 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 26 Oct 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Sat, 26 Oct 2002 17:19:28 +0000 (17:19 +0000)]
2002-10-26 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
definition of DO_REGISTERS_INFO.
2002-10-26 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_DO_REGISTERS_INFO): Rename
DO_REGISTERS_INFO.
gdbarch.h, gdbarch.c: Re-generate.
* infcmd.c (default_print_registers_info): Update reference.
* mips-tdep.c (mips_gdbarch_init): Set deprecated_do_registers_info.
(mips_dump_tdep): Do not print DO_REGISTERS_INFO.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
Mark Kettenis [Sat, 26 Oct 2002 17:04:37 +0000 (17:04 +0000)]
* x86-64-tdep.c (x86_64_init_abi): Set init_extra_frame_info to
cfi_init_extra_frame_info.
* x86-64-tdep.h (x86_64_init_extra_frame_info): Remove prototype.
* x86-64-linux-tdep.c (x86_64_init_extra_frame_info): Remove function.
Mark Kettenis [Sat, 26 Oct 2002 16:56:34 +0000 (16:56 +0000)]
* x86-64-tdep.c (x86_64_init_abi): Add calls to override the i386
target where necessary. Add more comments and remove the ones
that don't provide any useful information.
Mark Kettenis [Sat, 26 Oct 2002 14:58:42 +0000 (14:58 +0000)]
* i386-tdep.c (i386_frame_saved_pc): Replace call to
deprecated_read_register_dummy with
frame_unwind_unsigned_register.
Mark Kettenis [Sat, 26 Oct 2002 14:41:37 +0000 (14:41 +0000)]
* i386-tdep.c (i386_extract_struct_value_address): Use
regcache_raw_read_unsigned instead of
regcache_cooked_read_unsigned since we know that the register
we're reading isn't a pseudo register. Rename variable 'val' into
the more descriptive 'addr'.
Stephane Carrez [Sat, 26 Oct 2002 10:38:57 +0000 (10:38 +0000)]
* tuiIO.c (tui_prep_terminal): Save the prompt registered in readline.
(tui_redisplay_readline): Use the last saved prompt.
(tui_rl_saved_prompt): New.
Mark Kettenis [Sat, 26 Oct 2002 10:37:45 +0000 (10:37 +0000)]
* x86-64-tdep.c: Fix some formatting problems, mostly in comments.
(x86_64_push_return_address): Add comment.
(x86_64_pop_frame): Make static.
(examine_argument): Clarify comment.
(x86_64_skip_prologue): Make prolog_expact variable static.
Mark Kettenis [Sat, 26 Oct 2002 10:13:53 +0000 (10:13 +0000)]
* dwarf2cfi.c: Fix some formatting problems.
(context_cpy, read_encoded_pointer): Clarify comments.
Mark Kettenis [Sat, 26 Oct 2002 09:36:34 +0000 (09:36 +0000)]
* x86-64-tdep.c (x86_64_breakpoint_from_pc): Constify.
(x86_64_init_abi): Move set_gdbarch_* calls that overlap with the
i386 target back into x86_64_gdbarch_init. Add some comments and
remove meaningless ones.
DJ Delorie [Sat, 26 Oct 2002 03:57:38 +0000 (03:57 +0000)]
* Makefile.tpl (bootstrap): Add bubblestrap, quickstrap, cleanstrap,
and restrap targets to this rule.
* Makefile.in: Regenerate.