OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years ago2001-05-23 John Healy <jhealy@redhat.com>
John Healy [Wed, 23 May 2001 15:34:43 +0000 (15:34 +0000)]
2001-05-23  John Healy  <jhealy@redhat.com>

        * cgen.h: Increased CGEN_MAX_SYNTAX_ELEMENTS to 48.

23 years agoReplace sh_size/sh_entsize with NUM_SHDR_ENTRIES
Nick Clifton [Wed, 23 May 2001 08:23:27 +0000 (08:23 +0000)]
Replace sh_size/sh_entsize with NUM_SHDR_ENTRIES

23 years agoMore whitespace fixes.
Alan Modra [Wed, 23 May 2001 03:25:03 +0000 (03:25 +0000)]
More whitespace fixes.

23 years ago * arc-opc.c: Whitespace changes.
Alan Modra [Wed, 23 May 2001 03:12:14 +0000 (03:12 +0000)]
* arc-opc.c: Whitespace changes.

23 years ago * breakpoint.c (breakpoint_address_is_meaningful): New function.
Kevin Buettner [Wed, 23 May 2001 00:52:44 +0000 (00:52 +0000)]
* breakpoint.c (breakpoint_address_is_meaningful): New function.
(check_duplicates): Don't compare non-meaningful addresses.

23 years ago2001-05-22 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 23 May 2001 00:06:15 +0000 (00:06 +0000)]
2001-05-22  Michael Snyder  <msnyder@redhat.com>

* thread-db.c: Allow for defunct zombie threads.
(attach_thread): Do not attempt to attach zombie thread.
(thread_db_thread_alive): Return false for defunct zombie thread.
(find_new_threads_callback): Don't add defunct zombie thread to list.

23 years agoAdd support for the GNU V3 C++ ABI.
Jim Blandy [Tue, 22 May 2001 21:02:41 +0000 (21:02 +0000)]
Add support for the GNU V3 C++ ABI.
(Includes changes by Dan Berlin.)

* gnu-v3-abi.c: New file.
* minsyms.c: #include "value.h" and "cp-abi.h".
(install_minimal_symbols): Check the minimal symbol table for
symbols that look mangled in the V3 style, and select the V3 ABI
if we find any.
* Makefile.in (SFILES): Add gnu-v3-abi.c.
(COMMON_OBS): Add gnu-v3-abi.o.
(gnu-v3-abi.o): Add new rule.
(minsyms.o): Depend on $(cp_abi_h) and $(value_h).

23 years ago Update copyright info.
Keith Seitz [Tue, 22 May 2001 19:10:06 +0000 (19:10 +0000)]
Update copyright info.

23 years ago * memwin.ith (error_dialog): Declare public method.
Keith Seitz [Tue, 22 May 2001 19:02:54 +0000 (19:02 +0000)]
* memwin.ith (error_dialog): Declare public method.
* memwin.itb (error_dialog): Define.
(edit): When attempting to set memory, post an error dialog
if gdb told us an error occurred while writing the memory.

23 years ago * library/interface.tcl (gdbtk_tcl_file_changed): Handle
Keith Seitz [Tue, 22 May 2001 18:24:18 +0000 (18:24 +0000)]
* library/interface.tcl (gdbtk_tcl_file_changed): Handle
the case of empty-string files, sent by gdb when the
user requests to reset the file.
(_close_file): New proc to deal with closing an exe.
* library/srcbar.itcl (create_file_menu): Add "Close" menu
option.
(create_view_menu): Change key binding for Watch Window to
Ctrl+T to accomodate "Close" going to Ctrl+W.
* library/srctextwin.itb (config_win): Update key binding
for Watch Window.
Add key binding for Close.
(do_key): Add "close".
(_clear_cache): Finally implement. I think this works now.

23 years ago * library/variables.tcl (postMenu): Add mysterious workaround
Keith Seitz [Tue, 22 May 2001 15:46:03 +0000 (15:46 +0000)]
* library/variables.tcl (postMenu): Add mysterious workaround
for popup menu bug in Tk for windows.
Highlight the selection, too.

23 years ago* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
Alexandre Oliva [Tue, 22 May 2001 10:40:29 +0000 (10:40 +0000)]
* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
[aix4*|aix5*]: Prepend blank.

23 years ago * gdb.base/finish.exp (finish_void): Allow "finish" command to
Kevin Buettner [Tue, 22 May 2001 00:25:27 +0000 (00:25 +0000)]
* gdb.base/finish.exp (finish_void): Allow "finish" command to
stop on the call statement as well as the statement after the
call.

23 years ago* values.c (value_primitive_field): If we're extracting a base
Jim Blandy [Mon, 21 May 2001 20:08:59 +0000 (20:08 +0000)]
* values.c (value_primitive_field): If we're extracting a base
class, then the type of the result should be the base class being
extracted, not the type of which it is a base class.

23 years ago* value.h (struct value): Doc fix, and rearrange members to place
Jim Blandy [Mon, 21 May 2001 20:02:22 +0000 (20:02 +0000)]
* value.h (struct value): Doc fix, and rearrange members to place
them near their explanations.

23 years ago2001-05-21 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 21 May 2001 18:48:26 +0000 (18:48 +0000)]
2001-05-21  Michael Snyder  <msnyder@redhat.com>

* remote.c (remote_async_wait): Added new variable fieldsize.
Add fieldsize (return value of hex2bin) to string pointer p.

23 years ago * dwarf2.c (decode_line_info): Fix error message.
Andreas Jaeger [Mon, 21 May 2001 11:52:42 +0000 (11:52 +0000)]
* dwarf2.c (decode_line_info): Fix error message.
(read_abbrevs): Fix test for offset as suggested by Alan Modra and
adjust error message.

23 years agoFormatting tweak.
Jim Blandy [Mon, 21 May 2001 05:30:59 +0000 (05:30 +0000)]
Formatting tweak.

23 years ago* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
Alexandre Oliva [Sun, 20 May 2001 19:02:56 +0000 (19:02 +0000)]
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254.  Rebuilt a number
of subdir/configure scripts to use the new libtool.m4.

23 years agoImprove HC11 simulator to support HC12
Stephane Carrez [Sun, 20 May 2001 15:40:27 +0000 (15:40 +0000)]
Improve HC11 simulator to support HC12

23 years ago * dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for
Stephane Carrez [Sun, 20 May 2001 15:36:29 +0000 (15:36 +0000)]
* dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for
pending interrupts.
* interrupts.c (interrupts_process): Keep track of the last number
of masked insn cycles.
(interrupts_initialize): Clear last number of masked insn cycles.
(interrupts_info): Report them.
(interrupts_update_pending): Compute clear and set masks of
interrupts and clear the interrupt bits before setting them
(due to SCI interrupt sharing).
* interrupts.h (struct interrupts): New members last_mask_cycles
and xirq_last_mask_cycles.

23 years ago * m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
Stephane Carrez [Sun, 20 May 2001 11:53:42 +0000 (11:53 +0000)]
* m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
(m68hc11_analyze_instruction): Update the pc correctly.
(m68hc11_guess_from_prologue): Take into account the stack correction
for the saving address.

23 years ago2001-05-07 Daniel Berlin <dan@cgsoftware.com>
Daniel Berlin [Sat, 19 May 2001 15:20:14 +0000 (15:20 +0000)]
2001-05-07  Daniel Berlin  <dan@cgsoftware.com>

Changes by Jim Ingham:

* values.c (value_change_enclosing_type): New function.  If the
new enclosing type is larger than the old one, we need to allocate
more space.
* value.h: Add value_change_enclosing_type prototype.
* valops.c (value_cast): Use it.
(value_assign): Use it.
(value_addr): Use it.
(value_ind): Use it.
(value_full_object): Use it.

2001-05-07  Daniel Berlin  <dan@cgsoftware.com>

* values.c (value_static_field): Handle static fields that have a constant value.

23 years ago * library/managedwin.ith (_geometry): Use a protected variable
Keith Seitz [Fri, 18 May 2001 22:57:30 +0000 (22:57 +0000)]
* library/managedwin.ith (_geometry): Use a protected variable
instead of a global from ManagedWin::reveal.
(open): Make arg list reflect managedwin.itb.
* library/managedwin.itb (window_name): Use class variable
_top instead of recomputing the toplevel every time.
(reveal): Ditto.
Use class variable "_geometry" instead of global variable.
(shutdown): Do not save ModalDialogs.
(_create): If centering the new window, use libgui's
center_window to do it.

23 years agoIt appears that I forgot to check this in!
Keith Seitz [Fri, 18 May 2001 22:49:34 +0000 (22:49 +0000)]
It appears that I forgot to check this in!

* generic/gdbtk-hooks.c (gdbtk_wait): Change integer pid
argument to match gdb's new "ptid_t" pids.

23 years ago2001-05-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 18 May 2001 16:06:43 +0000 (16:06 +0000)]
2001-05-18  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_link_add_object_symbols): Revert the last
change.

23 years ago * cris-opc.c (cris_spec_regs): Add missing initializer field for
Hans-Peter Nilsson [Fri, 18 May 2001 15:21:59 +0000 (15:21 +0000)]
* cris-opc.c (cris_spec_regs): Add missing initializer field for
last element.

23 years ago * elf32-hppa.c (clobber_millicode_symbols): Temporarily set
Alan Modra [Fri, 18 May 2001 03:11:13 +0000 (03:11 +0000)]
* elf32-hppa.c (clobber_millicode_symbols): Temporarily set
ELF_LINK_FORCED_LOCAL to suit 2001-04-30 change.
(hppa_build_one_stub): Add an assert to check plt.offset.

23 years ago2001-05-17 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 18 May 2001 01:20:02 +0000 (01:20 +0000)]
2001-05-17  H.J. Lu  <hjl@gnu.org>

* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the
version definition to basename of the output filename.

23 years ago2001-05-17 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 17 May 2001 20:04:46 +0000 (20:04 +0000)]
2001-05-17  Michael Snyder  <msnyder@redhat.com>

* blockframe.c (create_new_frame): Zero all the fields via memset,
rather than zeroing them one by one.

23 years ago2001-05-17 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 17 May 2001 19:08:46 +0000 (19:08 +0000)]
2001-05-17  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_link_add_object_symbols): Set DT_NEEDED to
basename of the bfd filename.

23 years ago * top.c (user_args): Remove unused declaration.
Eli Zaretskii [Thu, 17 May 2001 15:05:32 +0000 (15:05 +0000)]
* top.c (user_args): Remove unused declaration.

23 years agoAdd a flag to asection, linker_has_input, and use it to reliably
Alan Modra [Thu, 17 May 2001 03:58:45 +0000 (03:58 +0000)]
Add a flag to asection, linker_has_input, and use it to reliably
determine whether an input section is the first one assigned to
an output section.

23 years agomerge from gcc
DJ Delorie [Wed, 16 May 2001 21:04:30 +0000 (21:04 +0000)]
merge from gcc

23 years ago2001-05-15 John S Kallal <jskallal@home.com>
Michael Snyder [Wed, 16 May 2001 20:10:52 +0000 (20:10 +0000)]
2001-05-15  John S Kallal  <jskallal@home.com>

        * remote.c (remote_wait): Added new variable fieldsize.
        Add fieldsize (return value of hex2bin) to string pointer p.

23 years ago2001-05-16 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 16 May 2001 20:05:49 +0000 (20:05 +0000)]
2001-05-16  Michael Snyder  <msnyder@redhat.com>

* infcmd.c (do_registers_info): Move alloca outside of loop.

23 years ago* elf-m10300.c (mn10300_elf_relax_section): Don't relax
Alexandre Oliva [Wed, 16 May 2001 01:48:13 +0000 (01:48 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Don't relax
negative 32-bit operands to 16 operands when the operand is
going to be zero-extended by the modified opcode.

23 years ago* cgen disasm bug fix
Frank Ch. Eigler [Tue, 15 May 2001 18:10:05 +0000 (18:10 +0000)]
* cgen disasm bug fix

2001-05-15  Frank Ch. Eigler  <fche@redhat.com>

* cgen-dis.in (extract_normal): Complete support for min<base case.

23 years agoRemove definition of EM_MIPS_RS4_BE. The constant was never in active use
Nick Clifton [Tue, 15 May 2001 12:24:29 +0000 (12:24 +0000)]
Remove definition of EM_MIPS_RS4_BE.  The constant was never in active use
and is used otherwise by the ABI.

23 years agoFix MIPS disassembler so that it produces reassemblable code.
Nick Clifton [Tue, 15 May 2001 12:11:12 +0000 (12:11 +0000)]
Fix MIPS disassembler so that it produces reassemblable code.

23 years ago* sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
Mark Kettenis [Tue, 15 May 2001 11:38:26 +0000 (11:38 +0000)]
* sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
info.bfd_arch_info.

23 years agoFix warnings resulting from fact that GET_LWP() now returns a long rather
Kevin Buettner [Tue, 15 May 2001 00:13:47 +0000 (00:13 +0000)]
Fix warnings resulting from fact that GET_LWP() now returns a long rather
than an int.

23 years agoRedefine ptid_t to be a struct rather than an int.
Kevin Buettner [Tue, 15 May 2001 00:03:38 +0000 (00:03 +0000)]
Redefine ptid_t to be a struct rather than an int.

23 years agoRemove stray @item's.
Andrew Cagney [Mon, 14 May 2001 20:24:23 +0000 (20:24 +0000)]
Remove stray @item's.

23 years ago2001-05-14 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 14 May 2001 19:02:00 +0000 (19:02 +0000)]
2001-05-14  Michael Snyder  <msnyder@redhat.com>

* remote.c (hex2bin):   Make first argument const.
Require explicit count, don't accept null-terminated str.
(remote_resume, remote_async_resume): White space fix-up.

23 years ago* symtab.c (lookup_symtab_1): Use lbasename (NAME) instead of
Mark Kettenis [Mon, 14 May 2001 18:49:54 +0000 (18:49 +0000)]
* symtab.c (lookup_symtab_1): Use lbasename (NAME) instead of
basename (NAME).  The FreeBSD basename returns a pointer to a
static buffer, even if it's simply returning a string identical to
its argument.
(lookup_partial_symtab): Likewise.

23 years ago2001-05-14 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 14 May 2001 18:45:45 +0000 (18:45 +0000)]
2001-05-14  Michael Snyder  <msnyder@redhat.com>

        * solib.c, solib.h: Add comment for function no_shared_libraries.

23 years ago2001-05-14 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 14 May 2001 18:31:35 +0000 (18:31 +0000)]
2001-05-14  Michael Snyder  <msnyder@redhat.com>

* remote.c (remote_write_bytes): Set nr_bytes to return value of
bin2hex.

23 years ago * library/interface.tcl (gdbtk_quit_check): Don't save sessions
Keith Seitz [Mon, 14 May 2001 18:21:54 +0000 (18:21 +0000)]
* library/interface.tcl (gdbtk_quit_check): Don't save sessions
here. It doesn't work for the Console Window.
(gdbtk_cleanup): Save session information here.
(gdbtk_tcl_exec_file_display): When files are loaded,
get the full pathname to the exe.

23 years agoFix no_shared_libraries() declaration.
Kevin Buettner [Mon, 14 May 2001 18:09:05 +0000 (18:09 +0000)]
Fix no_shared_libraries() declaration.

23 years ago* ppc-opc.c (powerpc_opcodes): Fixed extended opcode field of
J.T. Conklin [Mon, 14 May 2001 17:20:13 +0000 (17:20 +0000)]
* ppc-opc.c (powerpc_opcodes): Fixed extended opcode field of
simplified mnemonics used for setting PPC750-specific special
purpose registers.

23 years agoOutput ``[...]'' when a list.
Andrew Cagney [Mon, 14 May 2001 16:59:49 +0000 (16:59 +0000)]
Output ``[...]'' when a list.

23 years ago* remote.c (remote_write_bytes): Set nr_bytes before returning it.
Andrew Cagney [Mon, 14 May 2001 16:48:01 +0000 (16:48 +0000)]
* remote.c (remote_write_bytes): Set nr_bytes before returning it.
* solib.h (no_shared_libraries): Declare.

23 years agoFix logic selecting a new architecture. Use the sequence:
Andrew Cagney [Mon, 14 May 2001 16:43:35 +0000 (16:43 +0000)]
Fix logic selecting a new architecture.  Use the sequence:
o provided by INFO
o hard-wired by (gdb) set ...
o reversed engineered from INFO.abfd
o default to previous architecture

23 years ago2001-05-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 14 May 2001 16:40:49 +0000 (16:40 +0000)]
2001-05-14  H.J. Lu <hjl@gnu.org>

* config.if (libc_interface): Set to -libc6.2- for cross
compiling to Linux/glibc 2.2.

23 years ago* Makefile.in (GDBvn.texi): Set GDBVN from ../version.in.
Andrew Cagney [Mon, 14 May 2001 16:18:50 +0000 (16:18 +0000)]
* Makefile.in (GDBvn.texi): Set GDBVN from ../version.in.

23 years agoAdd missing entry for change committed on 2001-01-28.
Michael Chastain [Sat, 12 May 2001 21:56:04 +0000 (21:56 +0000)]
Add missing entry for change committed on 2001-01-28.

23 years ago2001-05-12 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Sat, 12 May 2001 21:05:59 +0000 (21:05 +0000)]
2001-05-12  Fernando Nasser  <fnasser@redhat.com>

* remote-e7000.c (e7000_open): Check for bad baud rate.
* remote-st.c (st2000_open): Ditto.

23 years ago2001-05-12 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 12 May 2001 15:19:22 +0000 (15:19 +0000)]
2001-05-12  H.J. Lu  <hjl@gnu.org>

* i386-dis.c (print_insn_i386): Always set `mod', `reg' and
`rm'.

23 years agoPeter Targett's backwards compatibility and other arc fixes.
Alan Modra [Sat, 12 May 2001 15:14:53 +0000 (15:14 +0000)]
Peter Targett's backwards compatibility and other arc fixes.

23 years ago * i386-dis.c (twobyte_has_modrm): Update table.
Alan Modra [Sat, 12 May 2001 12:07:08 +0000 (12:07 +0000)]
* i386-dis.c (twobyte_has_modrm): Update table.
(need_modrm): Give it file scope.
(MODRM_CHECK): Define.
(dofloat): Use MODRM_CHECK.
(OP_E): Likewise.
(OP_EM): Likewise.
(OP_EX): Likewise.
and fix testsuite yet again now that we are getting correct disassembly.

23 years agoCorrect cvtps2dq, movdq2q, movq2dq, and movq problems.
Alan Modra [Sat, 12 May 2001 09:52:39 +0000 (09:52 +0000)]
Correct cvtps2dq, movdq2q, movq2dq, and movq problems.

23 years ago* thread.c (do_captured_list_thread_ids): Use ui_out_tuple_begin
Jim Blandy [Sat, 12 May 2001 05:04:01 +0000 (05:04 +0000)]
* thread.c (do_captured_list_thread_ids): Use ui_out_tuple_begin
and ui_out_tuple_end instead of ui_out_list_begin and
ui_out_list_end.

23 years ago* Makefile.in (gnu-v2-abi.o): Add $(demangle_h) to list of
Jim Blandy [Sat, 12 May 2001 04:09:38 +0000 (04:09 +0000)]
* Makefile.in (gnu-v2-abi.o): Add $(demangle_h) to list of
dependencies.  Reorder dependencies to match #includes in file,
for easier verification.

23 years agos/ui_out_list/ui_out_tupple/
Andrew Cagney [Sat, 12 May 2001 04:08:24 +0000 (04:08 +0000)]
s/ui_out_list/ui_out_tupple/

23 years ago* gnu-v2-abi.c: Don't #include "gdb_regex.h". We don't use it.
Jim Blandy [Sat, 12 May 2001 04:01:16 +0000 (04:01 +0000)]
* gnu-v2-abi.c: Don't #include "gdb_regex.h".  We don't use it.

23 years agoTweeks from RDBrown to fix compiling on HP/UX using HP's compiler.
Andrew Cagney [Sat, 12 May 2001 03:18:34 +0000 (03:18 +0000)]
Tweeks from RDBrown to fix compiling on HP/UX using HP's compiler.

23 years ago * library/prefs.tcl (pref_save): Fix bug when key in gdb space has
Tom Tromey [Sat, 12 May 2001 01:47:36 +0000 (01:47 +0000)]
* library/prefs.tcl (pref_save): Fix bug when key in gdb space has
extra `/' in it.

23 years agoNEWS on version.in.
Andrew Cagney [Sat, 12 May 2001 01:34:09 +0000 (01:34 +0000)]
NEWS on version.in.

23 years ago* mips-tdep.c (mips_store_return_value,
Jim Blandy [Sat, 12 May 2001 00:38:11 +0000 (00:38 +0000)]
* mips-tdep.c (mips_store_return_value,
mips_extract_return_value): Pass arguments to
return_value_location in the proper order.

23 years agoReplace Makefile.in:VERSION with the file version.in.
Andrew Cagney [Sat, 12 May 2001 00:31:09 +0000 (00:31 +0000)]
Replace Makefile.in:VERSION with the file version.in.

23 years agoFix handling of XScale LDRD and STRD instructions with post indexed addressing modes.
Nick Clifton [Fri, 11 May 2001 21:51:07 +0000 (21:51 +0000)]
Fix handling of XScale LDRD and STRD instructions with post indexed addressing modes.

23 years agomerge from gcc
DJ Delorie [Fri, 11 May 2001 20:22:28 +0000 (20:22 +0000)]
merge from gcc

23 years ago * generic/gdbtk-bp.c (set_raw_breakpoint): Revise declaration
Kevin Buettner [Fri, 11 May 2001 20:01:57 +0000 (20:01 +0000)]
* generic/gdbtk-bp.c (set_raw_breakpoint): Revise declaration
to match the recently changed declaration in breakpoint.c.
Update all callers.

23 years ago2001-05-10 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 11 May 2001 19:53:38 +0000 (19:53 +0000)]
2001-05-10  Elena Zannoni  <ezannoni@redhat.com>

       * gdb.base/completion.exp: Revamp test. Make it execute on all
       platforms.

23 years ago 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 11 May 2001 19:53:04 +0000 (19:53 +0000)]
 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>

       * gdb.base/completion.exp: Revamp test. Make it execute on all
       platforms.

23 years agoAdd ``type'' parameter to set_raw_breakpoint().
Kevin Buettner [Fri, 11 May 2001 19:46:35 +0000 (19:46 +0000)]
Add ``type'' parameter to set_raw_breakpoint().

23 years ago2001-05-11 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Fri, 11 May 2001 18:34:13 +0000 (18:34 +0000)]
2001-05-11  Fernando Nasser  <fnasser@redhat.com>

* ser-unix.c (rate_to_code): Issue warning if baud rate is invalid.
(hardwire_setbaudrate): Set errno to EINVAL and return with error
if the conversion of the baud rate to code fails.

23 years ago2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
Michael Snyder [Fri, 11 May 2001 17:48:31 +0000 (17:48 +0000)]
2001-02-28  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

* symtab.c (print_msymbol_info): Print addresses by portable method
longest_local_hex_string_custom.  Allow for 64-bit addresses.

23 years ago * generic/gdbtk-bp.c (gdbtk_create_breakpoint): Safe guard
Keith Seitz [Fri, 11 May 2001 14:33:10 +0000 (14:33 +0000)]
* generic/gdbtk-bp.c (gdbtk_create_breakpoint): Safe guard
against "invalid" (internal) breakpoint numbers.
(gdbtk_modify_breakpoint): Ditto.
(gdbtk_delete_breakpoint): Ditto.

23 years ago * elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind
Jakub Jelinek [Fri, 11 May 2001 12:36:47 +0000 (12:36 +0000)]
* elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind
sections as well.
(elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO
to .gnu.linkonce.t.FOO text section.

* readelf.c (process_unwind): Print all unwind sections, not just
one.

* config/tc-ia64.c (special_linkonce_name): New.
(make_unw_section): Map .gnu.linkonce.t.FOO text section into
.gnu.linkonce.ia64unw{,i}.FOO.
(ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO.
(dot_endp): Add comment about it.

* elf/ia64.h (ELF_STRING_ia64_unwind_once): Define.
(ELF_STRING_ia64_unwind_info_once): Define.

* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
.gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
output sections.
* emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.

23 years ago * merge.c (struct sec_merge_hash_entry): Add u.entsize and u.suffix
Jakub Jelinek [Fri, 11 May 2001 12:23:47 +0000 (12:23 +0000)]
* merge.c (struct sec_merge_hash_entry): Add u.entsize and u.suffix
fields, change sec into secinfo.
(struct sec_merge_info): Add chain, remove last fields.
(struct sec_merge_sec_info): Add next, sec, psecinfo fields.
(sec_merge_hash_lookup): If lookup could not use a string only
because it has bad alignment, mark the old string for deletion.
(sec_merge_add): Add secinfo argument. Don't compute entry's
position, instead record the section.
(sec_merge_emit): Update for the sec into secinfo change in
struct sec_merge_hash_entry.
(_bfd_merge_section): Only record the section for merging, defer
putting strings into the hash table.
(cmplengthentry, last4_eq, last_eq, record_section, merge_strings,
_bfd_merge_sections): New functions.
(_bfd_merged_section_offset): Update for the sec_merge_hash_entry
changes.
* libbfd-in.h (_bfd_merge_sections): Add prototype.
(_bfd_nolink_bfd_merge_sections): Define.
* libbfd.h: Likewise.
(bfd_generic_merge_sections): Add prototype.
* targets.c (BFD_JUMP_TABLE_LINK): Add _bfd_merge_sections.
(struct bfd_target): Likewise.
* bfd.c (bfd_merge_sections): Define.
* bfd-in2.h: Rebuilt.
* elf.c (_bfd_elf_merge_sections): New function.
* elf-bfd.h (_bfd_elf_merge_sections): Add prototype.
* elfxx-target.h (bfd_elfNN_bfd_merge_sections): Define.
* reloc.c (bfd_generic_merge_sections): New function.
* vms.c (vms_bfd_merge_sections): New function.
* aout-adobe.c (aout_32_bfd_merge_sections): Define.
* aout-target.h (MY_bfd_merge_sections): Define.
* aout-tic30.c (MY_bfd_merge_sections): Define.
* binary.c (binary_bfd_merge_sections): Define.
* bout.c (b_out_bfd_merge_sections): Define.
* coff-alpha.c (_bfd_ecoff_bfd_merge_sections): Define.
* coffcode.c (coff_bfd_merge_sections): Define.
* coff-mips.c (_bfd_ecoff_bfd_merge_sections): Define.
* i386msdos.c (msdos_bfd_merge_sections): Define.
* i386os9k.c (os9k_bfd_merge_sections): Define.
* ieee.c (ieee_bfd_merge_sections): Define.
* ihex.c (ihex_bfd_merge_sections): Define.
* nlm-target.h (nlm_bfd_merge_sections): Define.
* oasys.c (oasys_bfd_merge_sections): Define.
* ppcboot.c (ppcboot_bfd_merge_sections): Define.
* som.c (som_bfd_merge_sections): Define.
* srec.c (srec_bfd_merge_sections): Define.
* tekhex.c (tekhex_bfd_merge_sections): Define.
* versados.c (versados_bfd_merge_sections): Define.
* xcoff-target.h (_bfd_xcoff_bfd_merge_sections): Define.

* ldlang.c (lang_process): Call bfd_merge_sections.

23 years agoChange type of 'addr' to be unsigned long, in order to match its use.
Nick Clifton [Fri, 11 May 2001 09:55:02 +0000 (09:55 +0000)]
Change type of 'addr' to be unsigned long, in order to match its use.

23 years ago2001-05-11 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Fri, 11 May 2001 07:00:04 +0000 (07:00 +0000)]
2001-05-11  Fernando Nasser  <fnasser@redhat.com>

* mi-var-child.exp: Adjust for the fact that now (char *) can be
dereferenced.

23 years ago * generic/gdbtk-bp.c (gdb_set_bp): Generate a breakpoint event
Keith Seitz [Fri, 11 May 2001 05:08:32 +0000 (05:08 +0000)]
* generic/gdbtk-bp.c (gdb_set_bp): Generate a breakpoint event
when we create a breakpoint. The hook is no longer used.
(gdb_set_bp_addr): Ditto.

23 years ago2001-05-10 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 10 May 2001 22:59:29 +0000 (22:59 +0000)]
2001-05-10  H.J. Lu  <hjl@gnu.org>

* linker.c (_bfd_generic_link_add_one_symbol): Check loop on
indirect symbols.

23 years ago * generic/gdbtk-bp.c (breakpoint_list, breakpoint_list_size): New
Keith Seitz [Thu, 10 May 2001 22:34:54 +0000 (22:34 +0000)]
* generic/gdbtk-bp.c (breakpoint_list, breakpoint_list_size): New
variables. Gdb is forcing us to maintain our own breakpoint
database.
(Gdbtk_Breakpoint_Init): Initialize our breakpoint database.
(gdb_find_bp_at_addr): Use our breakpoint database.
(gdb_find_bp_at_line): Ditto.
(gdb_get_breakpoint_list): Ditto.
(gdb_get_breakpoint_info): Remove deleted breakpoint hack.
(gdbtk_create_breakpoint): Moved here from gdbtk-hooks.c.
Add breakpoint to our breakpoint database.
(gdbtk_modify_breakpoint): Ditto the move.
(gdbtk_delete_breakpoint): Ditto the move.
Remove breakpoint from our database.
(gdb_get_tracepoint_info): Remove delete tracepoint hack.
It's not needed for tracepoints: they were implemented properly.
(gdbtk_create_tracepoint): Moved here from gdbtk-hooks.c.
(gdbtk_modify_tracepoint): Ditto.
(gdbtk_delete_tracepoint): Ditto.
* generic/gdbtk-hooks.c: Include "gdb-events.h".
(gdbtk_create_breakpoint): Moved to gdbtk-bp.c
(gdbtk_modify_breakpoint): Ditto.
(gdbtk_delete_breakpoint): Ditto.
(breakpoint_notify): Ditto.
(gdbtk_create_tracepoint): Ditto.
(gdbtk_modify_tracepoint): Ditto.
(gdbtk_delete_tracepoint): Ditto.
(tracepoint_notify): Ditto.
(report_error): No longer static.
(gdbtk_add_hooks): Create our own event handler
vector and register breakpoint_create, breakpoint_modify,
and breakpoint_delete handlers in gdbtk-bp.c.

23 years agoPass the tupple/list parameter.
Andrew Cagney [Thu, 10 May 2001 22:32:26 +0000 (22:32 +0000)]
Pass the tupple/list parameter.

23 years ago2001-05-10 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 10 May 2001 21:30:37 +0000 (21:30 +0000)]
2001-05-10  Andrew Cagney  <ac131313@redhat.com>

* ui-out.h (make_cleanup_ui_out_begin_end): Declare.
* ui-out.c (struct ui_out_end_cleanup_data): Define.
(do_cleanup_end): New function.  Replace do_list_end.
(make_cleanup_ui_out_end): New function.
(make_cleanup_ui_out_begin_end): New function.
(make_cleanup_ui_out_list_end): Use make_cleanup_ui_out_end.

23 years ago2001-05-10 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 10 May 2001 21:10:09 +0000 (21:10 +0000)]
2001-05-10  Elena Zannoni  <ezannoni@redhat.com>

        * MAINTAINERS: Declare xcoffread.c open to all maintainers,
        and make Kevin Buettner (kevinb@redhat.com) the reference person.

23 years ago2001-05-10 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 10 May 2001 21:03:03 +0000 (21:03 +0000)]
2001-05-10  Elena Zannoni  <ezannoni@redhat.com>

        * proc-api.c (ioctl_with_trace): Fix uninitialized variable.

23 years ago2001-05-10 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Thu, 10 May 2001 20:33:09 +0000 (20:33 +0000)]
2001-05-10  Fernando Nasser  <fnasser@redhat.com>

* MAINTAINERS: Add testsuite subdirectory co-maintainers.

23 years agoFix -Werror problem with mi-main.c.
Andrew Cagney [Thu, 10 May 2001 20:31:46 +0000 (20:31 +0000)]
Fix -Werror problem with mi-main.c.

23 years agoFix ChangeLog cut-n-paste error!
Elena Zannoni [Thu, 10 May 2001 19:36:38 +0000 (19:36 +0000)]
Fix ChangeLog cut-n-paste error!

23 years ago2001-04-12 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 10 May 2001 19:35:14 +0000 (19:35 +0000)]
2001-04-12  Elena Zannoni  <ezannoni@redhat.com>

        * config/gdbserver.exp (gdb_load): Handle the case
        in which the arguments to gdbserver are given in the
        baseboard configuration file.
        Also handle the case in which the server needs to do a
        load.

23 years ago2001-05-10 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 10 May 2001 19:06:19 +0000 (19:06 +0000)]
2001-05-10  Michael Snyder  <msnyder@redhat.com>

* remote.c (remote_open_1): Call no_shared_libraries, so that
symbols for shared libraries can be reloaded per session.
(remote_async_open_1): Ditto.

23 years ago2001-05-10 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 10 May 2001 19:00:35 +0000 (19:00 +0000)]
2001-05-10  Michael Snyder  <msnyder@redhat.com>

* remote.c (bin2hex, hex2bin): New functions.  Factor out these
two conversions which are coded for repeatedly in this module.
(remote_threads_extra_info, remote_wait, remote_async_wait,
store_register_using_P, remote_store_registers, remote_write_bytes,
remote_read_bytes, remote_rcmd): Use bin2hex and hex2bin instead
of coding the conversions inline.
(fromhex): Not exported, change from extern to static.

23 years agoDelete ``info architecture'' command.
Andrew Cagney [Thu, 10 May 2001 18:36:26 +0000 (18:36 +0000)]
Delete ``info architecture'' command.

23 years agoGeneral updates for 5.1/5.2 lists.
Andrew Cagney [Thu, 10 May 2001 18:20:51 +0000 (18:20 +0000)]
General updates for 5.1/5.2 lists.

23 years agoJim Ingham stepping back from Arm maintenance.
Andrew Cagney [Thu, 10 May 2001 18:10:48 +0000 (18:10 +0000)]
Jim Ingham stepping back from Arm maintenance.