OSDN Git Service
Alan Modra [Fri, 11 Oct 2002 04:36:13 +0000 (04:36 +0000)]
* elf64-ppc.c (edit_opd): Only zero opd syms when function is
completely removed.
Alan Modra [Fri, 11 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 11 Oct 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Martin Hunt [Thu, 10 Oct 2002 23:55:36 +0000 (23:55 +0000)]
2002-10-10 Martin M. Hunt <hunt@redhat.com>
* generic/gdbtk-cmds.c (gdb_update_mem): No results
were being returned. Append results to result_ptr_obj_ptr.
Stephen Clarke [Thu, 10 Oct 2002 21:45:14 +0000 (21:45 +0000)]
* elf32-sh.c (elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le):
Correct mistake in calculation of address of .got.
* elf64-sh64.c (elf_sh64_pic_plt_entry_be,
elf_sh64_pic_plt_entry_le): Likewise.
Martin Hunt [Thu, 10 Oct 2002 19:39:28 +0000 (19:39 +0000)]
2002-10-10 Martin M. Hunt <hunt@redhat.com>
* library/session.tcl (save): Save target_cmd,
attach, load, run, and cont as session prefs.
(notice_file_change): Load in above session
prefs.
* library/interface.tcl (set_target): Set icons busy
before attempting target command and set back to idle after.
(run_executable): Return on ATTACH_ERROR.
(gdbtk_run): If run button is hit when a program
is currently being debugged, put up a dialog allowing
user to continue or cancel.
Marko Mlinar [Thu, 10 Oct 2002 07:41:37 +0000 (07:41 +0000)]
Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C
Martin Hunt [Thu, 10 Oct 2002 00:46:39 +0000 (00:46 +0000)]
2002-10-09 Martin M. Hunt <hunt@redhat.com>
* library/targetselection.itb (init_target_db): Add gdbserver
target.
(get_target_list): Always add "gdbserver" to list of valid
targets.
(valid_target): Always allow "gdbserver".
gdbadmin [Thu, 10 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 10 Oct 2002 00:00:03 +0000 (00:00 +0000)]
daily update
Stephen Clarke [Wed, 9 Oct 2002 19:03:57 +0000 (19:03 +0000)]
* Makefile.am: Add entries for elf32-sh64-lin.c and
elf64-sh64-lin.c. Regenerate.
* Makefile.in: Regenerate.
* config.bfd: Change sh64eb-*-linux* and sh64-*-linux*
to use sh64 vectors rather than sh vectors.
* configure.in: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec,
bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec.
* configure: Regenerate.
* elf32-sh64-lin.c: New file.
* elf64-sh64-lin.c: New file.
* targets.c: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec,
bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec.
Marko Mlinar [Wed, 9 Oct 2002 11:59:54 +0000 (11:59 +0000)]
Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C
Jim Blandy [Wed, 9 Oct 2002 04:43:49 +0000 (04:43 +0000)]
2002-10-08 Petr Sorfa <petrs@caldera.com>
Revised and re-submitted by John Wolfe <jlw@caldera.com>
Move the Dwarf 2 abbrev table to a per-compilation-unit structure,
so we can work on more than one compilation unit at a time. This
helps prepare GDB to handle inter-CU die references.
* dwarf2read.c (ABBREV_HASH_SIZE): moved definition forward in
the code to be defined before struct comp_unit_head.
(comp_unit_head): Added new members - offset, cu_head,
begin_die, next and dwarf2_abbrevs.
(dwarf2_abbrevs): Removed single static var; now member of
struct comp_unit_head.
dwarf2_build_psymtabs_hard): Complete new struct comp_unit_head
members.
(psymtab_to_symtab_1): Changed to work with the new
struct comp_unit_head.
(dwarf2_read_abbrevs): Now accepts a cu_header parameter and
constructs the dwarf2_abbrevs[] inside the cu_header.
(dwarf2_empty_abbrev_table): Now expects a ptr to a
dwarf2_abbrev table to clean up.
(dwarf2_lookup_abbrev): Now accepts a cu_header parameter and
handling of dwarf2_abbrevs inside the cu_header.
(read_partial_die): Now supports the call to the new
dwarf2_lookup_abbrev.
(read_full_die): Now supports the call to the new
dwarf2_lookup_abbrev.
Alan Modra [Wed, 9 Oct 2002 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 9 Oct 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
H.J. Lu [Tue, 8 Oct 2002 16:11:07 +0000 (16:11 +0000)]
2002-10-08 H.J. Lu <hjl@gnu.org>
* elf32-i386.c (elf_i386_relocate_section): Re-arrange the
IE->LE transition for R_386_TLS_IE.
Alan Modra [Tue, 8 Oct 2002 09:51:09 +0000 (09:51 +0000)]
* elf64-ppc.c (edit_opd): Correct test for discarded sections.
gdbadmin [Tue, 8 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 8 Oct 2002 00:00:05 +0000 (00:00 +0000)]
daily update
Nick Clifton [Mon, 7 Oct 2002 16:40:56 +0000 (16:40 +0000)]
Add tic4x target.
Nick Clifton [Mon, 7 Oct 2002 16:27:39 +0000 (16:27 +0000)]
Don't mark relocations in excluded sections.
Alan Modra [Mon, 7 Oct 2002 00:14:28 +0000 (00:14 +0000)]
* elflink.h (elf_link_input_bfd): Remove BFD_VERSION_DATE dependent
code.
Alan Modra [Mon, 7 Oct 2002 00:06:01 +0000 (00:06 +0000)]
* elf64-ppc.c (ppc64_elf_build_stubs): Increment .glink indx.
gdbadmin [Mon, 7 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 7 Oct 2002 00:00:03 +0000 (00:00 +0000)]
daily update
DJ Delorie [Sun, 6 Oct 2002 20:21:01 +0000 (20:21 +0000)]
merge from gcc
Christopher Faylor [Sun, 6 Oct 2002 19:53:52 +0000 (19:53 +0000)]
* Makefile.in (install-gdbtk): Add missing continuation backslash to insure
that shell variables, such as "transformed_name" are propagated to later shell
statements in rule.
Mark Kettenis [Sun, 6 Oct 2002 18:37:13 +0000 (18:37 +0000)]
* config/i386/nm-i386sco.h: Add protection against
multiple-inclusion. Include "i386/nm-i386v.h".
(REGISTER_U_ADDR): Remove define.
(i386_register_u_addr): Remove prototype.
Alan Modra [Sun, 6 Oct 2002 09:03:06 +0000 (09:03 +0000)]
* opncls.c: Formatting.
(_bfd_new_bfd): Use a smaller section hash table.
Daniel Jacobowitz [Sun, 6 Oct 2002 03:10:08 +0000 (03:10 +0000)]
file ChangeLog.cplus was initially added on branch drow-cplus-branch.
gdbadmin [Sun, 6 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 6 Oct 2002 00:00:06 +0000 (00:00 +0000)]
daily update
Alexandre Oliva [Sat, 5 Oct 2002 11:18:13 +0000 (11:18 +0000)]
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Set the type
of the other two relocations packed with a REL32 to NONE.
gdbadmin [Sat, 5 Oct 2002 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 5 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update
Michael Snyder [Fri, 4 Oct 2002 22:17:36 +0000 (22:17 +0000)]
2002-10-04 Michael Snyder <msnyder@redhat.com>
* m32r-stub.c (handle_exception): Make sure exception is "trap"
before treating it as a single-step event.
Adam Fedor [Fri, 4 Oct 2002 01:18:48 +0000 (01:18 +0000)]
2002-10-03 Adam Fedor <fedor@gnu.org>
* objc-lang.c: ARI fixes. Change string.h to gdb_string.h.
(objc_demangle): Remove assignment in if statements, Replace
free with xfree.
(add_msglist): Likewise.
(end_msglist): Likewise.
(complare_selectors): Likewise.
(selectors_info): Likewise.
(compare_classes): Likewise.
(classes_info): Likewise.
(print_object_command): Likewise.
(find_objc_msgcall_submethod): Replace PTR with void *.
* objc-lang.h: Remove check for __STDC__.
gdbadmin [Fri, 4 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 4 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update
Jeff Johnston [Thu, 3 Oct 2002 22:34:58 +0000 (22:34 +0000)]
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
* ui-out.h (ui_out_field_fmt_int): New prototype.
* ui-out.c (ui_out_field_fmt_int): New function allowing specification
of field width and alignment.
* stack.c (print_frame_info_base): When printing frame level, use
ui_out_field_fmt_int with a width of 2 and left alignment. Fix for
PR gdb/192
Jeff Johnston [Thu, 3 Oct 2002 22:33:15 +0000 (22:33 +0000)]
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
* mi-return.exp: Change expected frame output to remove extraneous
space in level field when frame level is single digit. Part of
fix for PR gdb/192.
* mi-stack.exp: Ditto.
* mi1-return.exp: Ditto.
* mi1-stack.exp: Ditto.
Jeff Johnston [Thu, 3 Oct 2002 22:31:31 +0000 (22:31 +0000)]
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
* gdbmi.texinfo: Fix examples that show frames to remove
extraneous blank in level field. Part of fix for PR gdb/192.
Jeff Johnston [Thu, 3 Oct 2002 22:30:01 +0000 (22:30 +0000)]
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
* gdbint.texinfo (Item Output Functions): Add new ui_out_field_fmt_int
interface definition.
Jeff Johnston [Thu, 3 Oct 2002 20:23:56 +0000 (20:23 +0000)]
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
* MAINTAINERS: Add self to Write After Approval list.
Jeff Johnston [Thu, 3 Oct 2002 20:03:55 +0000 (20:03 +0000)]
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
* mi-var-block.exp: Change expected output from -var-update
command to expect list format for "changelist". Fix for
PR gdb/672.
* mi-var-cmd.exp: Ditto.
* mi-var-child: Ditto.
Jeff Johnston [Thu, 3 Oct 2002 20:02:13 +0000 (20:02 +0000)]
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
* mi-cmd-var.c (mi_cmd_var_update): Fix for PR gdb/672. For m2,
output list begin and end for "changelist" rather than tuple begin/end.
(varobj_update_one): For m2, add tuple begin and end for varobj
update output.
Nathanael Nerode [Thu, 3 Oct 2002 19:08:53 +0000 (19:08 +0000)]
2002-10-03 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Make SET_LIB_PATH substitution more autoconfy.
* Makefile.tpl: Make RPATH_ENVVAR substitution more autoconfy.
* configure.in: Make SET_LIB_PATH substitution more autoconfy.
* configure.in: Make RPATH_ENVVAR substitution more autoconfy.
* Makefile.in: Regenerate.
Marko Mlinar [Thu, 3 Oct 2002 05:56:40 +0000 (05:56 +0000)]
add target specific commands; add myself to contributors list
Elena Zannoni [Thu, 3 Oct 2002 02:34:07 +0000 (02:34 +0000)]
2002-10-02 Elena Zannoni <ezannoni@redhat.com>
* infcmd.c (interrupt_target_command_wrapper): Delete.
(interrupt_target_command): Make non static.
(nofp_registers_info): Make static.
* stack.c (return_command_wrapper): Delete.
(return_command): Make non static.
Elena Zannoni [Thu, 3 Oct 2002 01:23:50 +0000 (01:23 +0000)]
2002-10-02 Elena Zannoni <ezannoni@redhat.com>
* event-top.c (gdb_setup_readline): New function. Code moved from
_initialize_event_loop().
(_initialize_event_loop): Call gdb_setup_readline().
gdbadmin [Thu, 3 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 3 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Wed, 2 Oct 2002 23:28:54 +0000 (23:28 +0000)]
2002-10-02 Andrew Cagney <
ac131313@redhat.com>
* infrun.c (resume): Convert #ifdef CANNOT_STEP_BREAKPOINT into C.
* gdbarch.sh (CANNOT_STEP_BREAKPOINT): Add.
* gdbarch.h, gdbarch.c: Re-generate.
Daniel Jacobowitz [Wed, 2 Oct 2002 22:01:53 +0000 (22:01 +0000)]
Fix PR gdb/778
* gdbtypes.c (fill_in_vptr_fieldno): Call check_typedef
before recursing.
* gnu-v3-abi.c (gnuv3_virtual_fn_field): Check return value
of fill_in_vptr_fieldno.
Stephen Clarke [Wed, 2 Oct 2002 21:53:40 +0000 (21:53 +0000)]
* elf32-sh.c (elf_sh_link_hash_entry): Add gotplt_refcount.
(sh_elf_link_hash_newfunc): Initialize it.
(allocate_dynrelocs): Transfer gotplt refs from plt.refcount
to got.refcount for symbols that are forced local or when
we have direct got refs.
(sh_elf_gc_sweep_hook): Adjust gotplt_refcount. Use it
to correctly adjust got.refcount and plt.refcount.
(sh_elf_copy_indirect_symbol): Copy gotplt_refcount across.
(sh_elf_check_relocs): Increment gotplt_refcount.
Jim Blandy [Wed, 2 Oct 2002 21:46:56 +0000 (21:46 +0000)]
* gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
Elena Zannoni [Wed, 2 Oct 2002 21:33:59 +0000 (21:33 +0000)]
2002-10-02 Elena Zannoni <ezannoni@redhat.com>
* inferior.h (registers_info, stepi_command, nexti_command,
continue_command, interrupt_target_command): Export from infcmd.c.
* frame.h (args_info, selected_frame_level_changed_hook,
return_command): Export from stack.c.
* v850ice.c (stepi_command, nexti_command, continue_command): use
prototypes from inferior.h.
* tracepoint.c (registers_info, args_info, locals_info): Use
prototypes from frame.h and inferior.h.
* Makefile.in (mi-main.o): Add dependency on frame.h.
2002-10-02 Elena Zannoni <ezannoni@redhat.com>
* mi-main.c (mi_cmd_exec_return): Don't use
return_command_wrapper, use return_command instead.
(mi_cmd_exec_interrupt): Don't use
interrupt_target_command_wrapper, use interrupt_target_command
instead.
(return_command_wrapper, interrupt_target_command_wrapper):
Delete.
Include frame.h.
2002-10-02 Elena Zannoni <ezannoni@redhat.com>
* tui-hooks.c (selected_frame_level_changed_hook): Use the one
exported from frame.h.
Andrew Cagney [Wed, 2 Oct 2002 21:21:47 +0000 (21:21 +0000)]
2002-10-02 Andrew Cagney <
ac131313@redhat.com>
* rs6000-tdep.c (rs6000_store_struct_return): Store struct_return
value in register 3 adjusted by ppc_gp0_regnum.
Andrew Cagney [Wed, 2 Oct 2002 21:18:57 +0000 (21:18 +0000)]
2002-10-02 Andrew Cagney <
ac131313@redhat.com>
* rs6000-tdep.c (skip_prologue): Bias alloca_reg by ppc_gp0_regnum.
Nathanael Nerode [Wed, 2 Oct 2002 19:14:25 +0000 (19:14 +0000)]
2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Eliminate reference to all-gui, all-libproc.
* Makefile.in: Regenerate.
Nathanael Nerode [Wed, 2 Oct 2002 06:29:04 +0000 (06:29 +0000)]
2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.def: Remove order dependency comments.
* Makefile.tpl: Add explicit install-install dependencies.
* Makefile.in: Regenerate.
Nathanael Nerode [Wed, 2 Oct 2002 06:22:08 +0000 (06:22 +0000)]
2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Remove material now in src-release. (Finally!)
* Makefile.in: Regenerate.
Marko Mlinar [Wed, 2 Oct 2002 06:06:06 +0000 (06:06 +0000)]
add myself to the Write After Approval list.
Nathanael Nerode [Wed, 2 Oct 2002 05:37:46 +0000 (05:37 +0000)]
2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
* configure: Restore my original patch by syncing with gcc version.
Nathanael Nerode [Wed, 2 Oct 2002 05:22:11 +0000 (05:22 +0000)]
2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Bring following over from gcc:
2002-09-30 Ulrich Weigand <uweigand@de.ibm.com>
* configure.in (s390*-*-linux*): Enable libgcj.
Nathanael Nerode [Wed, 2 Oct 2002 04:40:23 +0000 (04:40 +0000)]
2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Regenerate. This really ought to fix things. :sigh:
Alan Modra [Wed, 2 Oct 2002 03:47:32 +0000 (03:47 +0000)]
* configure: Move stray lines back to where they belong.
Alan Modra [Wed, 2 Oct 2002 02:41:36 +0000 (02:41 +0000)]
* configure: Move stray line back to where it belongs.
Alexandre Oliva [Wed, 2 Oct 2002 01:28:55 +0000 (01:28 +0000)]
* mips-tdep.c (mips_find_abi_section): .mdebug.abi64 is the name
of the section for the N64 ABI, fixed.
Alexandre Oliva [Wed, 2 Oct 2002 01:27:59 +0000 (01:27 +0000)]
* config/mips/tm-irix6.h: Include solib.h.
gdbadmin [Wed, 2 Oct 2002 00:00:13 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 2 Oct 2002 00:00:12 +0000 (00:00 +0000)]
daily update
Elena Zannoni [Tue, 1 Oct 2002 23:51:43 +0000 (23:51 +0000)]
2002-10-01 Elena Zannoni <ezannoni@redhat.com>
* dwarf2read.c (dwarf_stack_op_name): Recognize more dwarf3 and
GNU operators.
Nathanael Nerode [Tue, 1 Oct 2002 23:35:42 +0000 (23:35 +0000)]
2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Insert configure-target target, for src-release.
Nathanael Nerode [Tue, 1 Oct 2002 23:21:51 +0000 (23:21 +0000)]
2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
* configure: Finish reverting change which Andrew Cagney started
reverting. Should fix bustage.
Nathanael Nerode [Tue, 1 Oct 2002 22:58:14 +0000 (22:58 +0000)]
2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
* src-release (BINUTILS_SUPPORT_DIRS): Add cpu directory.
Nathanael Nerode [Tue, 1 Oct 2002 22:34:16 +0000 (22:34 +0000)]
2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
* src-release: New file. Contains material for making net
releases for gdb, binutils, et al., formerly in Makefile.in.
Andrew Cagney [Tue, 1 Oct 2002 21:15:43 +0000 (21:15 +0000)]
2002-10-01 Andrew Cagney <
ac131313@redhat.com>
* NEWS: Mention that MI syntax, selected by "mi" changed to "mi2"
and that "mi0" syntax has been removed.
2002-10-01 Andrew Cagney <
ac131313@redhat.com>
* gdb.texinfo (Mode Options): Update --interpreter option. "mi2"
and "mi1" instead of "mi1" and "mi0".
2002-10-01 Andrew Cagney <
ac131313@redhat.com>
* mi-main.c (mi2_command_loop): New function.
(mi0_command_loop): Delete function.
(_initialize_mi_main): Recognize, and default to, "mi2". Do not
recognize "mi0".
* mi-out.c (mi_table_begin): Remove mi0 code.
(mi_table_body, mi_table_end): Ditto.
(mi_table_header, mi_open, mi_close): Ditto.
David Carlton [Tue, 1 Oct 2002 19:26:05 +0000 (19:26 +0000)]
2002-09-30 David Carlton <carlton@math.stanford.edu>
* Makefile.in (ppc-sysv-tdep.o): Depend on gdb_string_h.
* ppc-sysv-tdep.c: #include "gdb_string.h".
* remote-sds.c (getmessage): Add semicolon after 'retry' label to
pacify GCC.
Andrew Cagney [Tue, 1 Oct 2002 16:01:37 +0000 (16:01 +0000)]
2002-10-01 Andrew Cagney <
ac131313@redhat.com>
* mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
* mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
* mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
* mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
* mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
* mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
* mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
Andrew Cagney [Tue, 1 Oct 2002 14:57:55 +0000 (14:57 +0000)]
2002-10-01 Andrew Cagney <
ac131313@redhat.com>
* rs6000-tdep.c (rs6000_gdbarch_init): For powerpc:7400, fix
"vrsave"'s register number.
Jakub Jelinek [Tue, 1 Oct 2002 10:43:36 +0000 (10:43 +0000)]
bfd/
* elf32-i386.c (elf_i386_relocate_section): Fix
movl foo@indntpoff, %eax IE->LE transition.
ld/testsuite/
* ld-i386/i386.exp: Add tlsindntpoff test.
* ld-i386/tlsindntpoff.s: New test.
* ld-i386/tlsindntpoff.dd: New test.
Jakub Jelinek [Tue, 1 Oct 2002 09:15:34 +0000 (09:15 +0000)]
bfd/
* elf64-x86-64.c (elf64_x86_64_relocate_section): Change TLSGD
sequence and its transitions.
ld/testsuite/
* ld-x86-64/tlspic1.s: Change TLSGD sequences.
* ld-x86-64/tlsbinpic.s: Likewise.
* ld-x86-64/tlspic.dd: Adjust.
Jakub Jelinek [Tue, 1 Oct 2002 09:10:45 +0000 (09:10 +0000)]
bfd/
* elf32-i386.c (elf_i386_relocate_section): Resolve R_386_TLS_LDO_32
to st_value + addend in non-code sections.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Resolve
R_X86_64_DTPOFF32 to st_value + addend in non-code sections.
ld/testsuite/
* ld-i386/i386.exp: Add tlsg test.
* ld-i386/tlsg.s: New test.
* ld-i386/tlsg.sd: New test.
* ld-i386/tlsbin.dd: Change LD into LD -> LE in comments.
* ld-i386/tlsbinpic.s: Likewise.
* ld-x86-64/x86-64.exp: Add tlsg test.
* ld-x86-64/tlsg.s: New test.
* ld-x86-64/tlsg.sd: New test.
* ld-x86-64/tlsbin.dd: Change LD into LD -> LE in comments.
* ld-x86-64/tlsbinpic.s: Likewise.
Andrew Cagney [Tue, 1 Oct 2002 01:30:10 +0000 (01:30 +0000)]
2002-09-30 Andrew Cagney <
ac131313@redhat.com>
* mips-tdep.c (mips_frame_saved_pc): When a generic dummy frame,
use frame_unwind_signed_register to obtain the PC.
(mips_frame_chain): Handle a generic dummy frame.
(mips_init_extra_frame_info): When a generic dummy frame, don't
re-compute the frame base.
(mips_pop_frame): Handle generic dummy frames.
(mips_gdbarch_init): When generic dummy frames, set
use_generic_dummy_frames, push_dummy_frame to
generic_push_dummy_frame, pc_in_call_dummy to
generic_pc_in_call_dummy, and save_dummy_frame_top_of_stack to
generic_save_dummy_frame_tos.
Andrew Cagney [Tue, 1 Oct 2002 01:24:01 +0000 (01:24 +0000)]
2002-09-30 Andrew Cagney <
ac131313@redhat.com>
* blockframe.c (generic_find_dummy_frame): Rewrite. Only test
against TOP when TOP was explictly set.
(generic_push_dummy_frame): Set TOP to zero.
gdbadmin [Tue, 1 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 1 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update
Elena Zannoni [Mon, 30 Sep 2002 21:25:47 +0000 (21:25 +0000)]
2002-09-30 Elena Zannoni <ezannoni@redhat.com>
* event-loop.c (start_event_loop): Rename variable 'result' to
'gdb_result', to avoid conflicts with upcoming intepreters changes.
Andrew Cagney [Mon, 30 Sep 2002 20:18:52 +0000 (20:18 +0000)]
2002-09-29 Andrew Cagney <
ac131313@redhat.com>
* mi-out.c (mi_version): New function.
* mi-out.h (mi_version): Declare.
Jim Wilson [Mon, 30 Sep 2002 20:11:08 +0000 (20:11 +0000)]
Fix handling of v850e bit-twiddle instructions.
* simops.c (OP_E6077E0): And op1 with 7 after reading register, not
before.
(BIT_CHANGE_OP): Likewise.
Keith Seitz [Mon, 30 Sep 2002 20:06:53 +0000 (20:06 +0000)]
* gdb-events.sh (selected_thread_changed): New event.
* gdb-events.c: Regenerated.
* gdb-events.h: Regenerated.
Hans-Peter Nilsson [Mon, 30 Sep 2002 16:05:31 +0000 (16:05 +0000)]
* MAINTAINERS: Add self to Write After Approval list.
Fernando Nasser [Mon, 30 Sep 2002 15:57:26 +0000 (15:57 +0000)]
* disasm.c: New file.
* disasm.h: New file.
* mi/mi-cmd-disas.c (gdb_dis_asm_read_memory): Moved to disasm.c.
(compare_lines): Ditto.
(dump_insns): Ditto.
(do_mixed_source_and_assembly): Moved to disasm.c. Added uiout argument. (do_assembly_only): Ditto.
(do_disassembly): Renamed to gdb_disassembly and moved to disasm.c.
Sdded uiout argument.
* Makefile.in: Add new files. Reorder SFILES list. Update dependencies. Include libgdb.a later in the insight executable.
Richard Sandiford [Mon, 30 Sep 2002 12:08:05 +0000 (12:08 +0000)]
Fix date in last commit.
Richard Sandiford [Mon, 30 Sep 2002 11:58:10 +0000 (11:58 +0000)]
[include/opcode/]
* mips.h: Update comment for new opcodes.
(OP_MASK_VECBYTE, OP_SH_VECBYTE): New.
(OP_MASK_VECALIGN, OP_SH_VECALIGN): New.
(INSN_4111, INSN_4120, INSN_5400, INSN_5500): New.
(CPU_VR4120, CPU_VR5400, CPU_VR5500): New.
(OPCODE_IS_MEMBER): Handle the new CPU_* values and INSN_* flags.
Don't match CPU_R4111 with INSN_4100.
[opcodes/]
* mips-dis.c (print_insn_arg): Handle '[', ']', 'e' and '%'.
(mips_isa_type): Handle bfd_mach_mips4120, bfd_mach_mips5400
and bfd_mach_mips5500.
* mips-opc.c (V1): Include INSN_4111 and INSN_4120.
(N411, N412, N5, N54, N55): New convenience defines.
(mips_builtin_opcodes): Add vr4120, vr5400 and vr5500 opcodes.
Change dmadd16 and madd16 from V1 to N411.
Richard Sandiford [Mon, 30 Sep 2002 11:53:56 +0000 (11:53 +0000)]
[include/elf]
* mips.h (E_MIPS_MACH_4120, E_MIPS_MACH_5400, E_MIPS_MACH_5500): New.
[bfd/]
* archures.c (bfd_mach_mips4120, bfd_mach_mips5400): New.
(bfd_mach_mips5500): New.
* cpu-mips.c (I_mips4120, I_mips5400, I_mips5500): New.
(arch_info_struct): Add corresponding entries here.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_4120,
E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
(_bfd_mips_elf_final_write_processing): Handle bfd_mach_mips4120,
bfd_mach_mips5400 and bfd_mach_mips5500.
(_bfd_mips_elf_mach_extends_p): New function.
(_bfd_mips_elf_merge_private_bfd_data): Use it to help merge
the EF_MIPS_MACH flags.
* bfd-in2.h: Regenerate.
Nick Clifton [Mon, 30 Sep 2002 10:34:06 +0000 (10:34 +0000)]
Add cpu directory.
Hans-Peter Nilsson [Mon, 30 Sep 2002 07:08:26 +0000 (07:08 +0000)]
* gdb.texinfo (Packets): Fix typos "alligned".
Correct z3/Z3 description. Correct z4/Z4 title.
Elena Zannoni [Mon, 30 Sep 2002 00:52:27 +0000 (00:52 +0000)]
2002-09-29 Elena Zannoni <ezannoni@redhat.com>
* tui.c (tui_show_source): Don't access current_source_symtab, use
accessor function instead. Include source.h and symtab.h
* tuiDisassem.c (tuiShowDisassemAndUpdateSource,
tuiVerticalDisassemScroll): Use accessor functions for current
source line and symtab. Include source.h.
* tuiLayout.c (_extractDisplayStartAddr): Use accessor functions
for current source line and symtab. Include source.h.
* tuiWin.c (_makeVisibleWithNewHeight): Ditto.
* tuiSourceWin.c (tuiUpdateSourceWindowAsIs,
tuiHorizontalSourceScroll): Ditto.
* tuiSource.c (tuiVerticalSourceScroll): Ditto.