Jim Blandy
99567b1b4e
* mips-tdep.c (mips_store_return_value,
...
mips_extract_return_value): Pass arguments to
return_value_location in the proper order.
2001-05-12 00:38:11 +00:00
Andrew Cagney
d381488167
Replace Makefile.in:VERSION with the file version.in.
2001-05-12 00:31:09 +00:00
Nick Clifton
fb7a8ef0df
Fix handling of XScale LDRD and STRD instructions with post indexed addressing modes.
2001-05-11 21:51:07 +00:00
DJ Delorie
6112b8746a
merge from gcc
2001-05-11 20:22:28 +00:00
Elena Zannoni
a602d56b17
2001-05-10 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/completion.exp: Revamp test. Make it execute on all
platforms.
2001-05-11 19:53:38 +00:00
Elena Zannoni
40713331c5
2001-05-10 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/completion.exp: Revamp test. Make it execute on all
platforms.
2001-05-11 19:53:04 +00:00
Kevin Buettner
4d28f7a8fb
Add ``type'' parameter to set_raw_breakpoint().
2001-05-11 19:46:35 +00:00
Fernando Nasser
08b4f080d5
2001-05-11 Fernando Nasser <fnasser@redhat.com>
...
* ser-unix.c (rate_to_code): Issue warning if baud rate is invalid.
(hardwire_setbaudrate): Set errno to EINVAL and return with error
if the conversion of the baud rate to code fails.
2001-05-11 18:34:13 +00:00
Michael Snyder
3ac4495ac8
2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
...
* symtab.c (print_msymbol_info): Print addresses by portable method
longest_local_hex_string_custom. Allow for 64-bit addresses.
2001-05-11 17:48:31 +00:00
Jakub Jelinek
579f31ac74
* elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind
...
sections as well.
(elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO
to .gnu.linkonce.t.FOO text section.
* readelf.c (process_unwind): Print all unwind sections, not just
one.
* config/tc-ia64.c (special_linkonce_name): New.
(make_unw_section): Map .gnu.linkonce.t.FOO text section into
.gnu.linkonce.ia64unw{,i}.FOO.
(ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO.
(dot_endp): Add comment about it.
* elf/ia64.h (ELF_STRING_ia64_unwind_once): Define.
(ELF_STRING_ia64_unwind_info_once): Define.
* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
.gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
output sections.
* emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2001-05-11 12:36:47 +00:00
Jakub Jelinek
8550eb6e64
* merge.c (struct sec_merge_hash_entry): Add u.entsize and u.suffix
...
fields, change sec into secinfo.
(struct sec_merge_info): Add chain, remove last fields.
(struct sec_merge_sec_info): Add next, sec, psecinfo fields.
(sec_merge_hash_lookup): If lookup could not use a string only
because it has bad alignment, mark the old string for deletion.
(sec_merge_add): Add secinfo argument. Don't compute entry's
position, instead record the section.
(sec_merge_emit): Update for the sec into secinfo change in
struct sec_merge_hash_entry.
(_bfd_merge_section): Only record the section for merging, defer
putting strings into the hash table.
(cmplengthentry, last4_eq, last_eq, record_section, merge_strings,
_bfd_merge_sections): New functions.
(_bfd_merged_section_offset): Update for the sec_merge_hash_entry
changes.
* libbfd-in.h (_bfd_merge_sections): Add prototype.
(_bfd_nolink_bfd_merge_sections): Define.
* libbfd.h: Likewise.
(bfd_generic_merge_sections): Add prototype.
* targets.c (BFD_JUMP_TABLE_LINK): Add _bfd_merge_sections.
(struct bfd_target): Likewise.
* bfd.c (bfd_merge_sections): Define.
* bfd-in2.h: Rebuilt.
* elf.c (_bfd_elf_merge_sections): New function.
* elf-bfd.h (_bfd_elf_merge_sections): Add prototype.
* elfxx-target.h (bfd_elfNN_bfd_merge_sections): Define.
* reloc.c (bfd_generic_merge_sections): New function.
* vms.c (vms_bfd_merge_sections): New function.
* aout-adobe.c (aout_32_bfd_merge_sections): Define.
* aout-target.h (MY_bfd_merge_sections): Define.
* aout-tic30.c (MY_bfd_merge_sections): Define.
* binary.c (binary_bfd_merge_sections): Define.
* bout.c (b_out_bfd_merge_sections): Define.
* coff-alpha.c (_bfd_ecoff_bfd_merge_sections): Define.
* coffcode.c (coff_bfd_merge_sections): Define.
* coff-mips.c (_bfd_ecoff_bfd_merge_sections): Define.
* i386msdos.c (msdos_bfd_merge_sections): Define.
* i386os9k.c (os9k_bfd_merge_sections): Define.
* ieee.c (ieee_bfd_merge_sections): Define.
* ihex.c (ihex_bfd_merge_sections): Define.
* nlm-target.h (nlm_bfd_merge_sections): Define.
* oasys.c (oasys_bfd_merge_sections): Define.
* ppcboot.c (ppcboot_bfd_merge_sections): Define.
* som.c (som_bfd_merge_sections): Define.
* srec.c (srec_bfd_merge_sections): Define.
* tekhex.c (tekhex_bfd_merge_sections): Define.
* versados.c (versados_bfd_merge_sections): Define.
* xcoff-target.h (_bfd_xcoff_bfd_merge_sections): Define.
* ldlang.c (lang_process): Call bfd_merge_sections.
2001-05-11 12:23:48 +00:00
Nick Clifton
15f65ae412
When truncating an aligned block, ensure that the low order bits of the
...
alignment are preserved.
2001-05-11 10:01:41 +00:00
Nick Clifton
1548c54f2e
Change type of 'addr' to be unsigned long, in order to match its use.
2001-05-11 09:55:02 +00:00
Fernando Nasser
e800833bdb
2001-05-11 Fernando Nasser <fnasser@redhat.com>
...
* mi-var-child.exp: Adjust for the fact that now (char *) can be
dereferenced.
2001-05-11 07:00:04 +00:00
H.J. Lu
689effed70
2001-05-10 H.J. Lu <hjl@gnu.org>
...
* linker.c (_bfd_generic_link_add_one_symbol): Check loop on
indirect symbols.
2001-05-10 22:59:29 +00:00
Andrew Cagney
9a0f0643ee
Pass the tupple/list parameter.
2001-05-10 22:32:26 +00:00
Andrew Cagney
127431f9a7
2001-05-10 Andrew Cagney <ac131313@redhat.com>
...
* ui-out.h (make_cleanup_ui_out_begin_end): Declare.
* ui-out.c (struct ui_out_end_cleanup_data): Define.
(do_cleanup_end): New function. Replace do_list_end.
(make_cleanup_ui_out_end): New function.
(make_cleanup_ui_out_begin_end): New function.
(make_cleanup_ui_out_list_end): Use make_cleanup_ui_out_end.
2001-05-10 21:30:37 +00:00
Elena Zannoni
5dbc5e5f25
2001-05-10 Elena Zannoni <ezannoni@redhat.com>
...
* MAINTAINERS: Declare xcoffread.c open to all maintainers,
and make Kevin Buettner (kevinb@redhat.com ) the reference person.
2001-05-10 21:10:09 +00:00
Elena Zannoni
8e40d29290
2001-05-10 Elena Zannoni <ezannoni@redhat.com>
...
* proc-api.c (ioctl_with_trace): Fix uninitialized variable.
2001-05-10 21:03:03 +00:00
Fernando Nasser
5a703563ae
2001-05-10 Fernando Nasser <fnasser@redhat.com>
...
* MAINTAINERS: Add testsuite subdirectory co-maintainers.
2001-05-10 20:33:09 +00:00
Andrew Cagney
6311b07d72
Fix -Werror problem with mi-main.c.
2001-05-10 20:31:46 +00:00
Elena Zannoni
2c9cd3035a
Fix ChangeLog cut-n-paste error!
2001-05-10 19:36:38 +00:00
Elena Zannoni
c2c1be8d4c
2001-04-12 Elena Zannoni <ezannoni@redhat.com>
...
* config/gdbserver.exp (gdb_load): Handle the case
in which the arguments to gdbserver are given in the
baseboard configuration file.
Also handle the case in which the server needs to do a
load.
2001-05-10 19:35:14 +00:00
Michael Snyder
f78f6cf107
2001-05-10 Michael Snyder <msnyder@redhat.com>
...
* remote.c (remote_open_1): Call no_shared_libraries, so that
symbols for shared libraries can be reloaded per session.
(remote_async_open_1): Ditto.
2001-05-10 19:06:19 +00:00
Michael Snyder
30559e10c3
2001-05-10 Michael Snyder <msnyder@redhat.com>
...
* remote.c (bin2hex, hex2bin): New functions. Factor out these
two conversions which are coded for repeatedly in this module.
(remote_threads_extra_info, remote_wait, remote_async_wait,
store_register_using_P, remote_store_registers, remote_write_bytes,
remote_read_bytes, remote_rcmd): Use bin2hex and hex2bin instead
of coding the conversions inline.
(fromhex): Not exported, change from extern to static.
2001-05-10 19:00:35 +00:00
Andrew Cagney
0a1d979176
Delete ``info architecture'' command.
2001-05-10 18:36:26 +00:00
Andrew Cagney
ee05526729
General updates for 5.1/5.2 lists.
2001-05-10 18:20:51 +00:00
Andrew Cagney
85886af694
Jim Ingham stepping back from Arm maintenance.
2001-05-10 18:10:48 +00:00
Keith Seitz
ecb9ce7eca
* Makefile.in (SUBDIR_GDBTK_OBS): Add gdbtk-bp.o, gdbtk-register.o
...
and gdbtk-stack.o.
(SUBDIR_GDBTK_SRCS): Ditto for the sources.
(gdbtk-bp.o): New rule.
(gdbtk-register.o): New rule.
(gdbtk-stack.o): New rule.
(gdbtk-cmds.o): Update dependencies.
(gdbtk.o): Ditto.
(gdbtk-hooks.o): Ditto.
(gdbtk-varobj.o): Ditto.
2001-05-10 18:02:58 +00:00
Andrew Cagney
d448180670
Don't loose last block during a dma.
2001-05-10 17:48:10 +00:00
Fernando Nasser
f7635dd920
2001-05-10 Fernando Nasser <fnasser@redhat.com>
...
* varobj.c (c_number_of_children): Fix memory leak. Delete unwanted old
variables, not just unregister them.
2001-05-10 16:57:01 +00:00
Fernando Nasser
0755e6c1ab
2001-05-10 Fernando Nasser <fnasser@redhat.com>
...
* varobj.c (c_number_of_children): Check for target type of void*,
not the target type name. Allow dereferencing char*.
2001-05-10 16:44:56 +00:00
Fernando Nasser
d7db6da9f6
2001-05-10 Fernando Nasser <fnasser@redhat.com>
...
* symfile.c (symbol_file_add_main_1): New static function.
Passes the flags arguments to symbol_file_add() and takes care
of any necessary reinitializations.
(symbol_file_command): Call symbol_file_add_main_1() instead of
symbol_file_add().
(symbol_file_add_main): Ditto.
2001-05-10 15:33:21 +00:00
Alan Modra
606ab118ba
Fix more fallout from multi-pass relaxation patch.
2001-05-10 11:32:52 +00:00
Eli Zaretskii
dab11f21ed
* gdbint.texinfo (Clean Design and Portable Implementation):
...
Renamed from "Clean Design".
(Clean Design and Portable Implementation): Document portable
methods of handling file names, and the associated macros.
2001-05-10 10:29:37 +00:00
Hans-Peter Nilsson
cbc5fe5056
* gas/cris/rd-dw2-10.d: Tweak for change in gas dwarf2 line number
...
handling.
2001-05-10 02:31:01 +00:00
Kevin Buettner
3d6e28e2e7
Revert a couple of small changes that inadvertently came in via the
...
2001-05-03 patch.
2001-05-10 01:34:17 +00:00
Kevin Buettner
01263b571c
Minor ptid_t changes for the upcoming phase 3 ptid patch.
2001-05-10 01:07:39 +00:00
Richard Henderson
1f23ade4f4
* config/tc-ia64.c (generate_unwind_image): Align the fragment
...
beginning a function's unwind info block.
2001-05-10 00:18:19 +00:00
H.J. Lu
6e5222be78
2001-05-09 H.J. Lu <hjl@gnu.org>
...
* elflink.h (elf_link_add_object_symbols): Fix a typo. Allocate
versymhdr->sh_size bytes for extversym instead of hdr->sh_size.
Remove the unused veriable `dynver'.
2001-05-09 22:34:30 +00:00
DJ Delorie
b50c407366
merge from gcc
2001-05-09 20:08:48 +00:00
Elena Zannoni
74a151fa4a
2001-05-09 Elena Zannoni <ezannoni@redhat.com>
...
* sh3-rom.c (_initialize_sh3_rom): Get rid of specific _WINDOWS
conditional for help with connections through parallel ports,
given that the actual code for downloading through a parallel port
is not conditionalized.
* sh-tdep.c: Remove WIN32_WCE conditional. The wince sh target is
unmaintaned, and probably on its way to obsolescence.
2001-05-09 17:51:01 +00:00
Mark Kettenis
0d17c81d95
* i386-tdep.c (i386_frame_saved_pc): New function.
...
* config/i386/tm-i386.h (FRAME_SAVED_PC): Redefine in terms of
i386_frame_saved_pc.
(i386_frame_saved_pc): New prototype.
2001-05-09 16:16:33 +00:00
Alexandre Oliva
96f37af640
* config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs.
2001-05-09 13:32:01 +00:00
Mark Kettenis
d7a0d72c95
* i386-tdep.c (i386_register_virtual_type): New function.
...
(i386_register_convertible): New function.
* config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE): Redefine in terms
of i386_register_virtual_type.
(REGISTER_CONVERTIBLE): Redefine in terms of
i386_register_convertible.
(i386_register_virtual_type, i386_register_convertible): New
prototypes.
2001-05-09 09:58:45 +00:00
Jim Blandy
6e0ce711e9
* Makefile.in (mn10300-tdep.o): New rule.
...
* Makefile.in (gdb_string_h): Define. Use it throughout.
Some rules were already using this, even though it isn't defined.
2001-05-09 05:45:31 +00:00
Jim Blandy
3375748999
* Makefile.in (mn10300-tdep.o): New rule.
2001-05-09 05:45:30 +00:00
Jim Blandy
c2c197ae42
* Makefile.in (obstack_h, target_h): Define; these are already
...
used elsewhere, but have been expanding to the empty string.
(memattr_h): Define; needed by target_h.
2001-05-09 05:23:24 +00:00
Jim Blandy
c064f384c9
* mn10300-tdep.c (mn10300_extract_return_value): Mark this as
...
static. (This was accidentally omitted from the earlier patch.)
2001-05-09 05:03:01 +00:00
Jim Blandy
2343651077
* mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
...
(mn10300_gdbarch_init): Register it as the architecture's
dwarf2_reg_to_regnum method.
2001-05-09 02:55:21 +00:00