Steve Chamberlain
9fce28edd5
Support for linking and loading at different places:
...
* ldlex.l: Add "AT" keyword.
* ldgram.y: Cleanup, and parse AT.
* ldlang.c (print_output_section_statement): Print output address
of section in map. (lang_size_sections): Fill sections' lma with
load address.
* ldlang.h (lang_output_section_statement_type): Add load_base
information.
1993-03-30 22:45:39 +00:00
Jim Kingdon
01b4d31847
Use ANSI versions on AIX regardless of __STDC__.
1993-03-30 20:34:57 +00:00
Jim Kingdon
3f031adf9f
(print_it_normal): return 0 after hitting watchpoint
1993-03-30 19:10:31 +00:00
Jim Kingdon
8af68e4efb
* breakpoint.h (bpstat): New field print_it.
...
breakpoint.c (bpstat_print): Use it.
(print_it_normal): New function (from old bpstat_print code).
(bpstat_{alloc,stop_status}): Set print_it field.
* breakpoint.c (bpstat_stop_status): Use catch_errors when
evaluating watchpoint condition, via new function watchpoint_check.
Also stop if watchpoint disabled due to leaving its block.
1993-03-30 18:55:20 +00:00
Steve Chamberlain
af6d4cf50d
Reflect new indirect info
1993-03-30 18:25:27 +00:00
Ian Lance Taylor
6d98b3d2b0
* build-all.mk: Use CC=cc -Xs on Solaris.
1993-03-30 18:04:32 +00:00
Peter Schauer
1096d1de5d
* config/unix-gdb.exp: Add missing return 0.
1993-03-30 18:00:50 +00:00
Steve Chamberlain
29f33467f2
Tue Mar 30 09:40:25 1993 Steve Chamberlain (sac@thepub.cygnus.com)
...
* ldindr.c (add_indirect): Keep more information in the alias
symbol chain.
* ldlang.c (wild_doit): Don't inherit NEVER_LOAD section
attribute from an input section.
* ldmain.c (Q_enter_file_symbols): Common section is NEVER_LOAD by
default. (Q_enter_file_symbos): Indirect symbols now are known by
their section, not a special symbol flag.
* ldsym.c (write_file_locals): Indirect symbols aren't local.
(write_file_globals): Write the mapping for an indirect symbol.
* relax.c (build_it): When forced to write a NEVER_LOAD section,
fill it with zeros.
1993-03-30 17:49:00 +00:00
Steve Chamberlain
21c7770362
* aoutx.h (translate_from_native_sym_flags): Now handles indirect
...
symbols in a better way. (translate_to_native_sym_flag): Set the
N_INDR bit when necessary. (aout<>slurp_symbol_table): Maintain
indirect state.
* section.c: Added BFD_IND_SECTION_NAME and bfd_ind_section.
(bfd_make_section): Cope with new builtin section.
* syms.c (bfd_decode_symclass): Can now print indirect section
info.
1993-03-30 17:40:51 +00:00
Ken Raeburn
39d4b51986
new test cases
1993-03-30 16:57:45 +00:00
Peter Schauer
72ea43e648
* gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
...
test termination.
1993-03-30 16:38:23 +00:00
Ken Raeburn
4478def83a
go back to const instead of CONST
1993-03-30 16:23:32 +00:00
Ken Raeburn
2b1b569795
checkpoint, for lots of recent changes
1993-03-30 16:18:16 +00:00
Jim Kingdon
b27be7926c
*** empty log message ***
1993-03-30 16:07:17 +00:00
Jim Kingdon
0791c5ea6c
add comment
1993-03-30 15:59:01 +00:00
Ken Raeburn
c0f1bbb6d0
build file symbol fwd pointers properly, don't deref symbol #s as pointers
1993-03-30 15:22:27 +00:00
Ken Raeburn
68878ef1aa
move local include after system ones; use CONST not const
1993-03-30 15:17:58 +00:00
Ken Raeburn
0193302d9b
start using new texinfo stuff -- variables, conditionals. far from complete
1993-03-30 15:16:08 +00:00
Ken Raeburn
d303835063
look for GAS_VERSION macro, not external version_string var
1993-03-30 15:15:53 +00:00
Peter Schauer
aa66fddd75
* mips-pinsn.c: Add missing include of dis-asm.h.
1993-03-30 08:16:25 +00:00
Roland Pesch
d76ae847f0
Fix index reference (h8/300, not i960).
1993-03-30 06:55:41 +00:00
David D. Zuhn
48686e6d22
top level CC settings for special tweaks needed
1993-03-30 04:01:55 +00:00
Fred Fish
239121e2b7
* Makefile.in (clean, distclean, realclean): Recursively apply
...
to subdirs first, rather than last. This avoids, for example,
Makefile being removed in a parent directory before the recursive
make is run.
1993-03-30 01:49:04 +00:00
Fred Fish
7007db9600
* configure.in (subdirs): Put back gdb.t17 which mysteriously
...
disappeared.
1993-03-30 01:38:19 +00:00
Fred Fish
141ccc0350
Update for just completed file renamings.
1993-03-30 01:14:35 +00:00
Fred Fish
2225eb851e
* config/m68k/tm-m68k.h: Renamed from config/m68k/tm-68k.h.
...
* m68k/{tm-3b1.h, tm-altos.h, tm-amix.h, tm-es1800.h,
tm-hp300bsd.h, tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-os68k.h,
tm-st2000.h, tm-sun2.h, tm-sun3.h, tm-vx68.h}: Include tm-m68k.h
instead of tm-68k.h.
* Makefile.in (HFILES): tm-68k.h renamed to tm-m68k.h.
* README, a29k-pinsn.c, m68k-pinsn.c, m68k-stub.c, remote-vx.c,
m68k/{altos.mh, altos.mt, apollo68b.mh, nm-apollo68b.h,
nm-hp300bsd.h, config/m68k/xm-apollo68b.h}: Map '68k' to 'm68k'.
* a29k/tm-a29k.h, doc/gdbint.texinfo: Account for renaming of
tm-68k.h to tm-m68k.h.
* m68k/m68k-fp.mt (TM_FILE): tm-68k-fp.h renamed to tm-m68k-fp.h.
* m68k/m68k-nofp.mt (TM_FILE): tm-68k-nofp.h renamed to
tm-m68k-nofp.h.
1993-03-30 00:33:44 +00:00
Jim Kingdon
0a97f6c4a1
Add comments regarding breakpoint_re_set
1993-03-29 23:46:12 +00:00
Fred Fish
d7d35f004c
* config/a29k/tm-a29k.h: Renamed from config/a29k/tm-29k.h.
...
* a29k-pinsn.c: Renamed from am29k-pinsn.c.
* a29k-tdep.c: Renamed from am29k-tdep.c.
* remote-eb.c, config/a29k/tm-ultra3.h: Include renamed tm-a29k.h.
* remote-monitor.c, remote-st2000.c, config/a29k/{nm-ultra3.h,
tm-a29k.h, xm-ultra3.h}, config/romp/rtbsd.mh, doc/gdbinv-s.texi,
testsuite/gdb.t15/funcargs.exp, testsuite/gdb.t17/callfuncs.exp:
Map '29k' to 'a29k'.
* config/a29k/{a29k-kern.mt, a29k-udi.mt, a29k.mt, ultra3.mt}
(TDEPFILES): Use renamed a29k-pinsn.o and a29k-tdep.o.
* config/a29k/{a29k-udi.mt, a29k.mt} (TM_FILE): Use renamed
tm-a29k.h.
* config/a29k/a29k-udi.mt (MT_CFLAGS): Remove TARGET_AM29K
define that does not appear anywhere else in the gdb source tree.
* doc/gdbinit.texinfo: Document renaming of tm-29k.h to tm-a29k.h.
1993-03-29 23:38:30 +00:00
Jim Kingdon
e5c007603f
* xcoffread.c (sort_syms, compare_symbols): Remove.
...
(xcoff_symfile_read): Use sort_all_symtab_syms from symfile.c
not our own sort_syms (it is identical).
1993-03-29 22:25:59 +00:00
Jim Kingdon
ad3768932d
* xcoffread.c: Nuke NAMES_HAVE_DOT define (not used).
1993-03-29 21:58:29 +00:00
Steve Chamberlain
e02eaa5943
* config/obj-coffbfd.c (do_relocs_for): Fix bug where nrelocs
...
wasn't being stored into scnhdr.
* config/obj-coffbfd.h: Add prototype of s_get_segment.
* read.c (TC_START_LABEL): Default definition.
(read_a_source_file): Use TC_START_LABEL macro to work out
if a label has been seen.
1993-03-29 21:56:49 +00:00
Ian Lance Taylor
c39b3eba78
* configure.in: Set BFDDEF and BFDLIB at the top of Makefile, not
...
the bottom (make expands variables in dependencies when the
dependencies are read, not when they are used).
1993-03-29 21:49:44 +00:00
Jim Kingdon
0eaaa46a44
* breakpoint.{c,h}: Add exp_string to struct breakpoint and use
...
it in breakpoint_re_set.
1993-03-29 21:49:39 +00:00
Steve Chamberlain
10a3e37493
Numerous bug fixes
1993-03-29 21:45:50 +00:00
Steve Chamberlain
a66ad4b239
add h8500 directory
1993-03-29 21:23:15 +00:00
Ken Raeburn
9c6d3f660c
(big_cons): If target_big_endian, reverse bytes being copied. (Temporary
...
fix -- should be cleaned up later.)
(s_ignore): Delete declaration of is_end_of_line.
(potable): Change .app-file to .appfile.
1993-03-29 21:20:04 +00:00
Ian Lance Taylor
543d88e4fd
* config/obj-coffbfd.c (fill_section): Don't set NOLOAD bit for
...
a29k .bss section; the mondfe program doesn't like it.
1993-03-29 20:58:34 +00:00
Ken Raeburn
f70a4714c9
First crack at a test suite.
1993-03-29 13:27:13 +00:00
Ken Raeburn
de001789f9
updated
1993-03-29 13:23:55 +00:00
Ken Raeburn
12da177528
objdump.c: Use correct prototype of fprintf, else it won't compile on ANSI
...
C systems.
1993-03-29 13:22:16 +00:00
Peter Schauer
0b0d6c3fa7
* breakpoint.c (breakpoint_re_set_one): Fix storage leak.
...
* breakpoint.c (enable_breakpoint): Don't enable watchpoint if it
went out of scope.
* exec.c (exec_close): Fix storage leak.
* exec.c (exec_file_command): Make sure that bfd doesn't realign the
output sections when patching an executable.
* mips-nat.c (store_inferior_registers): Use REGISTER_PTRACE_ADDR
when writing all registers.
* mips-tdep.c (mips_push_dummy_frame): Save floating point registers
at the right offset in the dummy frame.
* mipsread.c (psymtab_to_symtab_1): Do not complain for stProc,
stStaticProc and stEnd symbols as they are generated by gcc-2.x.
* mipsread.c (mipscoff_new_init): Initialize stabsread and buildsym.
1993-03-28 19:28:26 +00:00
Fred Fish
53f6119fc6
Reorder recent entries that we out of date sequence, and add an entry of
...
mine that got dropped somehow.
1993-03-28 00:58:39 +00:00
Roland Pesch
1bbbf4575d
Catch up on today's changes.
1993-03-27 02:06:18 +00:00
Roland Pesch
51b65b7470
*-config.texi: introduce new switch GENERIC to describe text *only* for
...
(the usual) non-specialized versions of the manual.
gdb.texinfo: list of nonstandard init file names, with brief descriptions
(permits closing PRMS gdb/2296).
1993-03-27 01:59:12 +00:00
Roland Pesch
1d7c3357dd
1. Update conditional markup:
...
(a) to make H8 configuration come out right (first attempt since
conversion to texinfo conditionals);
(b) to exploit yesterday's makeinfo bugfix, using conditionals in menus
rather than multiple alternative menus.
2. Update H8 text to refer to H8/500 as well as H8/300.
3. Define config file gdb-config.texi as a link in Makefile, based on a
DOC_CONFIG variable.
1993-03-27 01:32:11 +00:00
John Gilmore
0f0834c518
* Makefile.in (TARFILES): Avoid trailing backslash.
1993-03-26 23:26:05 +00:00
Jim Kingdon
2d313932ea
Fetch lazy values
1993-03-26 22:49:53 +00:00
Jim Kingdon
030fb5cb81
* rs6000-tdep.c (single_step): Misc cleanups (CORE_ADDR not int,
...
don't use sizeof(int) for target stuff, etc).
1993-03-26 19:55:57 +00:00
Jim Kingdon
3c02636b4e
* Clean up xcoff relocation.
...
objfiles.h (struct objfiles): Add section_offsets, num_sections.
symfile.c (syms_from_objfile), xcoffread.c (xcoff_symfile_offsets):
Set them.
symtab.h (struct general_symbol_info): Add section field.
minsyms.c (prim_record_minimal_symbol{,_and_info}): Set it.
xcoffread.c: Set section for symbols and msymbols.
(struct symtab): Add block_line_section field.
buildsym.c (end_symtab): Set it.
(end_symtab and callers): Add section parameter.
objfiles.c (objfile_relocate): New funciton.
xcoffexec.c (vmap_symtab): Use it.
xcoffsolib.h (struct vmap): Remove unused fields.
config/rs6000/tm-rs6000.h, stack.c, xcoffexec.c: Remove
CORE_NEEDS_RELOCATION, symtab_relocated.
config/rs6000/tm-rs6000.h: Remove use of loadinfotext.
rs6000-tdep.c: Make loadinfotext static.
breakpoint.c (fixup_breakpoints): Doc fix.
symtab.h (struct symtab), config/rs6000/tm-rs6000.h, buildsym.c
(end_symtab): primary field replaces nonreloc.
1993-03-26 14:59:43 +00:00
Ken Raeburn
786f2f3402
add missing z8000 define
1993-03-26 13:35:15 +00:00