Mark Kettenis
3e74aeeda6
* dwarf2-frame.c: Fix another comment.
2003-11-27 20:50:43 +00:00
Mark Kettenis
e8367dc76a
* gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
...
pattern for the KFAILs.
2003-11-27 20:40:52 +00:00
Mark Kettenis
efb1c01c42
* x86-64-tdep.c (RET_INT_REGS, RET_SSE_REGS): Remove defines.
...
(x86_64_use_struct_convention, x86_64_extract_return_value,
x86_64_store_return_value): Remove.
(amd64_reg_class): New enum.
(amd64_merge_classes, amd64_classify_aggregate, amd64_classify,
amd64_return_value): New functions.
(x86_64_init_abi): Don't set extract_return_value,
store_return_value and use_struct_convention. Set return_value to
amd64_return_value.
* i387-tdep.h (i387_return_value): New prototype.
* i387-tdep.c (i387_return_value): New function.
2003-11-27 20:35:38 +00:00
Jeff Johnston
41a7d11a93
2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
...
* COPYING.NEWLIB: Add license info for long long routines added to
stdlib.
2003-11-27 19:18:38 +00:00
Kazu Hirata
39e6acbdff
* read.c: Convert to ISO-C.
...
* read.h: Likewise.
2003-11-27 19:14:41 +00:00
Kazu Hirata
4cc11e7607
* elf32-arm.h: Fix comment typos.
...
* elf32-d30v.c: Likewise.
* elf32-dlx.c: Likewise.
* elf32-h8300.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-ip2k.c: Likewise.
* elf32-m68hc11.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-v850.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-mips.c: Likewise.
* elf64-mmix.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-sparc.c: Likewise.
* elflink.c: Likewise.
* elflink.h: Likewise.
* elfn32-mips.c: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-mips.c: Likewise.
2003-11-27 18:49:39 +00:00
Mark Kettenis
e4e9607c60
* dwarf2-frame.c: Fix some comments and whitespace problems.
2003-11-27 17:17:04 +00:00
Alexandre Oliva
c84fca4d18
* elf-bfd.h (elf_backend_data::elf_backend_modify_segment_map):
...
Add link info argument.
* elf32-i370.c (elf_backend_modify_segment_map): Likewise.
* elf32-ppc.c (ppc_elf_modify_segment_map): Likewise.
* elf32-xtensa.c (elf_xtensa_modify_segment_map): Likewise.
* elf64-hppa.c (elf64_hppa_modify_segment_map): Likewise.
* elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise.
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise.
* elfxx-mips.h (_bfd_mips_elf_modify_segment_map): Likewise.
* elf.c (assign_file_positions_except_relocs,
assign_file_positions_for_segments): Likewise. Adjust calls.
2003-11-27 16:43:25 +00:00
Mark Kettenis
13739f4d37
* i386nbsd-tdep.c: Don't include "gdbtypes.h". Include
...
"gdb_assert.h" and "gdb_string.h".
(i386nbsd_r_reg_offset): Rename from regmap.
(SIZEOF_STRUCT_REG): Remove.
(i386nbsd_supply_reg, fetch_core_registers,
fetch_elfcore_registers, i386nbsd_core_fns, i386nbsd_elfcore_fns):
Remove.
(i386nbsd_aout_supply_regset,
i386nbsd_aout_regset_from_core_section): New functions.
(i386nbsd_sc_reg_offset): Don't explicitly specify size of array.
(i386nbsd_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs amd sizeof_gregset. Use ARRAY_SIZE to
initialize TDEP->sc_num_regs.
(i386nbsdaout_init_abi): New function.
(i386nbsdelf_init_abi): Remove initialization of
TDEP->num_xmm_regs. Don't set num_regs here.
(_initialize_i386nbsd_tdep): Don't call add_core_fns. Use
i386nbsd_aout_init to register NetBSD a.out OS/ABI.
2003-11-27 13:28:50 +00:00
Mark Kettenis
597684c51b
* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Use
...
.note.netbsdcore.procinfo section to recognize NetBSD core files.
2003-11-27 12:43:36 +00:00
Mark Kettenis
7720ba9f5c
* elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out
...
of the note.
2003-11-27 12:28:35 +00:00
Nick Clifton
028f09bd7f
Check for alignment when emitting constants on the sh-elf target
2003-11-27 08:29:29 +00:00
Nick Clifton
195f52b5ec
Ensure that we have write permission before overwriting a file.
2003-11-27 08:24:01 +00:00
Alexandre Oliva
a939d0907f
* config/tc-frv.c (md_pcrel_from_section): Don't adjust when
...
referencing symbol in a different section.
2003-11-27 02:30:55 +00:00
Alexandre Oliva
b49dc2a109
* gas/frv/reloc1.[sd]: Test references to external symbols and
...
inter-section references too.
2003-11-27 02:30:17 +00:00
DJ Delorie
331c3da232
merge from gcc
2003-11-27 01:17:34 +00:00
gdbadmin
f2d0e87dbf
*** empty log message ***
2003-11-27 00:00:02 +00:00
Alan Modra
dacfaafef8
daily update
2003-11-26 23:00:04 +00:00
Michael Chastain
37e79b6be7
2003-11-26 Michael Chastain <mec.gnu@mindspring.com>
...
* cp-abi.c: Update copyright years.
2003-11-26 22:04:00 +00:00
Christian Groessler
d5bf5799d9
* config/tc-z8k.c (s_segm): Fix indentation.
...
(md_apply_fix3): Likewise.
(cc_names): Add alias names for the names generated by the
disassembler.
(get_cc_operand): Be case insensitive.
(get_operands): Improve error handling for cc operands.
(check_operand): Not used, remove.
(md_assemble): Remove unused variable prev_opcode. Skip
whitespace until end-of-line only. Restore *op_end after call to
hash_find.
2003-11-26 21:24:53 +00:00
Christian Groessler
0f03428ad4
* gas/z8k/jmp-cc.d: New file.
...
* gas/z8k/jmp-cc.s: New file.
* gas/z8k/ret-cc.d: New file.
* gas/z8k/ret-cc.s: New file.
* gas/z8k/z8k.exp: Run new tests.
2003-11-26 21:23:43 +00:00
Richard Sandiford
0626d45128
* elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub.
...
(mips_elf_set_no_stub): New function.
(mips_elf_multi_got): Call it.
(_bfd_mips_elf_finish_dynamic_symbol): If a relocation is needed for
a secondary GOT entry, create an R_MIPS_32 or R_MIPS_64 relocation and
use mips_elf_create_dynamic_relocation to deal with any compatibility
issues. Store the adjusted addend in the GOT slot.
2003-11-26 20:58:45 +00:00
Nick Clifton
b4f16abb97
Revert change to t01_mov test.
...
Fix ldm/stm verifying code to allow er4-er7 for H8SX.
2003-11-26 13:18:23 +00:00
Nick Clifton
9eb20dd876
Add a comment describing the difference between readelf and objdump.
2003-11-26 11:49:10 +00:00
Adam Fedor
526c61eee0
* gdb.objc/objcdecode.exp: Test for PR objc/1238.
...
* gdb.objc/objcdecode.m: New file.
2003-11-26 04:23:25 +00:00
Adam Fedor
28f2d60014
* gdb.objc/nondebug.exp: Test for PR objc/1236.
...
* gdb.objc/nondebug.m: New file.
2003-11-26 04:21:51 +00:00
Ben Elliston
a3895ceeba
* gdb.asm/asm-source.exp: Make sure the final link succeeds on
...
NetBSD as it does on FreeBSD. Modelled on a similar change by
Mark Kettenis on 2003-05-30.
(link-flags): Set to "--entry _start" regardless of target.
Special linker flags are to be appended to $link-flags.
* gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
2003-11-26 01:17:16 +00:00
gdbadmin
5b761a580b
*** empty log message ***
2003-11-26 00:00:32 +00:00
Andrew Cagney
24557e30a9
2003-11-25 Andrew Cagney <cagney@redhat.com>
...
* thread-db.c (enable_thread_event): New function. Ensure that BP
is a code address.
(enable_thread_event_reporting): Use enable_thread_event.
2003-11-25 23:31:40 +00:00
Kazu Hirata
3db8d52cad
* config/tc-h8300.c (h8_exp): Remove.
2003-11-25 23:09:47 +00:00
Alan Modra
a221dd44da
daily update
2003-11-25 23:00:06 +00:00
DJ Delorie
51948b34c5
merge from gcc
2003-11-25 22:35:33 +00:00
Michael Snyder
78c63a3b6f
2003-11-25 Michael Snyder <msnyder@redhat.com>
...
* mips-tdep.c (mips_o64_extract_return_value): Correct for
NUM_REGS (see changes 2003-06-21).
(mips_eabi_extract_return_value): Ditto.
2003-11-25 22:15:24 +00:00
Danny Smith
f93464114f
* doc/binutils.texi (dlltool): Document dlltool --temp-prefix
...
option.
* dlltool.c (usage): Likewise.
2003-11-25 19:50:04 +00:00
Michael Chastain
c9f2c8a388
2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/method.exp: Accept output of new demangler.
2003-11-25 17:39:07 +00:00
Michael Chastain
15a0587afe
Fix typo in my e-mail address in last ChangeLog commit.
...
Argh!
2003-11-25 17:10:57 +00:00
Nick Clifton
4892e51064
Catch illegal register pairings in ldm/stm instructions.
...
Update test files to avoid illegal pairings.
2003-11-25 16:13:36 +00:00
Andrew Cagney
aff6338aa9
2003-11-25 Andrew Cagney <cagney@redhat.com>
...
* infrun.c: Don't include "exec.h".
(handle_inferior_event): Pass current_target, instead of exec_ops,
to SOLIB_ADD. Add comments.
* Makefile.in (infrun.o): Update dependencies.
2003-11-25 16:01:36 +00:00
Michael Chastain
f4e8b6f343
2003-11-25 Michael Chastain <mec@gnu.mindspring.com>
...
* gdb/class2.exp: New file.
* gdb/class2.cc: New file.
2003-11-25 15:01:31 +00:00
Michael Chastain
3c00b5704f
2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/templates.exp (test_ptype_of_templates): Accept output
of new demangler.
2003-11-25 14:34:37 +00:00
Nick Clifton
955a76eb5f
Skip N_EXCL stabs when procesing N_BINCL stabs.
2003-11-25 11:59:57 +00:00
Alan Modra
ee7de3e631
* elf64-ppc.c (ppc_type_of_stub): Disallow stubs other than
...
ppc_stub_plt_call to symbols defined in shared libs.
2003-11-25 02:14:25 +00:00
gdbadmin
e3ab1ac027
*** empty log message ***
2003-11-25 00:00:32 +00:00
Alan Modra
f6d410d92f
daily update
2003-11-24 23:00:05 +00:00
DJ Delorie
6d95373e7c
merge from gcc
2003-11-24 19:33:33 +00:00
Kazu Hirata
5c4491d385
* aix5ppc-core.c: Fix comment typos.
...
* aout-arm.c: Likewise.
* aout-ns32k.c: Likewise.
* aoutx.h: Likewise.
* archures.c: Likewise.
* bfd-in.h: Likewise.
* bfd.c: Likewise.
* bfdio.c: Likewise.
* coff-arm.c: Likewise.
* coff-h8300.c: Likewise.
* coff-i860.c: Likewise.
* coff-m88k.c: Likewise.
* coff-mcore.c: Likewise.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
* coff-z8k.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* cofflink.c: Likewise.
* cpu-alpha.c: Likewise.
* cpu-arm.c: Likewise.
* cpu-ns32k.c: Likewise.
* dwarf2.c: Likewise.
* bfd-in2.h: Regenerate.
2003-11-24 18:06:40 +00:00
Kazu Hirata
254d758cf9
* listing.c: Convert to ISO-C.
...
* listing.h: Likewise.
* macro.c: Likewise.
* macro.h: Likewise.
2003-11-24 17:52:33 +00:00
Daniel Jacobowitz
9e08b29bd1
* NEWS: Mention improved location expression support.
2003-11-24 17:02:34 +00:00
Kevin Buettner
d74c420371
* frv-sim.h (GR_REGNUM_MAX, FR_REGNUM_MAX, PC_REGNUM, SPR_REGNUM_MIN)
...
(SPR_REGNUM_MAX): Delete.
* frv.c (gdb/sim-frv.h): Include.
(frvbf_fetch_register, frvbf_store_register): Use register number
constants from gdb/sim-frv.h. Check availability of general
purpose and float registers.
2003-11-24 16:45:03 +00:00
Jakub Jelinek
70b911ad67
* app.c (do_scrub_chars): Add PUT (ch) and ch = GET ()
...
when transitioning from states 14 or 15 to 0 or 1.
2003-11-24 09:24:39 +00:00