Ian Lance Taylor
ba5900222d
Sun Sep 20 00:58:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* config/tc-m68k.h (TC_FORCE_RELOCATION): New macro. Force vtable
relocs.
* config/tc-m68k.c (md_apply_fix_2): Do nothing for vtable relocs.
1998-09-20 04:59:11 +00:00
Ian Lance Taylor
776c436d8b
Sun Sep 20 00:48:07 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* elf32-m68k.c: Include "elf/m68k.h". Remove definition of enum
reloc_type. Rename R_68K__max to R_68K_max.
(howto_table): Use _bfd_elf_rel_vtable_reloc_fn for a VTENTRY
reloc.
1998-09-20 04:57:41 +00:00
Ian Lance Taylor
8c685dfe22
Sun Sep 20 00:54:22 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* m68k.h: Add vtable relocs and R_68K_max.
1998-09-20 04:55:51 +00:00
Ian Lance Taylor
8b77a7d9d2
Sun Sep 20 00:09:25 1998 Chris Torek <torek@bsdi.com>
...
* libbfd.c (bfd_getb32): Rewrite expression to get better code.
(bfd_getl32, bfd_getb_signed_32, bfd_getl_signed_32): Likewise.
1998-09-20 04:17:27 +00:00
Ian Lance Taylor
0983267416
* libbfd.c (bfd_log2): Cast to bfd_vma before shifting, not
...
after. From Chris Torek <torek@bsdi.com>.
1998-09-20 03:53:05 +00:00
Ian Lance Taylor
d7298d8f7e
Sat Sep 19 22:42:23 1998 Doug Rabson <dfr@nlsystems.com>
...
* elflink.h (elf_link_add_object_symbols): Ensure that the warning
message has a null byte terminator.
1998-09-20 02:45:04 +00:00
Keith Seitz
864e89fc9d
* gdbtk-cmds.c (get_frame_name): Demangle function names, too.
1998-09-18 23:45:45 +00:00
Doug Evans
46fca0d897
* dvp-opc.c (gif_opcodes): Support EOP on gifimage.
...
PR 17293.
1998-09-18 23:30:40 +00:00
Nick Clifton
618e96a058
Fic PR17107 - ignore contents of word subject to R_V850_32 relocation.
1998-09-18 21:37:41 +00:00
Michael Snyder
d5e3b34ad8
Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
...
* gdb.trace/*.exp: remove "remote_download" command.
1998-09-18 21:10:23 +00:00
Nick Clifton
bc2c7e533b
Always treat section symbols as special, even if they are attached to a
...
common section.
1998-09-18 16:23:48 +00:00
Peter Schauer
d2fce7f74c
* sol-thread.c (sol_thread_notice_signals): Use PIDGET when
...
passing pid down to procfs_notice_signals.
1998-09-18 14:57:16 +00:00
Nick Clifton
f5ec493e57
Add comment about problem computing nearets line numbers for undefined
...
symbols at link time.
1998-09-18 00:22:23 +00:00
Richard Henderson
93893904de
* elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't
...
transform a defweak into a plt entry.
(elf64_alpha_calc_dynrel_sizes): Allow room for secondary
plt entry references to receive a RELATIVE reloc.
(elf64_alpha_finish_dynamic_symbol): Fill them in.
(elf64_alpha_relocate_section): Assert we don't overrun
the allocated relocation space.
1998-09-17 23:17:10 +00:00
Geoffrey Noer
e2bf9e3640
update
1998-09-17 00:06:01 +00:00
Stu Grossman
082a0803b1
* stabsread.c (resolve_symbol_reference): Return 1 on success, 0 on
...
failure.
* (define_symbol): Check return value from resolve_symbol_reference,
and drop symbol if it fails.
1998-09-16 21:59:01 +00:00
Catherine Moore
9c68226165
get rid of print statement in elf32_arm_gc_mark_hook.
1998-09-16 16:31:18 +00:00
Felix Lee
d9720f0dd4
* gdb.trace/configure.in(AC_INIT): typo
...
* gdb.trace/configure: regenerated
1998-09-16 08:25:59 +00:00
Stu Grossman
3c47adae01
* stabsread.c: Make all complaints static.
...
* Fix formatting of live range splitting code.
* (resolve_symbol_reference define_symbol resolve_live_range): Change
errors to complaints so that bad live range symbols won't abort the
entire symbol table. Handle errors by aborting just the current
symbol.
* (ref_init): Goes away. Folded into ref_add().
* (REF_MAP_SIZE): Put parens around parameter so that args like
`1 + 2' get handled correctly (yes, this was a real bug).
* (ref_add): Remove check for allocation failures. Not necessary
when using xrealloc(). Fix pointer arithmetic problem when clearing
memory. This and the previous patch prevent random SEGV's when there
are lots of live range symbols.
1998-09-15 22:38:40 +00:00
Michael Snyder
27001c664d
Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
...
* lib/<emc-support.exp trace-support.exp}: New files.
* configure.in: add new test directory gdb.trace.
* gdb.trace/{configure configure.in Makefile.in}: New files.
* gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
* gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
* gdb.trace/{collection.c collection.exp tfind.exp }: New files.
* gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
* gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
* gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
* gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
1998-09-15 22:25:01 +00:00
Doug Evans
ff8c385ab3
* m32r-sim.h (GET_H_SM): New macro.
...
(UART params): Update to msa2000.
* devices.c (device_io_read_buffer): Update to msa2000.
* m32r.c (m32rb_h_cr_get,m32rb_h_cr_set): Handle bbpc,bbpsw.
(m32rb_h_psw_get,m32rb_h_psw_set): New functions.
* arch.c,arch.h,cpu.c,cpu.h,sem-switch.c,sem.c: Regenerate.
* m32rx.c (m32rx_h_cr_get,m32rx_h_cr_set): Handle bbpc,bbpsw.
(m32rx_h_psw_get,m32rx_h_psw_set): New functions.
* cpux.c,cpux.h,readx.c,semx.c: Regenerate.
PR 15938.
1998-09-15 22:16:08 +00:00
Vladimir Makarov
5df02296c9
1998-09-15 Geoff Keating <geoffk@ozemail.com.au>
...
* elf32-ppc.c (ppc_elf_relocate_section): Reverse output_offset
part of Vladimir's change of 1998-08-19. Make a R_PPC_SDAREL16
reloc to the wrong section a warning, not an error. .dynsbss
is not an output section, so there is no need to check for it.
1998-09-15 21:36:41 +00:00
Nick Clifton
9d561e1e94
prevent multiple attempts at closing remote connection.
1998-09-15 21:03:26 +00:00
Catherine Moore
a2dd26e9e9
Fix changeLOg entry. Add argument to elf_backend_get_symbol_type.
1998-09-15 17:42:09 +00:00
Catherine Moore
61b113a94e
* config/obj-elf.c (obj_elf_vtable_inherit): Handle arm
...
assembler syntax.
(obj_elf_vtable_entry): Likewise.
* config/tc-arm.h: Define TC_FORCE_RELOCATION for OBJ_ELF.
* config/tc-arm.c (md_apply_fix3): Handle VTABLE relocations.
(tc_gen_reloc): Likewise.
(arm_fix_adjustable): Likewise.
(elf32_arm_force_relocation): New.
(armelf_frob_symbol): Remove coff-style symbol support.
Remove armelf sanitization.
1998-09-15 14:47:51 +00:00
Catherine Moore
948beb4a24
* bfd-in.h: Add argument to elf_backend_get_symbol_type.
...
* bfd-in2.h: Rebuild.
* elf.c (swap_out_syms): Pass type to elf_backend_get_symbol_type.
* elf32-arm.c: Add HOWTO entries for R_ARM_GNU_VTINHERIT and
R_ARM_GNU_VTENTRY.
(elf32_arm_gc_mark_hook): New.
(elf32_arm_gc_sweep_hook): New.
(elf32_arm_check_relocs): New.
(elf32_arm_final_link_relocate): Handle VTINHERIT and VTENTRY
relocations.
(elf32_arm_relocate_section): Handle VTINHERIT and VTENTRY
relocations.
1998-09-15 13:52:55 +00:00
Andrew Cagney
b2d5581361
Use value_at_lazy() to examine memory values. For x/i this is very
...
important as it stops the specified address being fetched twice -
once by value_at() and once somewhere in the disassembler.
1998-09-15 07:50:31 +00:00
Michael Snyder
c8ca08efeb
Mon Sep 14 20:00:57 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
...
* dejagnu/baseboards/m68k-emc.exp: New file.
* dejagnu/config/m68k-emc.exp: New file.
* gdb/testsuite/config/m68k-emc.exp: New file.
1998-09-15 03:06:26 +00:00
Nick Clifton
043333a61a
define SIM_HAVE_BIENDIAN
1998-09-14 16:58:00 +00:00
Michael Snyder
4a8051a834
Sun Sep 13 01:34:59 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
...
* blockframe.c (find_pc_sect_partial_function): use bfd section
of msymbol for end of section comparison.
1998-09-13 08:37:08 +00:00
Michael Snyder
74c1b0ba6b
Fri Sep 11 14:02:49 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
...
* tracepoint.c: clean up several unused variables and such.
1998-09-11 21:03:29 +00:00
Michael Snyder
b6e88501aa
Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
...
* gdb.c++/classes.exp: Change all regular expressions to match
arbitrary combinations of newline/carriage-return, so that they
will work equally well on Unix and Windows.
* gdb.c++/inherit.exp: ditto.
* gdb.c++/virtfunc.exp: ditto.
1998-09-11 21:00:26 +00:00
Richard Henderson
7194b91a0f
1998-09-10 Geoff Keating <geoffk@ozemail.com.au>
...
* elf32-ppc.c (ppc_elf_relocate_section): If dynobj is NULL,
assume there is no PLT or GOT.
1998-09-11 20:15:54 +00:00
Zdenek Radouch
05f1989d85
Fri Sep 11 12:38:34 EDT 1998 Zdenek Radouch (radouch@cygnus.com)
...
* arm-tdep.c (arm_push_arguments): fixed frame construction
1998-09-11 16:40:04 +00:00
Jim Ingham
d0757953c9
Thu Sep 10 22:10:29 1998 Jim Ingham <jingham@cygnus.com>
...
*gdbtk-cmds.c (gdb_disassemble): Make sure the symtab's linetable is not
null before trying to use it...
1998-09-11 05:13:57 +00:00
Michael Snyder
6a5c768569
Thu Sep 10 20:51:23 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
...
* mn10300-tdep.c (mn10300_analyze_prologue): guard against NULL.
1998-09-11 03:52:21 +00:00
Doug Evans
4d87923eb3
* r5900.igen (plzcw): Make `i' signed.
...
PR 17191.
1998-09-10 19:00:46 +00:00
Michael Meissner
52ce74dc9f
Sanitize out Nortel 750 sprs
1998-09-10 18:28:13 +00:00
Stan Shebs
d7d7dd1b5a
More avoidance of writing documentation in the internals manual.
...
* dbxread.c (IGNORE_SYMBOL): Remove definition, is never used.
* os9kread.c: Remove comment mentioning IGNORE_SYMBOL.
1998-09-10 02:58:19 +00:00
Michael Meissner
7be9a046da
Add PowerPC 750 move to/from SPRs
1998-09-09 23:59:09 +00:00
Doug Evans
190659a22d
* m32r-sim.h (m32r_trap): Update prototype.
...
* traps.c (m32r_trap): New arg `pc'.
* sem.c,sem-switch.c: Regenerated.
* cpux.h,readx.c,semx.c: Regenerated.
1998-09-09 22:34:09 +00:00
Doug Evans
3efbfbebdc
* sim/sky/pr17191.s: New file.
...
* sim/sky/pr17191.brn: New file.
* sim/sky/t-macros.inc: New file.
1998-09-09 21:50:10 +00:00
Nick Clifton
a61c93863e
fix linker testsuite failure
1998-09-09 21:25:37 +00:00
Richard Henderson
1891eb9f0d
* config/tc-i386.c (i386_operand): Fix typo in last patch.
1998-09-09 18:27:52 +00:00
Ron Unrau
253ceee6d0
Merges from SKY branch:
...
* blockframe.c(find_pc_sect_partial_function): look for min syms in
the same section when trying to guess the end of a function.
* symfile.c(list_overlays_command): use print_address_numeric
* remote-sim.c: export simulator_command
* tm-r5900.h: add COP0 registers
* txvu-tdep.c: printvector and printvector-order commands
* tm-txvu.h: add COP0 registers
* mips-tdep.c: use NUM_CORE_REGS
1998-09-09 17:41:59 +00:00
Ron Unrau
323f833daf
Branch merge for GDB:
...
* sim-main.h: track COP0 registers
* interp.c (sim_{fetch,store}_register): read/write COP0 registers
* sky-gdb.[ch]: add sim pipeorder command
1998-09-09 17:30:31 +00:00
Jason Molenda
fc4109089c
1998-09-08 Jason Molenda (jsm@bugshack.cygnus.com)
...
* breakpoint.c (bpstat_stop_status): Declare a bp match if the
current fp matches the bp->fp OR if the current fp is less than
the bp->fp if we're looking at a bp_step_resume breakpoint.
PR 15992.
With a bp_step_resume type breakpoint, the frame pointer check exists in
case we recurse and execute the same text section--we want to not stop
there because it would confuse the user. So gdb checks to see that the
frame pointer matches the one recorded in the breakpoint.
If the current frame pointer is less than the frame pointer recorded in
the breakpoint, then something odd is happened and we should declare that
we're at the breakpoint so that we clear it out.
This happens in Purify instrumented executables on PA systems, at least.
They insert some calls out to Purify code in the function epilogue and
it confuses GDB (which assumes that the frame pointer does not move
around through the entire execution of a function).
1998-09-09 04:16:53 +00:00
Stan Shebs
1f926de145
Cleanup opportunity discovered while updating internals manual.
...
* symtab.h (struct symtab): Remove EXTRA_SYMTAB_INFO hook,
not currently used.
* symfile.c (allocate_symtab): Deprecate use of
INIT_EXTRA_SYMTAB_INFO here.
1998-09-09 02:48:11 +00:00
Catherine Moore
d22136dc8c
Tue Sep 8 18:10:01 1998 Catherine Moore <clm@cygnus.com>
...
* config/tc-arm.c (arm_adjust_symtab): Move #ifdef
OBJ_COFF so that routine is defined for a.out format.
1998-09-08 23:20:30 +00:00
Richard Henderson
de1d28b669
* config/tc-i386.c (i386_operand): Detect non-segment registers
...
used as segment prefixes.
1998-09-08 22:57:36 +00:00