OSDN Git Service
rth [Wed, 16 May 2001 16:20:26 +0000 (16:20 +0000)]
* readelf.c (do_debug_frames_interp): New.
(byte_get_little_endian): If BFD64, always read entire 8-byte fields.
(byte_get_big_endian): Likewise.
(parse_args) ['F']: Set do_debug_frames_interp.
(Frame_Chunk): Make data_factor signed, add fde_encoding.
(frame_display_row): Don't trunc pc_begin to int.
(size_of_encoded_value): New.
(display_debug_frames): Handle 64-bit targets. Print raw data
unless do_debug_frames_interp.
(debug_displays): Remove duplicate .debug_frame.
corinna [Wed, 16 May 2001 16:01:45 +0000 (16:01 +0000)]
* include/winnt.h: Add defines for group attributes.
Add define for SYSTEM_LUID.
Add missing types `PTOKEN_DEFAULT_DACL', `PTOKEN_OWNER' and
`PTOKEN_PRIMARY_GROUP'.
corinna [Wed, 16 May 2001 07:25:31 +0000 (07:25 +0000)]
* sec_helper.cc (legal_sid_type): Fix conditional. Change to
inline function.
aoliva [Wed, 16 May 2001 05:26:57 +0000 (05:26 +0000)]
* gmon_io.c (gmon_io_read, gmon_io_write_vma,
gmon_io_write_32, gmon_io_write_8, gmon_io_write): Adjust
argument list for K&R C.
cgf [Wed, 16 May 2001 05:07:49 +0000 (05:07 +0000)]
* autoload.h: Eliminate.
* autoload.cc: Pull in autoload.h. Eliminate many macros. Rewrite to avoid
necessity of initialization routines. Just use a standard one.
(wsock_init): New function. Moved from net.cc.
* net.cc (wsock_init): Move to autoload.cc.
(wsadata): Make global.
* dtable.cc (dtable::build_fhandler): Use more reliable method for checking if
net stuff has been loaded.
aoliva [Wed, 16 May 2001 01:48:51 +0000 (01:48 +0000)]
* config/tc-mn10300.c (mn10300_force_relocation): Don't
optimize differences between symbols in code sections to
constants.
(mn10300_fix_adjustable): Don't adjust to section+offset
relocations pointing at symbols in code sections.
aoliva [Wed, 16 May 2001 01:48:13 +0000 (01:48 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Don't relax
negative 32-bit operands to 16 operands when the operand is
going to be zero-extended by the modified opcode.
amodra [Wed, 16 May 2001 01:08:20 +0000 (01:08 +0000)]
Fix dwarf2_emit_insn calls when frag_var breaks things.
Put back an old entry in ChangeLog-9899, deleted when ChangeLog split.
corinna [Tue, 15 May 2001 19:23:30 +0000 (19:23 +0000)]
* fork.cc (fork): Eliminate superfluous call to getuid().
* security.h: New define `NO_SID'. Remove declarations of functions
moved to methods into class cygsid.
(class cygsid): Declare new methods `getfromstr', `get_sid',
`getfrompw', `getfromgr', `get_rid', `get_uid', `get_gid', `string'
and new constructors and operators =, == and !=.
Declare new global cygsids `well_known_XXX_sid' substituting the
corresponding `get_XXX_sid' functions. Remove declarations of
these functions.
* sec_helper.cc (well_known_admin_sid): New global variable.
(well_known_system_sid): Ditto
(well_known_creator_owner_sid): Ditto
(well_known_world_sid): Ditto
(cygsid::string): New method, substituting `convert_sid_to_string_sid'.
(cygsid::get_sid): New method, substituting `get_sid'.
(cygsid::getfromstr): New method, substituting
`convert_string_sid_to_sid'.
(cygsid::getfrompw): New method, substituting `get_pw_sid'.
(cygsid::getfromgr): New method, substituting `get_gr_sid'.
(cygsid::get_id): New method, substituting `get_id_from_sid'.
(get_admin_sid): Eliminated.
(get_system_sid): Ditto.
(get_creator_owner_sid): Ditto.
(get_world_sid): Ditto.
* grp.cc: Use new cygsid methods and well known sids throughout.
* registry.cc: Ditto.
* sec_acl.cc: Ditto.
* security.cc: Ditto.
* shared.cc: Ditto.
* syscalls.cc (seteuid): Ditto. Eliminate redundant conditional.
* uinfo.cc (internal_getlogin): Ditto.
* spawn.cc (spawn_guts) Revert previous patch.
fche [Tue, 15 May 2001 18:10:05 +0000 (18:10 +0000)]
* cgen disasm bug fix
2001-05-15 Frank Ch. Eigler <fche@redhat.com>
* cgen-dis.in (extract_normal): Complete support for min<base case.
nickc [Tue, 15 May 2001 12:24:29 +0000 (12:24 +0000)]
Remove definition of EM_MIPS_RS4_BE. The constant was never in active use
and is used otherwise by the ABI.
nickc [Tue, 15 May 2001 12:11:11 +0000 (12:11 +0000)]
Fix MIPS disassembler so that it produces reassemblable code.
kettenis [Tue, 15 May 2001 11:38:25 +0000 (11:38 +0000)]
* sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
info.bfd_arch_info.
corinna [Tue, 15 May 2001 10:03:00 +0000 (10:03 +0000)]
* winsup.api/winsup.exp: Force linking all tests against binmode.o.
corinna [Tue, 15 May 2001 08:42:15 +0000 (08:42 +0000)]
* fhandler_socket.cc (fhandler_socket::ioctl): Convert s_addr
field to host byte order before comparing with INADDR_LOOPBACK.
corinna [Tue, 15 May 2001 08:15:53 +0000 (08:15 +0000)]
* autoload.cc: Add autoload statements for ws2_32 functions
`WSACloseEvent', `WSACreateEvent', `WSAGetOverlappedResult',
`WSARecv', `WSARecvFrom', `WSASend', `WSASendTo' and `WSASetEvent',
`WSAWaitForMultipleEvents'.
* net.cc: Define wsock_evt.
(wsock_event): New class.
(cygwin_sendto): Use overlapped socket io if available.
(cygwin_recvfrom): Ditto.
(cygwin_recv): Ditto.
(cygwin_send): Ditto.
* security.cc (subauth): Set Win32 error to 0 to safely ask for the
error code of dynamically loaded function `LsaRegisterLogonProcess'.
rth [Tue, 15 May 2001 06:10:43 +0000 (06:10 +0000)]
* ehopt.c (eh_frame_convert_frag): Fix missed subtype adjustment
last change.
cgf [Tue, 15 May 2001 05:11:55 +0000 (05:11 +0000)]
* Makefile.common: Change method for finding current directory.
kevinb [Tue, 15 May 2001 00:13:46 +0000 (00:13 +0000)]
Fix warnings resulting from fact that GET_LWP() now returns a long rather
than an int.
kevinb [Tue, 15 May 2001 00:03:35 +0000 (00:03 +0000)]
Redefine ptid_t to be a struct rather than an int.
rth [Mon, 14 May 2001 22:37:47 +0000 (22:37 +0000)]
* ehopt.c (get_cie_info): Rename from eh_frame_code_alignment;
also collect whether to expect an FDE augmentation.
(check_eh_frame): Rewrite as a state machine. Track where in
an FDE we are located, skip any augmentation.
(eh_frame_estimate_size_before_relax): Get code alignment from
the fragment subtype.
(eh_frame_relax_frag, eh_frame_convert_frag): Likewise.
* read.c (emit_leb128_expr): Call check_eh_frame.
rth [Mon, 14 May 2001 22:37:31 +0000 (22:37 +0000)]
* gas/elf/ehopt0.s: New.
* gas/elf/ehopt0.d: New.
* gas/elf/elf.exp: Run it.
cagney [Mon, 14 May 2001 20:24:23 +0000 (20:24 +0000)]
Remove stray @item's.
aoliva [Mon, 14 May 2001 20:01:12 +0000 (20:01 +0000)]
* config/tc-mn10300.c (md_assemble): Anchor dwarf2 line info
before a relaxable insns.
cgf [Mon, 14 May 2001 19:39:56 +0000 (19:39 +0000)]
* errno.cc (_sys_errlist): Add missing commas.
msnyder [Mon, 14 May 2001 19:01:59 +0000 (19:01 +0000)]
2001-05-14 Michael Snyder <msnyder@redhat.com>
* remote.c (hex2bin): Make first argument const.
Require explicit count, don't accept null-terminated str.
(remote_resume, remote_async_resume): White space fix-up.
kettenis [Mon, 14 May 2001 18:49:53 +0000 (18:49 +0000)]
* symtab.c (lookup_symtab_1): Use lbasename (NAME) instead of
basename (NAME). The FreeBSD basename returns a pointer to a
static buffer, even if it's simply returning a string identical to
its argument.
(lookup_partial_symtab): Likewise.
msnyder [Mon, 14 May 2001 18:45:44 +0000 (18:45 +0000)]
2001-05-14 Michael Snyder <msnyder@redhat.com>
* solib.c, solib.h: Add comment for function no_shared_libraries.
msnyder [Mon, 14 May 2001 18:31:35 +0000 (18:31 +0000)]
2001-05-14 Michael Snyder <msnyder@redhat.com>
* remote.c (remote_write_bytes): Set nr_bytes to return value of
bin2hex.
kseitz [Mon, 14 May 2001 18:21:53 +0000 (18:21 +0000)]
* library/interface.tcl (gdbtk_quit_check): Don't save sessions
here. It doesn't work for the Console Window.
(gdbtk_cleanup): Save session information here.
(gdbtk_tcl_exec_file_display): When files are loaded,
get the full pathname to the exe.
kevinb [Mon, 14 May 2001 18:09:04 +0000 (18:09 +0000)]
Fix no_shared_libraries() declaration.
jtc [Mon, 14 May 2001 17:20:12 +0000 (17:20 +0000)]
* ppc-opc.c (powerpc_opcodes): Fixed extended opcode field of
simplified mnemonics used for setting PPC750-specific special
purpose registers.
cagney [Mon, 14 May 2001 16:59:49 +0000 (16:59 +0000)]
Output ``[...]'' when a list.
dj [Mon, 14 May 2001 16:55:23 +0000 (16:55 +0000)]
* Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
* Makefile.in: Ditto.
cagney [Mon, 14 May 2001 16:48:01 +0000 (16:48 +0000)]
* remote.c (remote_write_bytes): Set nr_bytes before returning it.
* solib.h (no_shared_libraries): Declare.
cagney [Mon, 14 May 2001 16:43:33 +0000 (16:43 +0000)]
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
hjl [Mon, 14 May 2001 16:40:48 +0000 (16:40 +0000)]
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.
cagney [Mon, 14 May 2001 16:18:50 +0000 (16:18 +0000)]
* Makefile.in (GDBvn.texi): Set GDBVN from ../version.in.
corinna [Mon, 14 May 2001 14:14:18 +0000 (14:14 +0000)]
* security.cc (subauth): Check if Secur32.dll could be loaded.
bje [Mon, 14 May 2001 06:57:53 +0000 (06:57 +0000)]
2001-05-14 Ben Elliston <bje@redhat.com>
* sidcomp.cgen-cpu.arm7t/armconf.exp: Update srcdir names.
* sidcomp.cgen-cpu.arm7t/armeit.conf: Likewise.
* sidcomp.cgen-cpu.arm7t/armmisc.exp: Likewise.
bje [Mon, 14 May 2001 06:35:30 +0000 (06:35 +0000)]
2001-05-14 Ben Elliston <bje@redhat.com>
* sidcomp.cgen-cpu/armconf.exp: Move to sidcomp.cgen-cpu.arm7t.
* sidcomp.cgen-cpu/armeit.conf: Ditto.
* sidcomp.cgen-cpu/armeit.tcl: Ditto.
* sidcomp.cgen-cpu/armfiq.cs: Ditto.
* sidcomp.cgen-cpu/armhello.ms: Ditto.
* sidcomp.cgen-cpu/armimemfault.ms: Ditto.
* sidcomp.cgen-cpu/arminvinsn.ms: Ditto.
* sidcomp.cgen-cpu/armirq.cs: Ditto.
* sidcomp.cgen-cpu/armmemfault.ms: Ditto.
* sidcomp.cgen-cpu/armmisc.exp: Ditto.
* sidcomp.cgen-cpu/armutils.inc: Ditto.
cgf [Mon, 14 May 2001 02:52:11 +0000 (02:52 +0000)]
* path.cc (path_conv::check): Revert allow_ntsec check so that volume info is
always retrieved and isdisk setting is properly set.
cgf [Mon, 14 May 2001 02:49:56 +0000 (02:49 +0000)]
Fix formatting.
aoliva [Sun, 13 May 2001 23:16:30 +0000 (23:16 +0000)]
* 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.
cgf [Sun, 13 May 2001 18:05:52 +0000 (18:05 +0000)]
* fhandler_tty.cc (fhandler_tty_common::dup): Preserve O_NOCTTY when duping a
filehandle.
chastain [Sat, 12 May 2001 21:56:04 +0000 (21:56 +0000)]
Add missing entry for change committed on 2001-01-28.
fnasser [Sat, 12 May 2001 21:05:58 +0000 (21:05 +0000)]
2001-05-12 Fernando Nasser <fnasser@redhat.com>
* remote-e7000.c (e7000_open): Check for bad baud rate.
* remote-st.c (st2000_open): Ditto.
corinna [Sat, 12 May 2001 16:24:05 +0000 (16:24 +0000)]
* dir.cc (rmdir): Rearrange slightly to allow removing directories
even when R/O attribute is set.
hjl [Sat, 12 May 2001 15:19:22 +0000 (15:19 +0000)]
2001-05-12 H.J. Lu <hjl@gnu.org>
* i386-dis.c (print_insn_i386): Always set `mod', `reg' and
`rm'.
amodra [Sat, 12 May 2001 15:14:51 +0000 (15:14 +0000)]
Peter Targett's backwards compatibility and other arc fixes.
amodra [Sat, 12 May 2001 12:07:08 +0000 (12:07 +0000)]
* 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.
amodra [Sat, 12 May 2001 10:28:20 +0000 (10:28 +0000)]
Oops, wrong address for pmuludq insn.
amodra [Sat, 12 May 2001 09:52:37 +0000 (09:52 +0000)]
Correct cvtps2dq, movdq2q, movq2dq, and movq problems.
jimb [Sat, 12 May 2001 05:04:01 +0000 (05:04 +0000)]
* 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.
jimb [Sat, 12 May 2001 04:09:38 +0000 (04:09 +0000)]
* Makefile.in (gnu-v2-abi.o): Add $(demangle_h) to list of
dependencies. Reorder dependencies to match #includes in file,
for easier verification.
cagney [Sat, 12 May 2001 04:09:04 +0000 (04:09 +0000)]
From Rodney Brown,
* configure.in: Only define _XOPEN_SOURCE if NSIG remains defined.
cagney [Sat, 12 May 2001 04:08:23 +0000 (04:08 +0000)]
s/ui_out_list/ui_out_tupple/
jimb [Sat, 12 May 2001 04:01:15 +0000 (04:01 +0000)]
* gnu-v2-abi.c: Don't #include "gdb_regex.h". We don't use it.
cagney [Sat, 12 May 2001 03:18:33 +0000 (03:18 +0000)]
Tweeks from RDBrown to fix compiling on HP/UX using HP's compiler.
tromey [Sat, 12 May 2001 01:47:35 +0000 (01:47 +0000)]
* library/prefs.tcl (pref_save): Fix bug when key in gdb space has
extra `/' in it.
cagney [Sat, 12 May 2001 01:34:09 +0000 (01:34 +0000)]
NEWS on version.in.
jimb [Sat, 12 May 2001 00:38:11 +0000 (00:38 +0000)]
* mips-tdep.c (mips_store_return_value,
mips_extract_return_value): Pass arguments to
return_value_location in the proper order.
cagney [Sat, 12 May 2001 00:31:08 +0000 (00:31 +0000)]
Replace Makefile.in:VERSION with the file version.in.
nickc [Fri, 11 May 2001 21:51:07 +0000 (21:51 +0000)]
Fix handling of XScale LDRD and STRD instructions with post indexed addressing modes.
cgf [Fri, 11 May 2001 21:01:44 +0000 (21:01 +0000)]
* external.cc (fillout_pinfo): Use correct pids.
* path.cc (mount_info::conv_to_win32_path): Correct test for whether to include
a slash.
dj [Fri, 11 May 2001 20:22:28 +0000 (20:22 +0000)]
merge from gcc
kevinb [Fri, 11 May 2001 20:01:57 +0000 (20:01 +0000)]
* generic/gdbtk-bp.c (set_raw_breakpoint): Revise declaration
to match the recently changed declaration in breakpoint.c.
Update all callers.
ezannoni [Fri, 11 May 2001 19:53:38 +0000 (19:53 +0000)]
2001-05-10 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/completion.exp: Revamp test. Make it execute on all
platforms.
ezannoni [Fri, 11 May 2001 19:53:04 +0000 (19:53 +0000)]
2001-05-10 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/completion.exp: Revamp test. Make it execute on all
platforms.
kevinb [Fri, 11 May 2001 19:46:35 +0000 (19:46 +0000)]
Add ``type'' parameter to set_raw_breakpoint().
fnasser [Fri, 11 May 2001 18:34:13 +0000 (18:34 +0000)]
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.
msnyder [Fri, 11 May 2001 17:48:31 +0000 (17:48 +0000)]
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.
kseitz [Fri, 11 May 2001 14:33:10 +0000 (14:33 +0000)]
* generic/gdbtk-bp.c (gdbtk_create_breakpoint): Safe guard
against "invalid" (internal) breakpoint numbers.
(gdbtk_modify_breakpoint): Ditto.
(gdbtk_delete_breakpoint): Ditto.
jakub [Fri, 11 May 2001 12:36:45 +0000 (12:36 +0000)]
* 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.
jakub [Fri, 11 May 2001 12:23:45 +0000 (12:23 +0000)]
* 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.
nickc [Fri, 11 May 2001 10:01:40 +0000 (10:01 +0000)]
When truncating an aligned block, ensure that the low order bits of the
alignment are preserved.
nickc [Fri, 11 May 2001 09:55:01 +0000 (09:55 +0000)]
Change type of 'addr' to be unsigned long, in order to match its use.
fnasser [Fri, 11 May 2001 07:00:04 +0000 (07:00 +0000)]
2001-05-11 Fernando Nasser <fnasser@redhat.com>
* mi-var-child.exp: Adjust for the fact that now (char *) can be
dereferenced.
cgf [Fri, 11 May 2001 05:11:11 +0000 (05:11 +0000)]
* exceptions.cc (handle_exceptions): Don't print message when executing from a
cygwin program.
kseitz [Fri, 11 May 2001 05:08:32 +0000 (05:08 +0000)]
* generic/gdbtk-bp.c (gdb_set_bp): Generate a breakpoint event
when we create a breakpoint. The hook is no longer used.
(gdb_set_bp_addr): Ditto.
cgf [Fri, 11 May 2001 03:27:22 +0000 (03:27 +0000)]
Christopher Faylor <cgf@redhat.com>
* environ.cc (winenv): Always add SYSTEMDRIVE and SYSYEMROOT to win32-style
environment if they don't already exist.
bje [Fri, 11 May 2001 02:24:51 +0000 (02:24 +0000)]
2001-05-11 Ben Elliston <bje@redhat.com>
* gas-test.scm (cgen-build.sh, gentest): Escape $ with a backslash
when generating allinsn.d from objdump output. Without it, the
testsuite will treat $ as the regular expression for end of line.
hjl [Thu, 10 May 2001 22:59:29 +0000 (22:59 +0000)]
2001-05-10 H.J. Lu <hjl@gnu.org>
* linker.c (_bfd_generic_link_add_one_symbol): Check loop on
indirect symbols.
kseitz [Thu, 10 May 2001 22:34:54 +0000 (22:34 +0000)]
* generic/gdbtk-bp.c (breakpoint_list, breakpoint_list_size): New
variables. Gdb is forcing us to maintain our own breakpoint
database.
(Gdbtk_Breakpoint_Init): Initialize our breakpoint database.
(gdb_find_bp_at_addr): Use our breakpoint database.
(gdb_find_bp_at_line): Ditto.
(gdb_get_breakpoint_list): Ditto.
(gdb_get_breakpoint_info): Remove deleted breakpoint hack.
(gdbtk_create_breakpoint): Moved here from gdbtk-hooks.c.
Add breakpoint to our breakpoint database.
(gdbtk_modify_breakpoint): Ditto the move.
(gdbtk_delete_breakpoint): Ditto the move.
Remove breakpoint from our database.
(gdb_get_tracepoint_info): Remove delete tracepoint hack.
It's not needed for tracepoints: they were implemented properly.
(gdbtk_create_tracepoint): Moved here from gdbtk-hooks.c.
(gdbtk_modify_tracepoint): Ditto.
(gdbtk_delete_tracepoint): Ditto.
* generic/gdbtk-hooks.c: Include "gdb-events.h".
(gdbtk_create_breakpoint): Moved to gdbtk-bp.c
(gdbtk_modify_breakpoint): Ditto.
(gdbtk_delete_breakpoint): Ditto.
(breakpoint_notify): Ditto.
(gdbtk_create_tracepoint): Ditto.
(gdbtk_modify_tracepoint): Ditto.
(gdbtk_delete_tracepoint): Ditto.
(tracepoint_notify): Ditto.
(report_error): No longer static.
(gdbtk_add_hooks): Create our own event handler
vector and register breakpoint_create, breakpoint_modify,
and breakpoint_delete handlers in gdbtk-bp.c.
cagney [Thu, 10 May 2001 22:32:26 +0000 (22:32 +0000)]
Pass the tupple/list parameter.
cagney [Thu, 10 May 2001 21:30:37 +0000 (21:30 +0000)]
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.
ezannoni [Thu, 10 May 2001 21:10:09 +0000 (21:10 +0000)]
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.
ezannoni [Thu, 10 May 2001 21:03:02 +0000 (21:03 +0000)]
2001-05-10 Elena Zannoni <ezannoni@redhat.com>
* proc-api.c (ioctl_with_trace): Fix uninitialized variable.
fnasser [Thu, 10 May 2001 20:33:08 +0000 (20:33 +0000)]
2001-05-10 Fernando Nasser <fnasser@redhat.com>
* MAINTAINERS: Add testsuite subdirectory co-maintainers.
cagney [Thu, 10 May 2001 20:31:44 +0000 (20:31 +0000)]
Fix -Werror problem with mi-main.c.
ezannoni [Thu, 10 May 2001 19:36:38 +0000 (19:36 +0000)]
Fix ChangeLog cut-n-paste error!
ezannoni [Thu, 10 May 2001 19:35:14 +0000 (19:35 +0000)]
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.
ezannoni [Thu, 10 May 2001 19:33:13 +0000 (19:33 +0000)]
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.
msnyder [Thu, 10 May 2001 19:06:19 +0000 (19:06 +0000)]
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.
msnyder [Thu, 10 May 2001 19:00:34 +0000 (19:00 +0000)]
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.
cagney [Thu, 10 May 2001 18:36:26 +0000 (18:36 +0000)]
Delete ``info architecture'' command.
cagney [Thu, 10 May 2001 18:20:51 +0000 (18:20 +0000)]
General updates for 5.1/5.2 lists.
cagney [Thu, 10 May 2001 18:10:47 +0000 (18:10 +0000)]
Jim Ingham stepping back from Arm maintenance.
kseitz [Thu, 10 May 2001 18:04:23 +0000 (18:04 +0000)]
* generic/gdbtk-cmds.c: Put on diet. All breakpoint-,
tracepoint-, register-, and stack-related functions moved
into separate files.
(call_wrapper): Renamed to "gdbtk_call_wrapper" and export.
Update all callers.
* generic/gdbtk.h: Move all breakpoint-related stuff into
gdbtk-bp.c.
Remove declaration for "call_wrapper". Now in gdbtk-cmds.h
(and called "gdbtk_call_wrapper").
* generic/gdbtk-varobj.c: Include "gdbtk-cmds.h".
* generic/gdbtk-cmds.h: New file.
* generic/gdbtk-bp.c: New file.
* generic/gdbtk-register.c: New file.
* generic/gdbtk-stack.c: New file.
kseitz [Thu, 10 May 2001 18:02:57 +0000 (18:02 +0000)]
* 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.