Andrew Cagney
b732d07d86
Fix logic selecting a new architecture. Use the sequence:
...
o provided by INFO
o hard-wired by (gdb) set ...
o reversed engineered from INFO.abfd
o default to previous architecture
2001-05-14 16:43:35 +00:00
H.J. Lu
4ed00bba84
2001-05-14 H.J. Lu <hjl@gnu.org>
...
* config.if (libc_interface): Set to -libc6.2- for cross
compiling to Linux/glibc 2.2.
2001-05-14 16:40:49 +00:00
Andrew Cagney
05a54c4ffa
* Makefile.in (GDBvn.texi): Set GDBVN from ../version.in.
2001-05-14 16:18:50 +00:00
Alexandre Oliva
4e75439ae5
* config/tc-mn10300.c (tc_gen_reloc): Don't reject differences
...
between symbols if the base symbol is in the current section;
emit a PC-relative relocation instead.
2001-05-13 23:16:30 +00:00
Michael Chastain
fb18ec4a20
Add missing entry for change committed on 2001-01-28.
2001-05-12 21:56:04 +00:00
Fernando Nasser
67dd5ca691
2001-05-12 Fernando Nasser <fnasser@redhat.com>
...
* remote-e7000.c (e7000_open): Check for bad baud rate.
* remote-st.c (st2000_open): Ditto.
2001-05-12 21:05:59 +00:00
H.J. Lu
8d5ec59972
2001-05-12 H.J. Lu <hjl@gnu.org>
...
* i386-dis.c (print_insn_i386): Always set `mod', `reg' and
`rm'.
2001-05-12 15:19:22 +00:00
Alan Modra
bcee8eb8ca
Peter Targett's backwards compatibility and other arc fixes.
2001-05-12 15:14:53 +00:00
Alan Modra
4bba68155d
* i386-dis.c (twobyte_has_modrm): Update table.
...
(need_modrm): Give it file scope.
(MODRM_CHECK): Define.
(dofloat): Use MODRM_CHECK.
(OP_E): Likewise.
(OP_EM): Likewise.
(OP_EX): Likewise.
and fix testsuite yet again now that we are getting correct disassembly.
2001-05-12 12:07:10 +00:00
Alan Modra
25bc089505
Oops, wrong address for pmuludq insn.
2001-05-12 10:28:20 +00:00
Alan Modra
67d6227df7
Correct cvtps2dq, movdq2q, movq2dq, and movq problems.
2001-05-12 09:52:40 +00:00
Jim Blandy
f8e42d245c
* thread.c (do_captured_list_thread_ids): Use ui_out_tuple_begin
...
and ui_out_tuple_end instead of ui_out_list_begin and
ui_out_list_end.
2001-05-12 05:04:01 +00:00
Jim Blandy
529acb4893
* Makefile.in (gnu-v2-abi.o): Add $(demangle_h) to list of
...
dependencies. Reorder dependencies to match #includes in file,
for easier verification.
2001-05-12 04:09:38 +00:00
Andrew Cagney
666547aa9e
s/ui_out_list/ui_out_tupple/
2001-05-12 04:08:24 +00:00
Jim Blandy
30c98d84cd
* gnu-v2-abi.c: Don't #include "gdb_regex.h". We don't use it.
2001-05-12 04:01:16 +00:00
Andrew Cagney
1faa59a8b2
Tweeks from RDBrown to fix compiling on HP/UX using HP's compiler.
2001-05-12 03:18:34 +00:00
Andrew Cagney
5d6640b1ba
NEWS on version.in.
2001-05-12 01:34:09 +00:00
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