Andrew Cagney [Sat, 7 Jul 2001 17:19:50 +0000 (17:19 +0000)]
* symtab.c (main_name): New function.
(set_main_name): New function.
* symtab.h: Declare.
* TODO: Update
From 2000-03-05 Anthony Green <green@redhat.com>:
* dbxread.c (process_one_symbol): Handle the N_MAIN stab by
setting main_name.
* blockframe.c (inside_main_func): Use main_name instead of
"main".
* symtab.c (find_main_psymtab): Ditto.
* source.c (select_source_symtab): Ditto.
* nlmread.c (nlm_symfile_read): Ditto.
* rs6000-tdep.c (skip_prologue): Ditto.
Andrew Cagney [Sat, 7 Jul 2001 16:20:57 +0000 (16:20 +0000)]
* gdbint.texinfo (User Interface): Update ui-out documentation to
refelect recent UI/MI updates.
Andrew Cagney [Sat, 7 Jul 2001 16:12:19 +0000 (16:12 +0000)]
TODO: Convert most items into PRs.
Nick Clifton [Sat, 7 Jul 2001 15:43:04 +0000 (15:43 +0000)]
Only set debug_type to DEBUG_NONE if it is DEBUG_UNSPECIFIED.
Mark Kettenis [Sat, 7 Jul 2001 10:58:37 +0000 (10:58 +0000)]
* lin-lwp.c (status_to_str): New function.
(lin_lwp_wait): Use it to print debug messages where appropriate.
Michael Chastain [Sat, 7 Jul 2001 00:14:06 +0000 (00:14 +0000)]
I'm using the obvious fix rule to commit this.
Testing: I tested on native Red Hat Linux 7 using gcc 3.0.
The "info float" command exercises print_i387_value.
2001-07-06 Michael Chastain <chastain@redhat.com>
* i387-tdep.c (print_i387_value): Fix pointer glitch.
===
Index: i387-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i387-tdep.c,v
retrieving revision 1.11
diff -c -1 -0 -p -r1.11 i387-tdep.c
*** gdb/i387-tdep.c 2001/07/04 21:14:05 1.11
--- gdb/i387-tdep.c 2001/07/06 12:47:00
*************** print_i387_value (char *raw)
*** 163,184 ****
DOUBLEST value;
int len = TARGET_LONG_DOUBLE_BIT / TARGET_CHAR_BIT;
char *tmp = alloca (len);
/* This code only works on targets where ... */
gdb_assert (TARGET_LONG_DOUBLE_FORMAT == &floatformat_i387_ext);
/* Take care of the padding. FP reg is 80 bits. The same value in
memory is 96 bits. */
gdb_assert (FPU_REG_RAW_SIZE < len);
! memcpy (&tmp, raw, FPU_REG_RAW_SIZE);
! memset (&tmp + FPU_REG_RAW_SIZE, 0, len - FPU_REG_RAW_SIZE);
/* Extract the value as a DOUBLEST. */
/* Use extract_floating() rather than floatformat_to_doublest().
The latter is lossy in nature. Once GDB gets a host/target
independent and non-lossy FP it will become possible to bypass
extract_floating() and call floatformat*() directly. Note also
the assumptions about TARGET_LONG_DOUBLE above. */
value = extract_floating (tmp, len);
/* We try to print 19 digits. The last digit may or may not contain
--- 163,184 ----
DOUBLEST value;
int len = TARGET_LONG_DOUBLE_BIT / TARGET_CHAR_BIT;
char *tmp = alloca (len);
/* This code only works on targets where ... */
gdb_assert (TARGET_LONG_DOUBLE_FORMAT == &floatformat_i387_ext);
/* Take care of the padding. FP reg is 80 bits. The same value in
memory is 96 bits. */
gdb_assert (FPU_REG_RAW_SIZE < len);
! memcpy (tmp, raw, FPU_REG_RAW_SIZE);
! memset (tmp + FPU_REG_RAW_SIZE, 0, len - FPU_REG_RAW_SIZE);
/* Extract the value as a DOUBLEST. */
/* Use extract_floating() rather than floatformat_to_doublest().
The latter is lossy in nature. Once GDB gets a host/target
independent and non-lossy FP it will become possible to bypass
extract_floating() and call floatformat*() directly. Note also
the assumptions about TARGET_LONG_DOUBLE above. */
value = extract_floating (tmp, len);
/* We try to print 19 digits. The last digit may or may not contain
gdbadmin [Sat, 7 Jul 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Michael Snyder [Fri, 6 Jul 2001 22:51:21 +0000 (22:51 +0000)]
2001-07-02 Michael Snyder <msnyder@redhat.com>
* gdb.base/completion.exp: Don't assume that break.c is the only
source file that may contain functions named "marker".
Mark Kettenis [Fri, 6 Jul 2001 22:31:47 +0000 (22:31 +0000)]
* lin-lwp.c (count_events_callback): Fix formatting. Turn check
commented with "paranoia" into gdb_assert.
(select_event_lwp_callback): Likewise.
(cancel_breakpoints_callback): Bail out early if LP is the event
LWP. Add comment about backup up breakpoints. Fix formatting and
debug message.
(select_event_lwp): Make solely repsonsible for switching event
LWP. Fix formatting and remove bogus "ERROR" debug message.
Don't backup breakpoints from here.
(lin_lwp_wait): Don't touch LP->status, let select_event_lwp
handle that. Only call select_event_lwp if we're not waiting for
a specific LWP, i.e. when PID == -1. Backup breakpoints from here.
Ben Elliston [Fri, 6 Jul 2001 22:14:07 +0000 (22:14 +0000)]
2001-07-07 Ben Elliston <bje@redhat.com>
* m88k.h: Clean up and reformat. Remove unused code.
Michael Snyder [Fri, 6 Jul 2001 21:31:04 +0000 (21:31 +0000)]
2001-07-06 Michael Snyder <msnyder@redhat.com>
* procfs.c (procfs_resume): Silence noisy warning.
John Healy [Fri, 6 Jul 2001 19:09:23 +0000 (19:09 +0000)]
2001-07-06 John Healy <jhealy@redhat.com>
* cgen.c (gas_cgen_save_fixups): Modified to allow more than one
set of fixups to be stored.
(gas_cgen_restore_fixups): Modified to allow the fixup chain to be
restored to be chosen from any that are saved.
(gas_cgen_swap_fixups): Modified to allow the current set of
fixups to be swapped with any other set that has been saved.
(gas_cgen_initialize_saved_fixups_array): New routine.
* cgen.h: Modifed prototypes for gas_cgen_save_fixups,
gas_cgen_restore_fixups, and gas_cgen_swap_fixups. Added definitions
or MAX_SAVED_FIXUP_CHAINS.
* config/tc-m32r.c (assemble_two_insns): Changed calls to fixup
store, swap and restore fuctions to reflect the new interface.
Michael Snyder [Fri, 6 Jul 2001 19:06:24 +0000 (19:06 +0000)]
2001-06-12 Michael Snyder <msnyder@redhat.com>
* lin-lwp.c: Prevent thread starvation by using a monte carlo
method to choose which of several event threads to handle next.
(stop_wait_callback): Defer pushback of breakpoint events until
later; add SIGTRAP events to the queue of unhandled events.
Keep calling waitpid until SIGSTOP retrieved. If more than one
non-SIGSTOP event is retrieved, push them back onto the process
queue using kill.
(count_events_callback, select_singlestep_lwp_callback,
select_event_lwp_callback, cancel_breakpoints_callback,
select_event_lwp): New functions. Implement monte carlo method
for selecting which of several SIGTRAP threads to handle next.
Push back the breakpoint event for all threads other than the
selected one.
(lin_lwp_wait): Call select_event_lwp to decide which of several
sigtrapped lwps to handle next.
(resume_callback): Disable code that attempts to handle
step_resume breakpoints. Let core gdb handle this.
Jim Blandy [Fri, 6 Jul 2001 14:44:19 +0000 (14:44 +0000)]
* gdbtypes.h (builtin_type_void_func_ptr): New builtin type.
* gdbtypes.c (builtin_type_void_func_ptr): Define the variable.
(build_gdbtypes): Initialize it.
(_initialize_gdbtypes): Swap it.
Nick Clifton [Fri, 6 Jul 2001 08:21:35 +0000 (08:21 +0000)]
Catch and ignore empty, ineffectual alignment frags when deciding if a
branch can be short.
Nick Clifton [Fri, 6 Jul 2001 08:05:27 +0000 (08:05 +0000)]
And remove the seconf accidental patch commission.
Nick Clifton [Fri, 6 Jul 2001 08:01:17 +0000 (08:01 +0000)]
Remove patch accidentally checked in with readelf.c patch
Jim Wilson [Fri, 6 Jul 2001 07:32:42 +0000 (07:32 +0000)]
32-bit unwind data for ia64-hpux, from Steve Ellcey
* config/tc-ia64.c (special_section): Add SPECIAL_SECTION_INIT_ARRAY
and SPECIAL_SECTION_FINI_ARRAY.
(special_section_name): Add .init_array and .fini_array.
(md_pseudo_table): Add init_array and fini_array.
(md): Add pointer_size and pointer_size_shift fields.
(setup_unwind_header): New static function.
(output_unw_records): Modify to use setup_unwind_header.
(generate_unwind_image, dot_endp): Modify to use md.pointer_size and
md.pointer_size_shift.
(md_begin): Initialize md.pointer_size and md.pointer_size_shift.
Daniel Jacobowitz [Fri, 6 Jul 2001 05:35:17 +0000 (05:35 +0000)]
Branch prediction code cleanup
Andrew Cagney [Fri, 6 Jul 2001 04:07:29 +0000 (04:07 +0000)]
Mention mi0 and mi1 as --interpreter options.
Andrew Cagney [Fri, 6 Jul 2001 03:53:11 +0000 (03:53 +0000)]
Replace:
if (interpreter_p && strncmp (interpreter_p, "mi", 2) == 0)
with:
if (ui_out_is_mi_like_p (uiout))
Alan Modra [Fri, 6 Jul 2001 02:02:42 +0000 (02:02 +0000)]
Oops, missed committing entry for 2001-07-05 change.
gdbadmin [Fri, 6 Jul 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Thu, 5 Jul 2001 23:30:43 +0000 (23:30 +0000)]
* mips-tdep.c (mips_software_single_step): New function.
* config/mips/tm-mips.h: Add prototype for
mips_software_single_step.
Daniel Jacobowitz [Thu, 5 Jul 2001 23:22:04 +0000 (23:22 +0000)]
* ppc-linux-nat.c (supply_gregset): Use elf_greg_t instead
of greg_t.
(fill_gregset): Likewise.
Jim Wilson [Thu, 5 Jul 2001 22:40:16 +0000 (22:40 +0000)]
Fix ia64-linux fortran common linking problem.
* linker.c (_bfd_generic_link_add_one_symbol, case BIG): Use
the section of the bigger symbol.
Andrew Cagney [Thu, 5 Jul 2001 21:32:39 +0000 (21:32 +0000)]
s/basename/lbasename/
Jim Blandy [Thu, 5 Jul 2001 21:27:08 +0000 (21:27 +0000)]
* d10v-tdep.c (d10v_frame_chain, d10v_frame_init_saved_regs,
show_regs, d10v_read_pc, d10v_write_pc, d10v_read_sp,
d10v_write_sp, d10v_write_fp, d10v_read_fp,
d10v_push_return_address): Call the functions d10v_make_daddr,
d10v_make_iaddr, d10v_convert_iaddr_to_raw, and
d10v_convert_daddr_to_raw, not the global macros D10V_MAKE_DADDR,
D10V_MAKE_IADDR, D10V_CONVERT_IADDR_TO_RAW, and
D10V_CONVERT_DADDR_TO_RAW.
Jim Wilson [Thu, 5 Jul 2001 18:27:55 +0000 (18:27 +0000)]
Fix ia64-linux binutils readelf -s testsuite failure.
* syms.c (bfd_is_local_label): Return false if BSF_SECTION_SYM.
DJ Delorie [Thu, 5 Jul 2001 17:29:17 +0000 (17:29 +0000)]
merge from gcc
Jim Blandy [Thu, 5 Jul 2001 16:45:48 +0000 (16:45 +0000)]
* dwarf2read (dwarf2_build_psymtabs_hard): Doc fix.
Mark Kettenis [Thu, 5 Jul 2001 14:40:51 +0000 (14:40 +0000)]
* config/i386/xm-go32.h (HOST_I386): Removed.
* config/i386/xm-linux.h (HOST_I386): Removed.
Ben Elliston [Thu, 5 Jul 2001 13:51:26 +0000 (13:51 +0000)]
2001-07-05 Ben Elliston <bje@redhat.com>
* Make-common.in (srccgen): Remove.
(CGEN_CPU_DIR): Define.
(CGEN_READ_SCM): Redefine without $(srccgen).
(CGEN_ARCH_SCM): Ditto.
(CGEN_CPU_SCM): Ditto.
(CGEN_DECODE_SCM): Ditto.
(CGEN_DESC_SCM): Ditto.
* $arch/Makefile.in: Use $(CGEN_CPU_DIR) where applicable.
Ben Elliston [Thu, 5 Jul 2001 13:12:23 +0000 (13:12 +0000)]
2001-07-05 Ben Elliston <bje@redhat.com>
* Makefile.am (CPUDIR): Define.
(stamp-m32r): Update dependencies.
(stamp-fr30): Ditto.
(stamp-openrisc): Ditto.
* Makefile.in: Regenerate.
Ben Elliston [Thu, 5 Jul 2001 11:28:57 +0000 (11:28 +0000)]
2001-07-05 Ben Elliston <bje@redhat.com>
* README (Supported platforms): m88k no longer suffers bitrot.
Ben Elliston [Thu, 5 Jul 2001 11:00:28 +0000 (11:00 +0000)]
2001-07-05 Ben Elliston <bje@redhat.com>
* lib/utils-lib.exp (target_assemble): Remove duplicate copy.
(default_target_assemble): Likewise.
Nick Clifton [Thu, 5 Jul 2001 10:52:25 +0000 (10:52 +0000)]
For sections containing uninitialised data, only set their size to s_paddr
if this does not reset their size to zero. MS's latest compilers will set
s_paddr to zero.
Nick Clifton [Thu, 5 Jul 2001 07:49:05 +0000 (07:49 +0000)]
Display the contents of a .debug.macinfo section
Ben Elliston [Thu, 5 Jul 2001 07:28:06 +0000 (07:28 +0000)]
2001-07-05 Ben Elliston <bje@redhat.com>
* config/tc-m88k.c (md_pseudo_table): Remove redundant "global".
H.J. Lu [Thu, 5 Jul 2001 07:27:16 +0000 (07:27 +0000)]
2001-07-05 H.J. Lu <hjl@gnu.org>
* objcopy.c (filter_symbols): Don't turn undefined symbols
into local.
Alan Modra [Thu, 5 Jul 2001 05:49:13 +0000 (05:49 +0000)]
* struc-symbol.h (struct local_symbol): Rename lsy_offset to
lsy_value. Correct typos in comments.
* symbols.c (local_symbol_make): Update for name change.
(local_symbol_convert): Likewise.
(colon): Likewise.
(S_GET_VALUE): Likewise.
(S_SET_VALUE): Likewise.
(print_symbol_value_1): Likewise.
(resolve_symbol_value): Likewise. Don't divide local sym values
by OCTETS_PER_BYTE twice.
Jim Wilson [Thu, 5 Jul 2001 03:34:42 +0000 (03:34 +0000)]
Fix ia64-linux gas ehopt testsuite failure.
* config/tc-ia64.c (md_pseudo_table): Add 2byte, 4byte, and 8byte.
Jim Wilson [Thu, 5 Jul 2001 02:30:21 +0000 (02:30 +0000)]
Fix 2 ia64-linux gas testsuite failures.
* config/tc-ia64.c (is_conditional_branch): Rewrite to exclude mod
sched branches.
Ben Elliston [Thu, 5 Jul 2001 00:36:50 +0000 (00:36 +0000)]
2001-07-05 Ben Elliston <bje@redhat.com>
* read.c (s_fill): Correct spelling error in comments.
Ben Elliston [Thu, 5 Jul 2001 00:25:28 +0000 (00:25 +0000)]
2001-07-05 Ben Elliston <bje@redhat.com>
* doc/c-m88k.texi: New file.
* doc/Makefile.am (CPU_DOCS): Add c-m88k.texi.
* doc/Makefile.in: Regenerate.
* doc/all.texi: Set M880X0.
* doc/as.texinfo: Hook in m88k-dependent documentation.
gdbadmin [Thu, 5 Jul 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Wed, 4 Jul 2001 21:14:05 +0000 (21:14 +0000)]
* i387-tdep.c (print_i387_value): Add extra space after final full
stop in comment.
Andrew Cagney [Wed, 4 Jul 2001 20:52:14 +0000 (20:52 +0000)]
* gdbint.texinfo (Target Architecture Definition): GDBARCH is a C
structure and not macros.
(Host Definition): Document that much of this chapter is obsolete.
(Target Architecture Definition): Update list of files that make
up a target architecture.
(Coding): Update.
Andrew Cagney [Wed, 4 Jul 2001 19:57:53 +0000 (19:57 +0000)]
* config/arm/tm-arm.h: Include "floatformat.h".
Andrew Cagney [Wed, 4 Jul 2001 19:19:58 +0000 (19:19 +0000)]
* i387-tdep.c: Include "gdb_assert.h".
(print_i387_value): Use extract_floating to extract the FP value
from a zero padded local buffer.
Andrew Cagney [Wed, 4 Jul 2001 18:51:51 +0000 (18:51 +0000)]
* TODO: Delete all thread items. The thread code was overhauled.
Elena Zannoni [Wed, 4 Jul 2001 18:06:02 +0000 (18:06 +0000)]
2001-07-04 Elena Zannoni <ezannoni@redhat.com>
* memattr.c (create_mem_region): Move n to next memory region,
to avoid infinite loop.
Elena Zannoni [Wed, 4 Jul 2001 17:59:02 +0000 (17:59 +0000)]
2001-07-04 Elena Zannoni <ezannoni@redhat.com>
* memattr.h: Add copyright statement.
* memattr.c: Ditto.
Jim Blandy [Wed, 4 Jul 2001 16:08:20 +0000 (16:08 +0000)]
* dwarf2read.c (struct partial_die_info): New member: has_pc_info.
(read_partial_die): Delete fourth argument; we return this info in
the struct partial_die_info object itself now.
(dwarf2_build_psymtabs_hard, scan_partial_symbols): Use the
has_pc_info field of the partial die struct, rather than passing a
variable by reference to read_partial_die.
Jim Blandy [Wed, 4 Jul 2001 16:00:35 +0000 (16:00 +0000)]
Doc fix.
Jim Blandy [Wed, 4 Jul 2001 16:00:08 +0000 (16:00 +0000)]
* dwarf2read.c (dwarf2_build_psymtabs_hard): Remove extraneous
code in loop condition. This seemed to be trying to round
info_ptr up to the next four-byte boundary, but that's not what it
actually did. If we discover the problem the old code was really
trying to address, we can fix it properly.
Eric Christopher [Wed, 4 Jul 2001 12:32:07 +0000 (12:32 +0000)]
2001-07-04 Eric Christopher <echristo@redhat.com>
* doc/c-mips.texi (MIPS Opts): Document 12000 as valid cpu.
* config/tc-mips.c (mips_cpu_info_table): Add rm5200, rm5231, rm5261,
and rm5721 as valid cpu strings.
(md_show_usage): Add rm5200, rm5231, rm5261, rm5721.
Richard Sandiford [Wed, 4 Jul 2001 09:49:29 +0000 (09:49 +0000)]
[gas]
* config/tc-mips.c (md_apply_fix): Prevent addend from becoming zero
if it's expected to be non-zero.
[gas/testsuite]
* gas/mips/elf-rel3.s: Add zero word to end of file.
H.J. Lu [Wed, 4 Jul 2001 07:15:20 +0000 (07:15 +0000)]
2001-07-04 H.J. Lu <hjl@gnu.org>
* bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing):
Handle bfd_mach_mips4400, bfd_mach_mips4600 and
bfd_mach_mips5000.
gdbadmin [Wed, 4 Jul 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
H.J. Lu [Tue, 3 Jul 2001 23:22:20 +0000 (23:22 +0000)]
2001-07-03 H.J. Lu <hjl@gnu.org>
* scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
2001-07-03. It creates dynamic entries even for static binaries.
Michael Snyder [Tue, 3 Jul 2001 21:04:49 +0000 (21:04 +0000)]
2001-07-03 Michael Snyder <msnyder@redhat.com>
* thread_db (find_new_threads_callback, thread_db_thread_alive,
attach_thread): Update comments.
Michael Snyder [Tue, 3 Jul 2001 21:01:59 +0000 (21:01 +0000)]
2001-06-29 Ken Whaley <ken@believe.com>
* thread-db.c (attach_thread): Check for TD_THR_ZOMBIE in addition
to TD_THR_UNKNOWN when looking for defunct zombie threads.
(thread_db_thread_alive): Ditto.
(find_new_threads_callback): Ditto.
Michael Snyder [Tue, 3 Jul 2001 19:52:46 +0000 (19:52 +0000)]
2001-07-03 Michael Snyder <msnyder@redhat.com>
* gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
the output of the ptype command.
H.J. Lu [Tue, 3 Jul 2001 18:49:04 +0000 (18:49 +0000)]
2001-07-03 H.J. Lu <hjl@gnu.org>
* gas/mips/lb-xgot-ilocks.d: Add -march=r3900.
Nick Clifton [Tue, 3 Jul 2001 18:37:39 +0000 (18:37 +0000)]
Fix encoding of clf instruction
H.J. Lu [Tue, 3 Jul 2001 17:40:14 +0000 (17:40 +0000)]
2001-07-03 Jakub Jelinek <jakub@redhat.com>
* scripttempl/elf.sc (DYNAMIC_PAD): New variable.
(DYNAMIC): Use it to reserve few dynamic entries for
post-linking tools.
H.J. Lu [Tue, 3 Jul 2001 16:35:34 +0000 (16:35 +0000)]
2001-07-03 H.J. Lu <hjl@gnu.org>
* doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
$@.pod.
(ar.1): Likewise.
(dlltool.1): Likewise.
(nlmconv.1): Likewise.
(nm.1): Likewise.
(objcopy.1): Likewise.
(objdump.1): Likewise.
(ranlib.1): Likewise.
(readelf.1): Likewise.
(size.1): Likewise.
(strings.1): Likewise.
(strip.1): Likewise.
(windres.1): Likewise.
(cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
($(DEMANGLER_NAME).1): Also substitute cxxfilt with
$(DEMANGLER_NAME).
(as.1): Removed.
* doc/Makefile.in: Regenerated.
Nick Clifton [Tue, 3 Jul 2001 16:27:45 +0000 (16:27 +0000)]
Support DJGPP COFF targets in bfd_get_sign_extend_vma()
Nick Clifton [Tue, 3 Jul 2001 15:49:46 +0000 (15:49 +0000)]
Skip section symbols from sections being discarded
Nick Clifton [Tue, 3 Jul 2001 15:22:19 +0000 (15:22 +0000)]
Fix seg fault by replacing symbol_get_frag() with fscan->fx_frag.
Nick Clifton [Tue, 3 Jul 2001 15:08:42 +0000 (15:08 +0000)]
Change MIPS maintainer to Erci Christopher
Nick Clifton [Tue, 3 Jul 2001 15:04:19 +0000 (15:04 +0000)]
Fix mips16 testsuite failure by allowing finalize_syms to be set before
size_segs is called.
gdbadmin [Tue, 3 Jul 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Michael Snyder [Mon, 2 Jul 2001 21:54:14 +0000 (21:54 +0000)]
2001-07-02 Michael Snyder <msnyder@redhat.com>
* gdb.base/corefile.exp: Quote the curly braces in regexp.
Daniel Jacobowitz [Mon, 2 Jul 2001 19:40:47 +0000 (19:40 +0000)]
MAINTAINERS: Add myself to the write-after-approval list
Daniel Jacobowitz [Mon, 2 Jul 2001 19:37:59 +0000 (19:37 +0000)]
2001-07-02 Daniel Jacobowitz <drow@mvista.com>
* solib-svr4.c: Include "elf/mips.h".
(elf_locate_base): Make DT_MIPS_RLD_MAP block unconditional.
Jim Blandy [Mon, 2 Jul 2001 17:43:07 +0000 (17:43 +0000)]
* dwarf2read.c (read_comp_unit, sibling_die, dump_die,
dump_die_list, store_in_ref_table, follow_die_ref): Make these
static; they're private functions.
Alan Modra [Mon, 2 Jul 2001 10:54:49 +0000 (10:54 +0000)]
* config/tc-ppc.c: Formatting fixes.
gdbadmin [Mon, 2 Jul 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Eli Zaretskii [Sun, 1 Jul 2001 10:04:58 +0000 (10:04 +0000)]
* coffread.c (coff_symfile_read): Parse DWARF2 info if present.
Nick Clifton [Sun, 1 Jul 2001 08:53:15 +0000 (08:53 +0000)]
Support DWARF 2.1 tags, encodings, languages.
Ben Elliston [Sun, 1 Jul 2001 06:36:43 +0000 (06:36 +0000)]
2001-07-01 Ben Elliston <bje@redhat.com>
* config/tc-m88k.c: Back out warning fixes from 2001-06-24, as
they cause some subtle breakage. Will fix them again later.
Ben Elliston [Sun, 1 Jul 2001 06:32:07 +0000 (06:32 +0000)]
* fix tabs in this change:
2001-06-28 Eric Christopher <echristo@redhat.com>
H.J. Lu <hjl@gnu.org>
Ben Elliston [Sun, 1 Jul 2001 06:16:55 +0000 (06:16 +0000)]
2001-07-01 Ben Elliston <bje@redhat.com>
* gas/m88k/allinsn.s: New file.
* gas/m88k/allinsn.d: Likewise.
* gas/m88k/m88k.exp: Test with allinsn.s also.
Geoffrey Keating [Sun, 1 Jul 2001 02:48:46 +0000 (02:48 +0000)]
* cgen-ibld.in (insert_normal): Support CGEN_IFLD_SIGN_OPT.
gdbadmin [Sun, 1 Jul 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Nick Clifton [Sat, 30 Jun 2001 10:09:40 +0000 (10:09 +0000)]
Treat a .ln directive outside of a function as a .appline directive.
Nick Clifton [Sat, 30 Jun 2001 08:58:10 +0000 (08:58 +0000)]
Remerge with gcc
Alan Modra [Sat, 30 Jun 2001 04:05:13 +0000 (04:05 +0000)]
* elfcore.h (elf_core_file_p): Call bfd_section_from_phdr directly
instead of _bfd_elfcore_section_from_phdr.
* elf-bfd.h (_bfd_elfcore_section_from_phdr): Remove.
* elf.c (_bfd_elfcore_section_from_phdr): Remove.
(_bfd_elfcore_make_pseudosection): Expedite tail-call.
(elfcore_grok_prstatus): Likewise.
(elfcore_grok_lwpstatus): Likewise.
(bfd_get_elf_phdr_upper_bound): Likewise.
(elfcore_make_note_pseudosection): Formatting.
(_bfd_elfcore_strndup): Formatting.
* elf32-mips.c (mips_elf_sym_is_global): Formatting.
(_bfd_elf32_mips_grok_prstatus): Expedite tail-call.
Alan Modra [Sat, 30 Jun 2001 03:15:46 +0000 (03:15 +0000)]
* elf-bfd.h: Add prototypes for _bfd_elfcore_make_pseudosection
and _bfd_elfcore_strndup.
(struct elf_backend_data): Add elf_backend_grok_prstatus
and elf_backend_grok_psinfo.
* elf.c (_bfd_elfcore_make_pseudosection): New function.
(elfcore_grok_prstatus): Use it.
(elfcore_make_note_pseudosection): Likewise.
(elfcore_strndup): Rename to...
(_bfd_elfcore_strndup): Here, and make global.
(elfcore_grok_psinfo): Use _bfd_elfcore_strndup.
(elfcore_grok_note): Call elf_backend_grok_prstatus
and elf_backend_grok_psinfo if available.
* elf32-mips.c (_bfd_elf32_mips_grok_prstatus): New function.
(_bfd_elf32_mips_grok_psinfo): New function.
(elf_backend_grok_prstatus): Define.
(elf_backend_grok_psinfo): Define.
* elfxx-target.h (elf_backend_grok_prstatus): Default to NULL.
(elf_backend_grok_psinfo): Likewise.
(elfNN_bed): Include elf_backend_grok_prstatus and
elf_backend_grok_psinfo.
H.J. Lu [Sat, 30 Jun 2001 00:34:10 +0000 (00:34 +0000)]
2001-06-29 H.J. Lu <hjl@gnu.org>
* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Check if
hplink->sgot is NULL before filling GOT. Checck if hplink->splt
is NULL before filling PLT.
gdbadmin [Sat, 30 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Eric Christopher [Fri, 29 Jun 2001 21:27:43 +0000 (21:27 +0000)]
2001-06-28 Eric Christopher <echristo@redhat.com>
H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (mips_arch): New. Use mips_arch instead
of mips_cpu for the ISA selection.
(md_longopts): Add OPTION_MARCH and OPTION_MTUNE.
(md_parse_option): Handle OPTION_MARCH and OPTION_MTUNE.
(mips_tune): New. Use mips_tune for scheduling and optimization
issues.
(append_insn): Use mips_tune and mips_arch.
(macro_build): Ditto.
(mips_ip): Ditto.
(md_begin): Handle mips_arch, mips_tune and mips_cpu. For
backwards compatability mips_cpu generates arch and tune.
(md_show_usage): Document new behavior.
* doc/c-mips.texi (MIPS Opts): Document -march and -mtune.
Deprecate -mcpu.
* NEWS: Update.
2001-06-28 Eric Christopher <echristo@redhat.com>
* gas/mips/usd.d: Change for march/mtune.
* gas/mips/ulh-xgot.d: Ditto.
* gas/mips/uld.d: Ditto.
* gas/mips/trunc.d: Ditto.
* gas/mips/rol.d: Ditto.
* gas/mips/nodelay.d: Ditto.
* gas/mips/mul.d: Ditto.
* gas/mips/mul-ilocks.d: Ditto.
* gas/mips/trap20.d: Ditto.
* gas/mips/mips4.d: Ditto.
* gas/mips/mips16.d: Ditto.
* gas/mips/lif-xgot.d: Ditto.
* gas/mips/lif-svr4pic.d: Ditto.
* gas/mips/ld-xgot.d: Ditto.
* gas/mips/ld-svr4pic.d: Ditto.
* gas/mips/ld-ilocks-addr32.d: Ditto.
* gas/mips/lb-xgot.d: Ditto.
* gas/mips/jal-xgot.d: Ditto.
* gas/mips/jal-svr4pic.d: Ditto.
* gas/mips/delay.d: Ditto.
* gas/mips/lb-xgot-ilocks.d: Ditto.
* gas/mips/div.d: Ditto.
* gas/mips/break20.d: Ditto.
* gas/mips/delay.d: Ditto.
* gas/mips/elf_e_flags3.d: Ditto.
* gas/mips/elf_e_flags4.d: Ditto.
* gas/mips/lineno.d: Ditto.
* gas/mips/mips16.d: Ditto.
* gas/mips/mips4.d: Ditto.
* gas/mips/mips4010.d: Ditto.
* gas/mips/mips4650.d: Ditto.
Elena Zannoni [Fri, 29 Jun 2001 20:32:48 +0000 (20:32 +0000)]
2001-06-28 Elena Zannoni <ezannoni@redhat.com>
* TODO: Add import of readline 4.2 as a gdb 5.2 task.
Andrew Cagney [Fri, 29 Jun 2001 16:21:45 +0000 (16:21 +0000)]
* gdbint.texinfo (Target Architecture Definition): Update
EXTRACT_STRUCT_VALUE_ADDRESS and EXTRACT_STRUCT_VALUE_ADDRESS_P.
The latter has been changed to a true predicate.
Andrew Cagney [Fri, 29 Jun 2001 16:17:34 +0000 (16:17 +0000)]
Sort file.
Andrew Cagney [Fri, 29 Jun 2001 15:53:36 +0000 (15:53 +0000)]
* config/djgpp/fnchange.lst: Rename mi0-var-block.exp,
mi0-var-cmd.exp, mi0-var-child.exp and mi0-var-display.exp.
Andreas Jaeger [Fri, 29 Jun 2001 15:13:03 +0000 (15:13 +0000)]
2001-06-29 Andreas Jaeger <aj@suse.de>
* MAINTAINERS: Add myself to the write-after-approval list.
Nick Clifton [Fri, 29 Jun 2001 14:17:31 +0000 (14:17 +0000)]
Add DWARF 2.1 attributes