Hans-Peter Nilsson
a27be4d5bf
* ld-mmix/bpo-18.d, ld-mmix/bpo64addr.ld, ld-mmix/bpo-18m.d,
...
ld-mmix/bpo-9.s, ld-mmix/bpo-19.d, ld-mmix/bpo-19m.d,
ld-mmix/bpo-10.s, ld-mmix/bpo-20.d, ld-mmix/bpo-20m.d: New tests
for on-demand global register allocation.
2002-02-04 04:38:53 +00:00
Hans-Peter Nilsson
5459d7a081
* config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of
...
common and weak symbols. Handle common and weak symbols as
undefined symbols with regards to GREG handling and merging.
(mmix_frob_file): Ditto.
2002-02-04 04:03:15 +00:00
Hans-Peter Nilsson
c4a42e0f58
* gas/mmix/basep-8.d, gas/mmix/basep-9.s, gas/mmix/basep-9.d,
...
gas/mmix/err-bpo6.s, gas/mmix/basep-8.s, gas/mmix/basep-10.d,
gas/mmix/basep-10.s, gas/mmix/basep-11.s, gas/mmix/basep-11.d: New
tests for base-plus-offset relocations and global register
allocations for weak and common symbols.
2002-02-04 04:01:32 +00:00
Andrew Cagney
a73c86fb73
* valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
...
Restore behavour broken by 2002-01-20 Andrew Cagney
<ac131313@redhat.com> IEEE_FLOAT removal.
2002-02-04 02:22:41 +00:00
Daniel Jacobowitz
acf5ed49a0
2002-02-03 Daniel Jacobowitz <drow@mvista.com>
...
* c-valprint.c (c_val_print): Pass a proper valaddr to
cp_print_class_method.
* valops.c (search_struct_method): If there is only one method
and args is NULL, return that method.
2002-02-04 02:14:46 +00:00
Daniel Jacobowitz
493d28d51b
2002-02-03 Daniel Jacobowitz <drow@mvista.com>
...
* gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
accessing tag_name directly.
2002-02-03 23:18:11 +00:00
Daniel Jacobowitz
7495dfdb3a
2002-02-03 Daniel Jacobowitz <drow@mvista.com>
...
* ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
of accessing tag_name directly.
2002-02-03 23:11:33 +00:00
Alan Modra
5624d0a9f3
daily update
2002-02-03 23:00:05 +00:00
Daniel Jacobowitz
dd6bda650a
2002-02-01 Daniel Jacobowitz <drow@mvista.com>
...
PR gdb/280
* gdbtypes.c (replace_type): New function.
* gdbtypes.h (replace_type): Add prototype.
* stabsread.c (read_type): Use replace_type.
2002-02-03 22:57:56 +00:00
Richard Earnshaw
88fe217c0b
* Makefile.in (memattr.o): Add missing dependencies rule.
2002-02-03 16:20:22 +00:00
DJ Delorie
0fc6163719
Remove redundant entry.
2002-02-03 13:16:18 +00:00
DJ Delorie
42da15d6b3
merge from gcc
2002-02-03 13:12:45 +00:00
Eli Zaretskii
6ca652b0db
* gdb.texinfo (Memory Region Attributes): Fix the wording.
...
Suggested by Dmitry Sivachenko.
* (<many nodes>): Fix the spelling and punctuation of "i.e.".
2002-02-03 12:06:05 +00:00
Peter Schauer
e5d6672073
* breakpoint.c (break_at_finish_command): Really export.
...
(break_at_finish_at_depth_command): Ditto.
(tbreak_at_finish_command): Ditto.
* hppa-tdep.c: Include completer.h.
* Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
(COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
2002-02-03 11:43:19 +00:00
gdbadmin
328bc7cbba
*** empty log message ***
2002-02-03 00:00:05 +00:00
Alan Modra
6e525bfb9d
daily update
2002-02-02 23:00:04 +00:00
David O'Brien
537c972e14
2002-02-02 David O'Brien <obrien@FreeBSD>
...
* configure.in: Tweak the FreeBSD 4.x recognition more. Only treat
version 4.5 and later the same as 5-CURRENT.
* configure: Re-generate.
2002-02-02 20:43:38 +00:00
Jason Thorpe
006336b8fe
bfd:
...
* config.bfd (hppa*-*-netbsd*): New target.
gas:
* configure.in (hppa-*-netbsd*): New target.
* configure: Regenerate.
* config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD.
ld:
* Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
(ehppanbsd.c): New rule.
* Makefile.in: Regenerate.
* configure.tgt (hppa*-*-netbsd*): New target.
* emulparams/hppalinux.sh: Add comment to check other files
that source this file it is modified, and list which
files that do.
* emulparams/hppanbsd.sh: New file.
2002-02-02 18:36:04 +00:00
Andrew Cagney
fffee0be3f
* utils.c (do_write): New function.
...
(error_stream): Rewrite combining the code from error_begin and
verror.
(verror): Rewrite using error_stream.
(error_begin): Delete function.
2002-02-02 15:39:33 +00:00
Andrew Cagney
b78bd0bd68
Revert sh64 changes. Accidently committed.
2002-02-02 04:48:32 +00:00
Andrew Cagney
255e7dbf2e
* utils.c (error_begin): Make static.
...
* defs.h (error_begin): Delete declaration.
* linespec.c (cplusplus_error): Replace cplusplus_hint.
(decode_line_1): Use cplusplus_error instead of error_begin,
cplusplus_hint and return_to_top_level.
* coffread.c (coff_symfile_read): Use error instead of error_begin
and return_to_top_level.
* infrun.c (default_skip_permanent_breakpoint): Ditto.
2002-02-02 03:42:59 +00:00
Michael Snyder
261c4ca206
2002-02-01 Michael Snyder <msnyder@redhat.com>
...
* breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
2002-02-02 02:49:07 +00:00
Andrew Cagney
ddfe3c1587
* language.h (type_error, range_error): Make string parameter
...
constant.
* language.c (warning_pre_print): Delete extern declaration.
* dwarfread.c (warning_pre_print): Ditto.
* language.c (type_error, range_error): Rewrite to use verror and
vwarning instead of warning_begin.
2002-02-02 02:28:40 +00:00
Alexandre Oliva
60e955f1b0
* ld-sh/shared-1.d: Fix incorrect offsets.
2002-02-02 02:21:33 +00:00
Mo DeJong
48d197489b
* Makefile.in: Add all-tix to deps for all-snavigator
...
so that tix is built when building snavigator.
2002-02-02 01:42:53 +00:00
Michael Snyder
03ac34d585
2002-02-01 Michael Snyder <msnyder@redhat.com>
...
* breakpoint.c (set_ignore_count): Move misplaced comment
back where it belongs.
2002-02-02 01:25:28 +00:00
Andrew Cagney
e00d1dc8a5
s/NO_FUNCTION/NULL/
2002-02-02 00:56:37 +00:00
Daniel Jacobowitz
76b79d6ec8
2002-02-01 Daniel Jacobowitz <drow@mvista.com>
...
* gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
Update ``this'' pointer when calling virtual functions.
2002-02-02 00:04:46 +00:00
gdbadmin
c7d99d0b23
*** empty log message ***
2002-02-02 00:00:06 +00:00
Michael Snyder
c7bd442ca0
2002-02-01 Michael Snyder <msnyder@redhat.com>
...
* breakpoint.c (create_temp_exception_breakpoint): Delete.
2002-02-01 23:44:39 +00:00
Alan Modra
121e3e3557
daily update
2002-02-01 23:00:06 +00:00
Michael Snyder
799f9e91f1
2002-02-01 Michael Snyder <msnyder@redhat.com>
...
* hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
2002-02-01 22:45:32 +00:00
Daniel Jacobowitz
3cf384d4ea
2002-02-01 Daniel Jacobowitz <drow@mvista.com>
...
* regformats/reg-arm.dat: New file.
* regformats/reg-i386.dat: New file.
* regformats/reg-ia64.dat: New file.
* regformats/reg-m68k.dat: New file.
* regformats/reg-mips.dat: New file.
* regformats/reg-ppc.dat: New file.
* regformats/reg-sh.dat: New file.
* regformats/regdef.h: New file.
* regformats/regdat.sh: New file.
2002-02-01 22:05:28 +00:00
DJ Delorie
b117c15877
merge from gcc
2002-02-01 21:20:30 +00:00
Michael Snyder
15110bc31b
2002-02-01 Michael Snyder <msnyder@redhat.com>
...
* gdb.texinfo (set trust-readonly): Change value{gdbn} to value{GDBN}.
2002-02-01 18:41:51 +00:00
Geoffrey Keating
da1f2fec05
In ld/ChangeLog:
...
* scripttempl/xstormy16.sc: Don't allocate extra space for the
stack.
In libgloss/ChangeLog:
* xstormy16/Makefile.in (SIM_OBJS): Remove sbrk.o, add
sim_malloc_start.o.
* xstormy16/eva_app.ld: Add __malloc_start.
* xstormy16/sbrk.c: Remove.
* xstormy16/sim_malloc_start.s: New file.
* xstormy16/sim_high.ld: Make the stack start immediately at the
end of the program.
In newlib/ChangeLog:
* configure.host (xstormy16): Don't use the generic malloc.
* libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
* libc/machine/xstormy16/Makefile.in: Regenerate.
* libc/machine/xstormy16/mallocr.c: New file.
* libc/machine/xstormy16/tiny-malloc.c: New file.
2002-02-01 18:00:36 +00:00
Michael Snyder
ac28236684
2002-01-30 Michael Snyder <msnyder@redhat.com>
...
* gdb.texinfo: (remote protocol): Gramatical fix-up.
2002-02-01 17:29:55 +00:00
Michael Snyder
6763aef967
2002-01-30 Michael Snyder <msnyder@redhat.com>
...
* gdb.texinfo (set trust-readonly-sections): Document.
2002-02-01 17:21:28 +00:00
Alan Modra
9e0665bc9a
* config/tc-v850.c: Add missing prototypes amd use old-style
...
function definitions.
(AREA_ZDA, AREA_SDA, AREA_TDA): Delete.
(sdata_section tdata_section, zdata_section, sbss_section,
tbss_section, zbss_section, rosdata_section, rozdata_section,
scommon_section, tcommon_section, zcommon_section,
call_table_data_section, call_table_text_section): Delete.
(v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
v850_zbss, v850_bss, v850_rosdata, v850_rozdata,
v850_call_table_data, v850_call_table_text): Delete.
(struct v850_seg_entry): New.
(v850_seg_table): New.
(SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION,
TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION,
ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION,
CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define.
(do_v850_seg): New.
(v850_seg): New.
(v850_comm): Use do_v850_seg and v850_seg_table. Simplify
recording of alignment.
(md_pseudo_table): Use v850_seg.
(md_begin): Don't init .call_table_data and .call_table_text here.
Set v850_seg_table bss entry.
* config/tc-v850.h (v850_pcrel_from_section): Prototype.
* gas/elf/elf.exp: Don't special case v850.
2002-02-01 16:29:21 +00:00
Richard Earnshaw
0defa245fc
* arm-tdep.c (arm_frameless_function_invocation): Add some comments.
...
(arm_frame_args_address, arm_frame_locals_address): New functions.
(arm_frame_num_args): New function.
* config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
(FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
(FRMA_NUM_ARGS): Call arm_frame_num_args.
2002-02-01 13:39:43 +00:00
Philipp Thomas
6c571f0083
2002-01-31 Philipp Thomas <pthomas@suse.de>
...
* coff-arm.c (coff_arm_merge_private_bfd_data): Move ERROR
to front of message. Unify messages with elf32-arm.h. Use
commas where neccessary.
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Use all upcase
ERROR in messages. Unify messages with coff-arm.c. Correct
VFP/FPA error message.
(elf32_arm_print_private_bfd_data): Don't mark APCS-26 and
APCS-32 for translation.
2002-02-01 13:26:56 +00:00
Nick Clifton
6350bf4f6a
Synchronize dates with FSF version of the ChangeLog. Remove spurious entry.
2002-02-01 12:27:55 +00:00
Ben Elliston
ff750edfb3
* sim-sh64.h: New file.
2002-02-01 12:04:27 +00:00
Ben Elliston
f6e1c11025
* config.guess: Import from master sources, rev 1.229.
...
* config.sub: Import from master sources, rev 1.240.
2002-02-01 11:49:27 +00:00
Ben Elliston
cbb38b47b3
* Contribute Hitachi SH5 simulator.
2002-02-01 11:44:32 +00:00
Alan Modra
9ee6f9cc9a
* chew.c (WORD): Eliminate.
2002-02-01 09:22:53 +00:00
Alan Modra
66477e8783
* configure.in (build_warnings): Add -Wstrict-prototypes
...
-Wmissing-prototypes.
* aclocal.m4: Regenerate.
* gconfig.in: Regenerate.
* configure: Regenerate.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
2002-02-01 08:41:57 +00:00
Hans-Peter Nilsson
fb17c22277
* ld-mmix/bpo-1.d, ld-mmix/bpo-1.s, ld-mmix/bpo-1m.d,
...
ld-mmix/bpo-15.d, ld-mmix/bpo-4.s, ld-mmix/bpo-6.d,
ld-mmix/bpo-6.s, ld-mmix/bpo-2.d, ld-mmix/bpo-6m.d,
ld-mmix/bpo-12m.d, ld-mmix/bpo-2m.d, ld-mmix/bpo-2.s,
ld-mmix/bpo-5.s, ld-mmix/bpo-3.d, ld-mmix/start3.s,
ld-mmix/bpo-3m.d, ld-mmix/bpo-9m.d, ld-mmix/bpo-4.d,
ld-mmix/bpo-3.s, ld-mmix/bpo-4m.d, ld-mmix/bpo-7.d,
ld-mmix/bpo-5.d, ld-mmix/bpo-16.d, ld-mmix/bpo-5m.d,
ld-mmix/bpo-7m.d, ld-mmix/bpo-9.d, ld-mmix/bpo-8.d,
ld-mmix/start4.s, ld-mmix/bpo-8m.d, ld-mmix/bpo-13m.d,
ld-mmix/bpo-15m.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d,
ld-mmix/bpo-14m.d, ld-mmix/bpo-13.d, ld-mmix/bpo-7.s,
ld-mmix/bpo-12.d, ld-mmix/bpo-16m.d, ld-mmix/bpo-14.d,
ld-mmix/bpo-8.s, ld-mmix/bpo-17.d, ld-mmix/bpo-17m.d: New tests.
2002-02-01 08:30:12 +00:00
Alan Modra
1355568ab4
* alpha.c (alpha_find_call): Warning fixes.
...
* mips.c (mips_find_call): Likewise.
* sparc.c (sparc_find_call): Likewise.
* basic_blocks.c: Warning fixes. Eliminate DEFUN.
* call_graph.c: Likewise.
* cg_arcs.c: Likewise.
* cg_dfn.cp: Likewise.
* gprof.c: Likewise.
* gprof.h: Likewise.
* hist.c: Likewise.
* search_list.c: Likewise.
* source.c: Likewise.
* source.h: Likewise.
* sym_ids.c: Likewise.
* symtab.c: Likewise.
* symtab.h: Likewise.
* utils.c: Likewise.
* cg_print.c: Likewise.
(struct function_map, symbol_map, symbol_map_count): Move
declaration to..
* corefile: ..here.
* corefile.c: Warning fixes. Eliminate DEFUN.
(struct function_map): Remove declaration.
* gmon_io.c: Warning fixes. Eliminate DEFUN.
(gmon_io_read_64): Make static.
(gmon_io_write_64): Likewise.
(gmon_read_raw_arc): Likewise.
(gmon_write_raw_arc): Likewise.
(gmon_io_write_8): Don't pass char, pass int param.
* gmon_io.h (gmon_io_write_8): Likewise.
and a few copyright dates that should have been done previously.
2002-02-01 08:24:16 +00:00
Hans-Peter Nilsson
48fa4a5def
Support on-demand global register allocation from
...
R_MMIX_BASE_PLUS_OFFSET relocs.
* emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
mmix_set_reg_section_vma. Call
_bfd_mmix_finalize_linker_allocated_gregs.
(mmix_before_allocation): New function.
(LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
(LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
* scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
(.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
before .MMIX.reg_contents.
* emultempl/mmo.em (gldmmo_before_allocation): Define to default.
(mmo_after_open): New function.
(LDEMUL_AFTER_OPEN): Define to mmo_after_open.
* emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
.MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
2002-02-01 08:24:03 +00:00