Eli Zaretskii
598ca718d0
* gdb.texinfo: Proofreading changes from Brian Youmans.
2000-05-09 08:24:34 +00:00
Jim Wilson
e4c58b2551
Unwind info bug fixes from David Mosberger.
...
* config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed
frame size in units of 16 bytes, as required per SW Conventions manual.
(output_unw_records): Output info-block header as a dword to get
byte-order right.
2000-05-09 01:54:37 +00:00
Alan Modra
72730e0ced
Fix some nits shown up by objcopy.
2000-05-09 00:43:44 +00:00
Frank Ch. Eigler
b9791fcdd6
* merge from internal tree
...
2000-04-14 Gary Thomas <gthomas@redhat.com>
* v850.igen: Define 'br *' as illegal since this is the only
way to provide a breakpoint on some v850 family processors.
2000-05-08 23:07:39 +00:00
Michael Snyder
e245aa6b05
2000-05-08 Michael Snyder <msnyder@seadog.cygnus.com>
...
* sol-thread.c (sol_thread_create_inferior): only add the thread
to the thread list if it is not already in there.
(prototypes for thread_db func ptrs): pretty up formatting.
2000-05-08 22:34:38 +00:00
Michael Snyder
89cb06a200
2000-05-08 Michael Snyder <msnyder@seadog.cygnus.com>
...
* gdb.base/interrupt.exp: Make "pass" message say "send"
rather than "send_gdb" (for consistancy).
2000-05-08 22:18:05 +00:00
Eli Zaretskii
430066a89b
* djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst
...
with the version name.
2000-05-08 15:13:30 +00:00
Eli Zaretskii
ed0a91a5fa
* djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst
...
with the version name.
* config/djgpp/djconfig.sh: Use more warning switches.
* config/djgpp/fnchange.lst: Replace the leading gdb-0222 with the
@V@ placebo.
2000-05-08 15:06:27 +00:00
Alan Modra
b019c3c09f
(print_insn_tic54x): Declare.
2000-05-08 11:01:40 +00:00
Alan Modra
8fce3f5ef7
Michael Sokolov's 68000 patches + assorted compiler warning fixes.
2000-05-08 10:24:06 +00:00
Alan Modra
575bc3d64a
Fix breakage from 2000-03-31 bfd/srec.c change.
2000-05-08 10:11:19 +00:00
Alan Modra
bfde9f995a
Fix coredump discovered running m68k testsuite.
2000-05-08 10:00:27 +00:00
Alan Modra
821011cc5b
Kill compiler warnings with ATTRIBUTE_UNUSED.
2000-05-08 07:22:54 +00:00
Alan Modra
b35efbcd1b
* trad-core.c (trad_unix_core_file_p): Return
...
bfd_error_wrong_format rather than bfd_error_file_truncated.
2000-05-08 06:57:39 +00:00
Alan Modra
8181c4030f
DataDirectory virtual address is relative. Fix to suit.
2000-05-08 05:52:58 +00:00
Alan Modra
1a89cc7d7e
(setup_section): Add const and gettext calls for err.
2000-05-08 04:28:06 +00:00
Andrew Cagney
d929b26ff1
Move some of the MIPS n32 ABI configuration options into the mips
...
multi-arch vector.
2000-05-08 02:53:04 +00:00
Andrew Cagney
327fce13c5
* procfs.c (PROCFS_TRACE): Delete definition.
...
* proc-utils.h (PROCFS_NOTE, PROC_PRETTYFPRINT_STATUS): Always define.
2000-05-07 23:09:45 +00:00
Eli Zaretskii
502d24d454
Typo correction, again from Brian Youmans.
2000-05-07 10:57:54 +00:00
Eli Zaretskii
d68fc55938
* gdbmi.texinfo: Lots of typos and grammar fixes from Brian
...
Youmans <3diff@flib.gnu.ai.mit.edu>.
2000-05-07 10:55:24 +00:00
Timothy Wall
5c84d377b6
Support for tic54x target.
2000-05-06 17:14:34 +00:00
Clinton Popetz
2c38bc20f9
* xcoff.h: Rename to xcoff-target.h
...
* Makefile.am: Change all instances of xcoff.h to xcoff-target.h
* coff-rs6000.c: Ditto.
* coff64-rs6000.c: Ditto.
* coff-pmac.c: Ditto.
* Makefile.in: Regenerate.
2000-05-06 01:47:18 +00:00
Clinton Popetz
c6664dfb26
bfd:
...
* coffcode.h (coff_set_arch_mach_hook, coff_set_flags):
Change U802TOC64MAGIC to U803XTOCMAGIC.
include:
* coff/rs6k64.h (U802TOC64MAGIC): Change to U803XTOCMAGIC.
2000-05-06 01:41:50 +00:00
Michael Snyder
e919ea793d
2000-04-28 Michael Snyder <msnyder@seadog.cygnus.com>
...
* gdb.base/break.exp: When compiled with -O2 optimization,
gdb may not stop at the first line of main, due to code motion.
2000-05-05 21:50:23 +00:00
Michael Snyder
103b3ef54f
2000-05-05 Michael Snyder <msnyder@seadog.cygnus.com>
...
* procfs.c: Cleanup of procfs tracing. Move defines and
prototypes to proc-utils.h
* proc-utils.h: Define tracing macros. Declare trace functions.
* proc-api.c: Make procfs tracing a runtime option.
(prepare_to_trace): New function, abstracted out of several
places. Open a trace file if one is required.
(ioctl_with_trace, write_with_trace, open_with_trace,
close_with_trace, wait_with_trace, lseek_with_trace):
Report errno if an error occurs in a system call.
(write_with_trace): Make 2nd arg void *, to agree with write.
2000-05-05 20:56:10 +00:00
Elena Zannoni
b8d39351ea
2000-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
...
* elfread.c (elf_symtab_read): The calculation of 'offset'
must be done for each symbol, not just once. The index
used must be the index of the section where 'sym' resides,
not .text.
2000-05-05 19:09:27 +00:00
Michael Snyder
6c1a54b22b
2000-05-05 Michael Snyder <msnyder@seadog.cygnus.com>
...
* procfs.c (many functions): change int cmd; to long cmd;
Solaris /proc API calls this parameter a long, and requires it
for 64-bit hosts (where sizeof(long) != sizeof(int)). UnixWare
calls it an int, but on existing UnixWare hosts, int and long
are the same size. So long it must be. If a future UnixWare
version has problems with this, we'll have to use autoconf.
* proc-api.c (write_with_trace): use long instead of int.
2000-05-05 18:29:33 +00:00
Michael Snyder
f5b8946ca6
2000-05-03 Michael Snyder <msnyder@seadog.cygnus.com>
...
* solib.c (elf_locate_base, info_sharedlibrary_command):
Look at the bfd to determine if it is elf32 or elf64, rather
than using an ifdef. This makes it runtime teststable and
multi-arch.
2000-05-05 18:14:27 +00:00
Michael Snyder
3425c18298
2000-05-04 Michael Snyder <msnyder@seadog.cygnus.com>
...
* elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1.
* bfd-in.h: Prototype bfd_elf_get_arch_size.
* bfd-in2.h: Prototype bfd_elf_get_arch_size.
2000-05-05 18:12:53 +00:00
Mark Kettenis
318b21ef35
* i386-linux-nat.c: Define PT_READ_U and PT_WRITE_U if they're not
...
already defined.
2000-05-04 19:25:57 +00:00
Mark Kettenis
e441088d68
* infrun.c (handle_inferior_event): Add missing call to keep_going
...
and missing return when handling an ordinary signal from the
inferior.
2000-05-04 17:32:49 +00:00
Elena Zannoni
b8fbeb1874
Elena Zannoni <ezannoni@kwikemart.cygnus.com>
...
* objfiles.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS,
SECT_OFF_RODATA): Define as functions of OBJFILE. Add
sect_index_text, sect_index_data, sect_index_rodata,
sect_index_bss to objfile structure.
* gdb-stabs.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS,
SECT_OFF_RODATA): Remove.
* objfiles.c (allocate_objfile): Initialize
sect_index_{text,data,bss,rodata} to -1, for error detection.
* symfile.c (default_symfile_offsets): Initialize
sect_index_{text,data,bss,rodata} from bfd information.
* xcoffread.c (xcoff_symfile_offsets): Ditto.
* somread.c (som_symfile_offsets): Initialize
sect_index_{text,data,bss,rodata}.
* coffread.c, dbxread.c, elfread.c, hp-psymtab-read.c,
hp-symtab-read.c, hpread.c, mdebugread.c, minsyms.c,
mipsread.c, objfiles.c, os9kread.c, pa64solib.c, partial-stab.h,
remote-os9k.c, remote-vx.c, remote.c, rs6000-nat.c, somsolib.c,
stabsread.c, symfile.c, xcoffread.c:
Update use of SECT_OFF_{TEXT,DATA,BSS,RODATA} to depend on the
current objfile.
* xcoffread.c: Add new field objfile to find_targ_sec_arg.
2000-05-04 16:52:34 +00:00
Andrew Cagney
70d1b0e820
Remove more defunct macros.
2000-05-04 14:16:51 +00:00
Alan Modra
7c30ac3752
Fix thinko in 2000-05-02 change.
2000-05-04 12:45:43 +00:00
Andrew Cagney
6878c38321
Cleanups. Zap unused macros.
2000-05-04 11:10:22 +00:00
H.J. Lu
0444bdd49c
2000-05-03 Martin v. Löwis <loewis@informatik.hu-berlin.de>
...
* elflink.h (elf_link_add_object_symbols): Reset dynindx for
hidden and internal symbols.
(elf_fix_symbol_flags): Clear NEEDS_PLT for symbols with
visibility.
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Do not
assign a PLT or GOT entry to symbols with hidden and
internal visibility.
2000-05-04 06:38:33 +00:00
Alan Modra
fb166ee3a7
Just mention current year in printed copyright message.
2000-05-04 03:53:00 +00:00
J.T. Conklin
786e2c0f62
* ppc-opc.c (VA, VB, VC, VD, VS, SIMM, UIMM, SHB): New macros, for
...
vector unit operands.
(VX, VX_MASK, VXA, VXA_MASK, VXR, VXR_MASK): New macros, for vector
unit instruction formats.
(PPCVEC): New macro, mask for vector instructions.
(powerpc_operands): Add table entries for above operand types.
(powerpc_opcodes): Add table entries for vector instructions.
* ppc-dis.c (print_insn_big_powerpc): Add PPC_OPCODE_ALTIVEC to mask.
(print_insn_little_powerpc): Likewise.
(print_insn_powerpc): Prepend 'v' when printing vector registers.
2000-05-03 22:25:08 +00:00
J.T. Conklin
7a899fff9a
* config/tc-ppc.c (pre_defined_registers): Add entries for vector
...
unit registers.
(md_parse_option): Recognize -m7400.
2000-05-03 22:23:01 +00:00
J.T. Conklin
966f959b21
* ppc.h (PPC_OPCODE_ALTIVEC): New opcode flag for vector unit.
...
(PPC_OPERAND_VR): New operand flag for vector registers.
2000-05-03 22:19:45 +00:00
Daniel Berlin
5ae3d4361a
Insert missing entry
2000-05-03 21:55:28 +00:00
Ian Lance Taylor
44877466ff
* config/atof-ieee.c (gen_to_words): When adding carry back in,
...
don't permit lp to become less than the words array.
2000-05-03 21:23:52 +00:00
Mark Kettenis
d41707c868
* infrun.c (handle_inferior_event): When doing a "next", and
...
stepping out of a signal handler into its calling trampoline
ignore the value of step_frame_address.
(step_over_function): Only modify step_resume_breakpoint->frame if
the value of step_frame_address is non-zero.
2000-05-03 20:16:05 +00:00
Nick Clifton
eaa15ab811
Fix little endian relocs
2000-05-03 18:50:55 +00:00
Michael Snyder
86110418ab
2000-05-03 Michael Snyder <msnyder@seadog.cygnus.com>
...
* monitor.c (monitor_fetch_register): MAX_REGISTER_RAW_SIZE
is not static in the MULTI_ARCH world, so don't use it in a
static array declaration.
2000-05-03 18:21:52 +00:00
Elena Zannoni
54cf9c0344
Tue May 2 13:17:21 2000 Elena Zannoni (ezannoni@makita.cygnus.com)
...
* symtab.c (in_prologue): From Jim Blandy. Rewrite, more
intelligently, making sure we use the information from the
symbol tables fully.
2000-05-03 13:45:17 +00:00
Alan Modra
9369728402
Fix 64 bit target section start on 32 bit machine.
2000-05-03 11:22:42 +00:00
Andrew Cagney
ba744a4f56
Add missing ChangeLog.
...
Sync with mitsu's version.
2000-05-03 09:26:07 +00:00
Alan Modra
7c4f6a035a
Update copyright message.
2000-05-03 06:38:40 +00:00
Alan Modra
da5d444c29
go32 bss alignment.
2000-05-03 04:25:33 +00:00