OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years ago* d10v-tdep.c (10v_frame_chain_valid, d10v_use_struct_convention,
Jim Blandy [Thu, 28 Jun 2001 22:10:41 +0000 (22:10 +0000)]
* d10v-tdep.c (10v_frame_chain_valid, d10v_use_struct_convention,
d10v_breakpoint_from_pc, d10v_register_byte,
d10v_register_raw_size, d10v_register_virtual_size,
d10v_register_virtual_type, d10v_register_convertible,
d10v_register_convert_to_virtual, d10v_register_convert_to_raw,
d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
d10v_convert_iaddr_to_raw, d10v_convert_daddr_to_raw,
d10v_store_struct_return, d10v_store_return_value,
d10v_extract_struct_value_address, d10v_frame_saved_pc,
d10v_saved_pc_after_call, d10v_pop_frame, d10v_skip_prologue,
d10v_frame_chain, d10v_frame_init_saved_regs,
d10v_init_extra_frame_info, d10v_read_pc, d10v_write_pc,
d10v_read_sp, d10v_write_sp, d10v_write_fp, d10v_read_fp,
d10v_push_return_address, d10v_push_arguments,
d10v_extract_return_value): Make these functions static.

23 years ago* gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
Andrew Cagney [Thu, 28 Jun 2001 22:01:22 +0000 (22:01 +0000)]
* gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
of files to delete.
From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
* gdb.disasm/h8300s.exp: New file.
gdb.disasm/h8300s.s: Likewise.

23 years agoFrom Fernando Nasser:
Andrew Cagney [Thu, 28 Jun 2001 21:48:41 +0000 (21:48 +0000)]
From Fernando Nasser:
* infrun.c (handle_inferior_event): Handle "nexti" inside function
prologues.

23 years ago2001-06-28 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 28 Jun 2001 21:34:03 +0000 (21:34 +0000)]
2001-06-28  Michael Snyder  <msnyder@redhat.com>

* infrun.c (handle_inferior_event): Replace prev_pc test in all
calls to bpstat_stop_status (removed in 1999-09-24).  This test
helps distinguish stepping over a breakpoint trap from stepping
thru a jump to the instruction after a breakpoint trap.
(handle_inferior_event): Don't bother writing the PC if
DECR_PC_AFTER_BREAK is zero (optimization).
* breakpoint.c (bpstat_stop_status): Add comment explaining the
purpose and usage of the "not_a_breakpoint" argument in computing
the breakpoint address.

23 years agoFrom 2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
Andrew Cagney [Thu, 28 Jun 2001 20:03:10 +0000 (20:03 +0000)]
From 2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
* monitor.c (setmem_resp_delim_pattern): New regexp pattern.
(setreg_resp_delim_pattern): Likewise.
(setmem_resp_delim_fastmap): New buffer.
(setreg_resp_delim_fastmap): Likewise.
(monitor_open): Initialize above regexp if they are defined.
(monitor_write_memory): Use regexp to check the result of write.
(monitor_store_register): Likewise to check result of register set.

23 years agoFrom 2000-06-14 John Marshall <john_w_marshall@palm.com>:
Andrew Cagney [Thu, 28 Jun 2001 19:54:41 +0000 (19:54 +0000)]
From 2000-06-14 John Marshall <john_w_marshall@palm.com>:
* coff-solib.c: Include symfile.h and objfiles.h to make
OBJF_SHARED visible.

23 years agoSome how this never got removed when ChangeLog was created :-(
Andrew Cagney [Thu, 28 Jun 2001 19:14:22 +0000 (19:14 +0000)]
Some how this never got removed when ChangeLog was created :-(

23 years agoBuild MI by default.
Andrew Cagney [Thu, 28 Jun 2001 19:04:10 +0000 (19:04 +0000)]
Build MI by default.

23 years agoAdd entry for change in solib-osf.c (osf_in_dynsym_resolve_code).
Joel Brobecker [Thu, 28 Jun 2001 10:38:12 +0000 (10:38 +0000)]
Add entry for change in solib-osf.c (osf_in_dynsym_resolve_code).

23 years ago(osf_in_dynsym_resolve_code): Add a comment explaining the consequences of
Joel Brobecker [Thu, 28 Jun 2001 10:36:19 +0000 (10:36 +0000)]
(osf_in_dynsym_resolve_code): Add a comment explaining the consequences of
 always returning zero. No code change.

23 years agoFrom 2001-06-08 Daniel Jacobowitz <djacobowitz@mvista.com>:
Andrew Cagney [Thu, 28 Jun 2001 04:31:36 +0000 (04:31 +0000)]
From 2001-06-08 Daniel Jacobowitz <djacobowitz@mvista.com>:
* defs.h (enum target_signal): Add TARGET_SIGNAL_REALTIME_65
to TARGET_SIGNAL_REALTIME_127.
* target.c (struct signals): Add SIG63 to SIG127.
(target_signal_from_host): Handle up to 127 signals.
(do_target_signal_to_host): Likewise.

23 years ago* remote-sds.c (sds_start_remote): Change type of ``c'' to int
Andrew Cagney [Thu, 28 Jun 2001 03:40:27 +0000 (03:40 +0000)]
* remote-sds.c (sds_start_remote): Change type of ``c'' to int
from possibly unsigned char.

23 years agoExterminate ser-ocd.c.
Andrew Cagney [Thu, 28 Jun 2001 03:33:26 +0000 (03:33 +0000)]
Exterminate ser-ocd.c.

23 years agoDan Berlin stepped down as C++ maintainer.
Andrew Cagney [Thu, 28 Jun 2001 02:40:39 +0000 (02:40 +0000)]
Dan Berlin stepped down as C++ maintainer.

23 years agoSort write after approval.
Andrew Cagney [Thu, 28 Jun 2001 02:37:02 +0000 (02:37 +0000)]
Sort write after approval.

23 years ago*** empty log message ***
gdbadmin [Thu, 28 Jun 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoFor MI>0, output full breakpoint table header information. Output the
Andrew Cagney [Wed, 27 Jun 2001 17:27:08 +0000 (17:27 +0000)]
For MI>0, output full breakpoint table header information.  Output the
breakpoint table body as a list.

23 years ago Avoid creating COPY relocs.
Alan Modra [Wed, 27 Jun 2001 02:42:09 +0000 (02:42 +0000)]
Avoid creating COPY relocs.
* elf32-hppa.c (elf32_hppa_check_relocs): Don't make syms dynamic
here..
(elf32_hppa_adjust_dynamic_symbol): ..nor here..
(allocate_plt_and_got_and_discard_relocs): .. instead do so here
after gc has run.
* elf32-hppa.c (RELATIVE_DYNAMIC_RELOCS): Delete.
(IS_ABSOLUTE_RELOC): Define.
(elf32_hppa_link_hash_entry): Always include reloc_entries field.
(hppa_link_hash_newfunc): Always init it.
(elf32_hppa_check_relocs): Mark symbols as ELF_LINK_NON_GOT_REF to
create COPY relocs only when the reloc is in a read-only section.
Instead, allocate space for a dynamic reloc to reference the
library symbol directly.  Keep track of space we allocate using
relocs_entries.
(hppa_discard_copies): Delete, and move code to..
(allocate_plt_and_got): ..here.  Rename to
allocate_plt_and_got_and_discard_relocs.  Remove unneeded dynamic
relocs for non-shared link.
(elf32_hppa_size_dynamic_sections): Update calls to above.
(elf32_hppa_relocate_section): Write out the dynamic relocs used
in lieu of COPY relocs.

23 years ago * elf32-i386.c (elf_i386_check_relocs): Don't make syms dynamic
Alan Modra [Wed, 27 Jun 2001 01:46:17 +0000 (01:46 +0000)]
* elf32-i386.c (elf_i386_check_relocs): Don't make syms dynamic
here..
(elf_i386_adjust_dynamic_symbol): ..nor here..
(allocate_plt_and_got_and_discard_relocs): .. instead do so here
after gc has run.
(elf_i386_size_dynamic_sections): Fix a comment.
(elf_i386_relocate_section <R_386_32, R_386_PC32>): Rearrange code
involved in writing reloc out.

23 years agoAlways send the breakpoint table headers to ui-out. MI/CLI can
Andrew Cagney [Wed, 27 Jun 2001 00:09:01 +0000 (00:09 +0000)]
Always send the breakpoint table headers to ui-out.  MI/CLI can
internally decide if they should be displayed.

23 years ago*** empty log message ***
gdbadmin [Wed, 27 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years agodelete reference to query output
Andrew Cagney [Tue, 26 Jun 2001 19:11:48 +0000 (19:11 +0000)]
delete reference to query output

23 years ago* mi-cmd-stack.c (list_args_or_locals): Output a list of "args" or
Andrew Cagney [Tue, 26 Jun 2001 18:50:51 +0000 (18:50 +0000)]
* mi-cmd-stack.c (list_args_or_locals): Output a list of "args" or
"locals" entries.
* gdbmi.texinfo (stack-list-locals, stack-list-arguments)
(exec-interrupt, target-select, thread-select): Update
documentation.
* mi-stack.exp: Update.  Output for args=... and
locals=... changed to a list.

23 years ago* mi-cmd-stack.c (mi_cmd_stack_list_frames): Output a list of
Andrew Cagney [Tue, 26 Jun 2001 18:13:46 +0000 (18:13 +0000)]
* mi-cmd-stack.c (mi_cmd_stack_list_frames): Output a list of
"stack" entries.
(mi_cmd_stack_list_args): Ditto for "stack-args".
* gdbmi.texinfo (stack-list-frames, stack-list-arguments): Update
documentation.
(GDB/MI Stack Manipulation Commands): Fix section title.  Was
Stack Manipulation Commands in GDB/MI.
* mi-stack.exp: Update. Output for stack=..., args=... and
stack-args=... changed to a list.

23 years agoUnscramble two merged patches. This puts memory lists back to normal.
Andrew Cagney [Tue, 26 Jun 2001 05:12:37 +0000 (05:12 +0000)]
Unscramble two merged patches.  This puts memory lists back to normal.

23 years ago* stack.c (print_frame): For ui_out, output a list of arguments.
Andrew Cagney [Tue, 26 Jun 2001 04:48:49 +0000 (04:48 +0000)]
* stack.c (print_frame): For ui_out, output a list of arguments.
Update all tests.  Update doco.

23 years agoUpdate paper trail entry.
Kevin Buettner [Tue, 26 Jun 2001 00:41:44 +0000 (00:41 +0000)]
Update paper trail entry.

23 years ago2001-06-25 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 26 Jun 2001 00:26:42 +0000 (00:26 +0000)]
2001-06-25  Michael Snyder  <msnyder@redhat.com>

* infrun.c: Eliminate the "thread_step_needed" state variable,
and replace it with a relatively simple test in resume.
(resume): Replace thread_step_needed logic with a test for
stepping, breakpoint_here_p and breakpoints_inserted.
Move CANNOT_STEP_BREAKPOINT logic to after thread_step logic.
(proceed): Discard thread_step_needed logic.
(wait_for_inferior, fetch_inferior_event, handle_inferior_event):
Discard thread_step_needed logic.

23 years ago*** empty log message ***
gdbadmin [Tue, 26 Jun 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoUpdate data-read-memory so that it outputs lists.
Andrew Cagney [Mon, 25 Jun 2001 21:05:11 +0000 (21:05 +0000)]
Update data-read-memory so that it outputs lists.

23 years agoFor data-list-register-values output a list of register values.
Andrew Cagney [Mon, 25 Jun 2001 20:08:53 +0000 (20:08 +0000)]
For data-list-register-values output a list of register values.

23 years agoOutput register-names as a list.
Andrew Cagney [Mon, 25 Jun 2001 19:02:18 +0000 (19:02 +0000)]
Output register-names as a list.

23 years agodata-list-changed-registers outputs a list of registers.
Andrew Cagney [Mon, 25 Jun 2001 18:34:25 +0000 (18:34 +0000)]
data-list-changed-registers outputs a list of registers.

23 years ago * elf32-i386.c (elf_i386_check_relocs <R_386_32, R_386_PC32>):
Alan Modra [Mon, 25 Jun 2001 08:16:44 +0000 (08:16 +0000)]
* elf32-i386.c (elf_i386_check_relocs <R_386_32, R_386_PC32>):
Ensure syms are dynamic if we might be emitting a reloc.
(allocate_plt_and_got_and_discard_relocs): Don't discard relocs
for undefweak or undefined syms..
(elf_i386_relocate_section <R_386_32, R_386_PC32>): .. and emit.

23 years ago * elf32-i386.c (allocate_plt_and_got_and_discard_relocs): Discard
Alan Modra [Mon, 25 Jun 2001 02:40:47 +0000 (02:40 +0000)]
* elf32-i386.c (allocate_plt_and_got_and_discard_relocs): Discard
relocs without ELF_LINK_HASH_DEF_DYNAMIC set.
(elf_i386_relocate_section <R_386_32, R_386_PC32>): Remove
redundant bfd_link_hash_defined, bfd_link_hash_defweak test.

23 years ago*** empty log message ***
gdbadmin [Mon, 25 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-06-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 24 Jun 2001 16:06:38 +0000 (16:06 +0000)]
2001-06-24  H.J. Lu  <hjl@gnu.org>

* cpu-i960.c (scan_960_mach): Don't modify const char *. Use
strncasecmp/strcasecmp instead of strncmp/strcmp.

23 years ago2001-06-24 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Sun, 24 Jun 2001 13:46:09 +0000 (13:46 +0000)]
2001-06-24  Fernando Nasser  <fnasser@redhat.com>

* remote-rdi.c (arm_rdi_wait): Fix return type in prototype.
* rdi-share/host.h: Add missing parenthesis in conditional.

2001-06-22  J.T. Conklin  <jtc@redback.com>

* configure.in: include nlist.h when checking for member som_addr
in struct so_map.
* configure: regenerate.

23 years ago2001-06-24 Ben Elliston <bje@redhat.com>
Ben Elliston [Sun, 24 Jun 2001 01:04:16 +0000 (01:04 +0000)]
2001-06-24  Ben Elliston  <bje@redhat.com>

* m88k-dis.c: Format to conform to GNU coding standards.

23 years ago2001-06-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 24 Jun 2001 00:36:47 +0000 (00:36 +0000)]
2001-06-23  H.J. Lu  <hjl@gnu.org>

* elf32-i386.c (elf_i386_relocate_section): Check the
ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined
in the regular object file and treat the weak definition as
the normal one.

23 years ago*** empty log message ***
gdbadmin [Sun, 24 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoRename gdb.mi/ChangeLog-mi to gdb.mi/ChangeLog. Update everything.
Andrew Cagney [Sat, 23 Jun 2001 21:47:09 +0000 (21:47 +0000)]
Rename gdb.mi/ChangeLog-mi to gdb.mi/ChangeLog.  Update everything.

23 years agoChange mi/data-disassemble command output to a list ([]) instead of
Andrew Cagney [Sat, 23 Jun 2001 20:43:56 +0000 (20:43 +0000)]
Change mi/data-disassemble command output to a list ([]) instead of
({}).

23 years ago * disassemble.c (disassembler_usage): Add unused attribute.
Andreas Jaeger [Sat, 23 Jun 2001 16:07:06 +0000 (16:07 +0000)]
* disassemble.c (disassembler_usage): Add unused attribute.

23 years ago * elf32-i386.c (elf_i386_relocate_section <R_386_GOT32>): Tighten
Alan Modra [Sat, 23 Jun 2001 15:02:43 +0000 (15:02 +0000)]
* elf32-i386.c (elf_i386_relocate_section <R_386_GOT32>): Tighten
unresolved_reloc test to exclude cases where we use "relocation"
before setting it to point into the .got.  Reinstate fudge for
unresolved relocs in debugging sections.

23 years ago * elf32-i386.c (elf_i386_relocate_section): Replace ugly
Alan Modra [Sat, 23 Jun 2001 11:01:44 +0000 (11:01 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Replace ugly
complicated tests for unresolvable relocs with a simple direct
scheme using "unresolved_reloc" var.

23 years ago * elf32-i386.c (struct elf_i386_pcrel_relocs_copied): Rename to
Alan Modra [Sat, 23 Jun 2001 10:03:53 +0000 (10:03 +0000)]
* elf32-i386.c (struct elf_i386_pcrel_relocs_copied): Rename to
elf_i386_dyn_relocs.  Update comment.
(struct elf_i386_link_hash_entry): Rename pcrel_relocs_copied to
dyn_relocs.
(elf_i386_adjust_dynamic_symbol): Remove a BFD_ASSERT, change
others to aborts.
(allocate_plt_and_got_and_discard_relocs): Replace BFD_ASSERT with
abort.
(elf_i386_size_dynamic_sections): Likewise.
(elf_i386_finish_dynamic_symbol): Likewise.
(elf_i386_finish_dynamic_sections): Likewise.
(elf_i386_relocate_section): Likewise.  Tidy R_386_GOT32 and error
handling code.

23 years ago Avoid creating COPY relocs if possible.
Alan Modra [Sat, 23 Jun 2001 05:54:15 +0000 (05:54 +0000)]
Avoid creating COPY relocs if possible.
* elf32-i386.c (elf_i386_check_relocs): Tweak condition under
which .got created.  Mark symbols used by R_386_32 and R_386_PC32
relocs as ELF_LINK_NON_GOT_REF to create COPY relocs only when the
reloc is in a read-only section.  Instead, allocate space for a
dynamic reloc to reference the library symbol directly.  Keep
track of space we allocate using pcrel_relocs_copied.
(discard_copies): Delete, and move code to ..
(allocate_plt_and_got): ..here.  Rename to
allocate_plt_and_got_and_discard_relocs.  Remove unneeded dynamic
relocs for non-shared link.
(elf_i386_size_dynamic_sections): Update calls to above functions.
(elf_i386_relocate_section): Write out the dynamic relocs.  Add
more ugly logic to avoid "unresolvable relocation" error.  Use
htab shortcut in place of elf_hash_table macro.
(elf_i386_finish_dynamic_sections): Allow that dynamic .got may
not always be created now.

23 years ago2001-06-22 Michael Chastain <chastain@redhat.com>
Michael Chastain [Sat, 23 Jun 2001 05:22:46 +0000 (05:22 +0000)]
2001-06-22  Michael Chastain  <chastain@redhat.com>

* gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
This is operationally compatible with the previous version.

23 years ago*** empty log message ***
gdbadmin [Sat, 23 Jun 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-06-22 Eric Christopher <echristo@redhat.com>
Eric Christopher [Fri, 22 Jun 2001 21:10:01 +0000 (21:10 +0000)]
2001-06-22  Eric Christopher  <echristo@redhat.com>

* mips-opc.c: Move prefx to start of the table.

23 years ago* configure.in: include nlist.h when checking for member som_addr
J.T. Conklin [Fri, 22 Jun 2001 16:01:31 +0000 (16:01 +0000)]
* configure.in: include nlist.h when checking for member som_addr
in struct so_map.
* configure: regenerate.

23 years agoFix over-optimisation of ST instruction.
Nick Clifton [Fri, 22 Jun 2001 08:55:05 +0000 (08:55 +0000)]
Fix over-optimisation of ST instruction.

23 years agoAdd wdebug instruction
Nick Clifton [Fri, 22 Jun 2001 08:21:14 +0000 (08:21 +0000)]
Add wdebug instruction

23 years ago*** empty log message ***
gdbadmin [Fri, 22 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * cli-out.c (cli_out_new): Initialize new structure member
Keith Seitz [Thu, 21 Jun 2001 22:54:06 +0000 (22:54 +0000)]
* cli-out.c (cli_out_new): Initialize new structure member
"suppress_output".

23 years ago* mi-out.c (struct ui_out_data): Replace field first_header with
Andrew Cagney [Thu, 21 Jun 2001 19:27:50 +0000 (19:27 +0000)]
* mi-out.c (struct ui_out_data): Replace field first_header with
suppress_output.
(mi_begin, mi_end): Check suppress_header.
(mi_field_int, mi_field_skip): Ditto.
(mi_field_string, mi_field_fmt): Ditto.
(mi_table_begin): When nr_rows is zero, set suppress_header else,
output the start of the header.
(mi_table_body): Clear suppress header.

23 years ago * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix linking of
Andreas Jaeger [Thu, 21 Jun 2001 16:33:14 +0000 (16:33 +0000)]
* elf64-x86-64.c (elf64_x86_64_relocate_section): Fix linking of
shared libraries.

23 years agoOutput ``[]'' when a list.
Andrew Cagney [Thu, 21 Jun 2001 16:15:20 +0000 (16:15 +0000)]
Output ``[]'' when a list.

23 years ago* ui-out.h (ui_out_table_header): Add parameter ``col_name''.
Andrew Cagney [Thu, 21 Jun 2001 15:39:54 +0000 (15:39 +0000)]
* ui-out.h (ui_out_table_header): Add parameter ``col_name''.
(table_header_ftype): Ditto.
* cli-out.c (cli_table_header): Update.
* ui-out.c (ui_out_table_header): Update.
(uo_table_header): Update.
(default_table_header): Update.
(append_header_to_list): Update.
(struct ui_out_header): Add field ``col_name''.
(append_header_to_list): Use xstrdup.  Initialize col_name.
* breakpoint.c (breakpoint_1): Pass COL_NAME to
ui_out_table_header.

23 years agoFix typos
Nick Clifton [Thu, 21 Jun 2001 07:44:29 +0000 (07:44 +0000)]
Fix typos

23 years ago * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Always
Alan Modra [Thu, 21 Jun 2001 05:47:12 +0000 (05:47 +0000)]
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Always
allocate local .got space.  Use shortcuts from hash table for .got
and .plt rather than comparing section names.
(elf32_hppa_check_relocs): Use local_plt_refcounts var rather than
adjusting index into local_got_refcounts to document what we are
really doing.
(elf32_hppa_relocate_section): Similarly for local_plt_offsets.
Tidy .got and .plt error checking.

23 years ago*** empty log message ***
gdbadmin [Thu, 21 Jun 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * bfdint.texi (BFD relocation functions) <different formats>:
Hans-Peter Nilsson [Wed, 20 Jun 2001 22:23:23 +0000 (22:23 +0000)]
* bfdint.texi (BFD relocation functions) <different formats>:
Mention that the GNU linker is aware of input-output format
restrictions when generating relocatable output.  Make new
paragraph for final-link case.
(BFD target vector swap): Fix typo.

23 years ago * elf-bfd.h (struct elf_backend_data):
Catherine Moore [Wed, 20 Jun 2001 20:34:10 +0000 (20:34 +0000)]
    * elf-bfd.h (struct elf_backend_data):
        elf_backend_emit_relocs: New field: Function for emitting
        relocs.
        elf_backend_count_relocs: New field: Function for determining
        the number of relocs to be emitted.
        * elfxx-target.h: Provide default (NULL) values for
        elf_backend_emit_relocs and elf_backend_count_relocs.
        * elflink.h (elf_link_size_reloc_section): Make the hash table
        big enough to hold the relocs counted by either reloc_count or
        o->reloc_count.
        (elf_bfd_final_link) emit_relocs: New boolean, set if relocs
        should be emitted, either because of a command line option
        stored in the info structure or because the target provides a
        special reloc emitting function.
        If the target provides a reloc counting function use it,
        unless performing a relocatable link or emitting all relocs.
        Also set the SEC_RELOC flag on any output section which will
        contain relocs.
        (elf_link_input_bfd): emit_relocs: New boolean, set if relocs
        should be emitted, either because of a command line option
        stored in the info structure or because the target provides a
        special reloc emitting function.
        If the target provides a reloc emitting function, use it,
        unless performing a relocatable link or emitting all relocs.

23 years ago2001-06-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 20 Jun 2001 18:54:52 +0000 (18:54 +0000)]
2001-06-20  H.J. Lu  <hjl@gnu.org>

* elf32-i386.c (elf_i386_size_dynamic_sections): Always
allocate local .got space.

23 years ago*** empty log message ***
gdbadmin [Wed, 20 Jun 2001 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* cli-out.c: Include "gdb_assert.h'.
Andrew Cagney [Tue, 19 Jun 2001 20:30:11 +0000 (20:30 +0000)]
* cli-out.c: Include "gdb_assert.h'.
(struct ui_out_data): Add field ``suppress_output.
(cli_table_begin): When NR_ROWS is zero, suppress_output.
(cli_table_end): Clear suppress_output.
(cli_table_body): Check suppress_output.
(cli_table_header, cli_begin): Ditto.
(cli_end, cli_field_int, cli_field_skip): Ditto.
(cli_field_string, cli_field_fmt, cli_spaces): Ditto.
(cli_text, cli_message, cli_wrap_hint): Ditto.
* breakpoint.c (breakpoint_1): Close the ui_out table before
printing the breakpoint not found message.

23 years ago* ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.
Andrew Cagney [Tue, 19 Jun 2001 16:19:16 +0000 (16:19 +0000)]
* ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.
(default_table_begin): Ditto.
* breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to
ui_out_table_begin.
Update everything.

23 years ago(elf64_x86_64_relocate_section): Fix creation of dynamic symbols.
Andreas Jaeger [Tue, 19 Jun 2001 13:30:40 +0000 (13:30 +0000)]
(elf64_x86_64_relocate_section): Fix creation of dynamic symbols.

23 years ago * Makefile.in: Revert 2001-06-17.
Alan Modra [Tue, 19 Jun 2001 09:21:33 +0000 (09:21 +0000)]
* Makefile.in: Revert 2001-06-17.
(VER): If AM_INIT_AUTOMAKE uses BFD_VERSION, get version from bfd/.

23 years ago*** empty log message ***
gdbadmin [Tue, 19 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * elflink.h (struct elf_assign_sym_version_info): Remove member
Hans-Peter Nilsson [Mon, 18 Jun 2001 22:05:10 +0000 (22:05 +0000)]
* elflink.h (struct elf_assign_sym_version_info): Remove member
export_dynamic.  All users changed to use info member.
NAME(bfd_elf,size_dynamic_sections)): Remove parameter
export_dynamic, instead use member in parameter info.
* bfd-in.h (bfd_elf32_size_dynamic_sections,
bfd_elf64_size_dynamic_sections): Update prototype.
* bfd-in2.h: Regenerate.

23 years agomerge from gcc
DJ Delorie [Mon, 18 Jun 2001 21:16:33 +0000 (21:16 +0000)]
merge from gcc

23 years ago2001-06-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 18 Jun 2001 18:57:06 +0000 (18:57 +0000)]
2001-06-18  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_info_failed): Add a new field, verdefs.
(NAME(bfd_elf,size_dynamic_sections): Pass verdefs to
elf_export_symbol.
(elf_export_symbol): Check eif->verdefs to decide if a symbol
should be exported.

23 years ago* breakpoint.c (breakpoint_1): Restructure. Compute the
Andrew Cagney [Mon, 18 Jun 2001 18:48:06 +0000 (18:48 +0000)]
* breakpoint.c (breakpoint_1): Restructure.  Compute the
nr_printable_breakpoints.  Move the header output to before the
main print breakpoints loop.
(user_settable_breakpoint): New function.

23 years agoRecognize -i=mi0, -i=mi1 and -i=mi.
Andrew Cagney [Mon, 18 Jun 2001 17:57:43 +0000 (17:57 +0000)]
Recognize -i=mi0, -i=mi1 and -i=mi.

23 years ago * library/managedwin.itb (_create): When creating a
Keith Seitz [Mon, 18 Jun 2001 17:13:30 +0000 (17:13 +0000)]
* library/managedwin.itb (_create): When creating a
window over another, be sure to center on the window,
not the object.

23 years ago* gdbarch.sh: Generate an error when conflicting macro
Andrew Cagney [Mon, 18 Jun 2001 13:14:40 +0000 (13:14 +0000)]
* gdbarch.sh: Generate an error when conflicting macro
definitions.  Generate an error when both pure multi-arch and
"tm.h".
* gdbarch.h, gdbarch.c: Regenerate.
* defs.h (GDB_MULTI_ARCH_TM): Rewrite definition.

23 years agoClone the mi-*.exp tests into mi0-*.exp.
Andrew Cagney [Mon, 18 Jun 2001 12:55:07 +0000 (12:55 +0000)]
Clone the mi-*.exp tests into mi0-*.exp.

23 years ago*** empty log message ***
gdbadmin [Mon, 18 Jun 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-06-17 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 17 Jun 2001 18:40:29 +0000 (18:40 +0000)]
2001-06-17  H.J. Lu <hjl@gnu.org>

* Makefile.in (gas.tar.bz2): Pass TOOL=bfd PACKAGE=gas to make.
(gas+binutils.tar.bz2): Likewise.
(binutils.tar.bz2): Pass TOOL=bfd PACKAGE=binutils to make.

23 years agoSolaris native is only multi-arch partial.
Andrew Cagney [Sun, 17 Jun 2001 16:57:28 +0000 (16:57 +0000)]
Solaris native is only multi-arch partial.

23 years ago2001-06-17 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 17 Jun 2001 16:14:42 +0000 (16:14 +0000)]
2001-06-17  H.J. Lu  <hjl@gnu.org>

* elf32-mips.c (mips_elf_link_hash_entry): Add a new field,
readonly_reloc, to record if a relocation in the .rel.dyn
section is against a read-only section.
(mips_elf_link_hash_newfunc): Initialize the readonly_reloc
field to false.
(_bfd_mips_elf_check_relocs): Record if there is a relocation
in the .rel.dyn section against a read-only section by setting
DF_TEXTREL or readonly_reloc.
(_bfd_mips_elf_copy_indirect_symbol): Copy readonly_reloc if
it is true.
(_bfd_mips_elf_adjust_dynamic_symbol): Record DF_TEXTREL if
there is a relocation in the .rel.dyn section against a
read-only section.
(_bfd_mips_elf_size_dynamic_sections): Set DT_TEXTREL if
DF_TEXTREL is set.

23 years ago2001-06-17 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Sun, 17 Jun 2001 15:16:12 +0000 (15:16 +0000)]
2001-06-17  Fernando Nasser  <fnasser@redhat.com>

From 2001-06-15  Eirik Fuller  <eirik@hackrat.com>
* cli/cli-script.c (free_command_lines): Reset list pointer.

23 years ago * annotate.texi: Add @noindent where needed. From Dmitry
Eli Zaretskii [Sun, 17 Jun 2001 07:00:34 +0000 (07:00 +0000)]
* annotate.texi: Add @noindent where needed.  From Dmitry
Sivachenko <dima@Chg.RU>.
* gdb.texinfo: Indexing fix.  From Dmitry Sivachenko.

23 years ago*** empty log message ***
gdbadmin [Sun, 17 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* arch-utils.c (init_frame_pc_default): New function
Andrew Cagney [Sat, 16 Jun 2001 20:00:24 +0000 (20:00 +0000)]
* arch-utils.c (init_frame_pc_default): New function
* arch-utils.h (init_frame_pc_default): Declare.
* gdbarch.sh (INIT_FRAME_PC): Default to init_frame_pc_default and
not init_frame_pc_noop.
* gdbarch.h, gdbarch.c: Re-generate.
* blockframe.c (INIT_FRAME_PC): Delete macro definition.
* mips-tdep.c (mips_gdbarch_init): Set init_frame_pc to
init_frame_pc_noop.

23 years agoregenerate gdbarch.c.
Andrew Cagney [Sat, 16 Jun 2001 19:48:01 +0000 (19:48 +0000)]
regenerate gdbarch.c.

23 years agoFix typo.
Andrew Cagney [Sat, 16 Jun 2001 19:42:35 +0000 (19:42 +0000)]
Fix typo.

23 years ago* gdbmi.texinfo (GDB/MI Output Syntax): Add tuples and lists to
Andrew Cagney [Sat, 16 Jun 2001 18:57:56 +0000 (18:57 +0000)]
* gdbmi.texinfo (GDB/MI Output Syntax): Add tuples and lists to
syntax.
(GDB/MI Draft Changes to Output Syntax): Delete section.

23 years ago2001-06-15 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Sat, 16 Jun 2001 16:00:46 +0000 (16:00 +0000)]
2001-06-15  Aldy Hernandez  <aldyh@redhat.com>

* m10300-opc.c (mn10300_opcodes): Change opcode for AM33 subc.

23 years ago*** empty log message ***
gdbadmin [Sat, 16 Jun 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoMulti-arch CANNOT_FETCH_REGISTER() and CANNOT_STORE_REGISTER().
Andrew Cagney [Fri, 15 Jun 2001 23:50:46 +0000 (23:50 +0000)]
Multi-arch CANNOT_FETCH_REGISTER() and CANNOT_STORE_REGISTER().

23 years ago2001-06-15 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 15 Jun 2001 23:26:08 +0000 (23:26 +0000)]
2001-06-15  Elena Zannoni  <ezannoni@redhat.com>

       * configure.in: Add -fsigned-char to LOCAL_CFLAGS for Linux
       running on the IBM S/390.
       * configure: Ditto.

23 years agoMulti-arch INIT_FRAME_PC() and INIT_FRAME_PC_FIRST().
Andrew Cagney [Fri, 15 Jun 2001 23:10:55 +0000 (23:10 +0000)]
Multi-arch INIT_FRAME_PC() and INIT_FRAME_PC_FIRST().

23 years ago2001-06-15 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 15 Jun 2001 22:44:20 +0000 (22:44 +0000)]
2001-06-15  Michael Snyder  <msnyder@redhat.com>

* infrun.c (context_switch): New function.  Abstract the operation
of saving and restoring infrun's state when switching threads.
(handle_inferior_event): Normalize the handling of the 'thread hop'
event (when the wrong thread hits a thread-specific breakpoint,
and we need to solo-step that thread past the breakpoint).
Call keep_going, instead of target_resume.  Handle the subsequent
singlestep-trap as a normal event instead of just resuming.

23 years agomulti-arch ADDR_BITS_REMOVE.
Andrew Cagney [Fri, 15 Jun 2001 22:10:21 +0000 (22:10 +0000)]
multi-arch ADDR_BITS_REMOVE.

23 years ago * dwarf2.h: Partial merge with gcc version.
Per Bothner [Fri, 15 Jun 2001 19:53:18 +0000 (19:53 +0000)]
* dwarf2.h:  Partial merge with gcc version.
(enum dwarf_descrim_list):  Fix typo -> dwarf_discrim_list.
(DW_LANG_Java):  Use value from dwarf 2.1 draft (also used in gcc).

23 years agoRecognise the s390 host and target.
Andrew Cagney [Fri, 15 Jun 2001 19:23:45 +0000 (19:23 +0000)]
Recognise the s390 host and target.