OSDN Git Service
Christopher Faylor [Sat, 25 Mar 2000 03:37:35 +0000 (03:37 +0000)]
* config/mips/tm-wince.h: Fix typo which caused include of tm-mips.h to be
inoperative.
Christopher Faylor [Sat, 25 Mar 2000 02:26:21 +0000 (02:26 +0000)]
* win32-nat.c: Back out special frame walking code. It was broken.
(handle_exception): Correctly identify an illegal instruction.
* config/tm-cygwin.h: Eliminate special frame handling. Just use normal i386
handling.
Christopher Faylor [Sat, 25 Mar 2000 02:15:38 +0000 (02:15 +0000)]
* partition.h: New file.
Christopher Faylor [Sat, 25 Mar 2000 02:14:57 +0000 (02:14 +0000)]
* partition.c: New file.
Frank Ch. Eigler [Sat, 25 Mar 2000 00:17:21 +0000 (00:17 +0000)]
* more compatibility with v850 hardware
2000-03-24 Frank Ch. Eigler <fche@redhat.com>
* v850.igen (ilgop): New insn pattern for four-byte breakpoints.
Michael Snyder [Fri, 24 Mar 2000 23:49:10 +0000 (23:49 +0000)]
2000-03-23 Michael Snyder <msnyder@cleaver.cygnus.com>
* solib.c (open_symbol_file_object): to sneak an int argument
past catch_errors, instead of casting it to a pointer, simply
pass it by address.
J.T. Conklin [Fri, 24 Mar 2000 23:06:57 +0000 (23:06 +0000)]
2000-03-24 J.T. Conklin <jtc@redback.com>
* i386/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
* i386nbsd-nat.c (i386nbsd_use_struct_convention): New function.
(fetch_core_registers): Read fp registers.
(i386nbsd_core_fns, _initialize_i386nbsd_nat): Added.
Jonathan Larmour [Fri, 24 Mar 2000 21:35:42 +0000 (21:35 +0000)]
* gdb.base/break.exp: Add new test for setting breakpoints on
optimized code so we can test breakpoints work even when function
prologues may be optimized away
Jonathan Larmour [Fri, 24 Mar 2000 21:33:35 +0000 (21:33 +0000)]
* arm-tdep.c (thumb_skip_prologue): Take function end addr argument
so that we can stop searching for the prologue past the function end
(arm_skip_prologue): Call thumb_skip_prologue with function end addr
Jason Merrill [Fri, 24 Mar 2000 21:31:22 +0000 (21:31 +0000)]
merge from gcc
Kevin Buettner [Fri, 24 Mar 2000 21:07:17 +0000 (21:07 +0000)]
Don't do compile time comparison of TARGET_PTR_BIT and TARGET_INT_BIT.
H.J. Lu [Fri, 24 Mar 2000 20:50:30 +0000 (20:50 +0000)]
2000-03-24 H.J. Lu <hjl@gnu.org>
* elf64-alpha.c (elf64_alpha_merge_ind_symbols): Add prototype.
(elf64_alpha_find_reloc_at_ofs): Likewise.
Philippe De Muyter [Fri, 24 Mar 2000 17:55:13 +0000 (17:55 +0000)]
Fix copyright dates in last change.
Philippe De Muyter [Fri, 24 Mar 2000 11:12:11 +0000 (11:12 +0000)]
* m68k-tdep.c (P_LINKL_FP, P_LINKW_FP): Macros renamed from P_LINK_L
and P_LINK_W.
(P_PEA_FP, P_MOVL_SP_FP): New macros.
(P_MOVL, P_LEAL, P_MOVML): Macros renamed from P_MOV_L, P_LEA_L and
P_MOVM_L.
(altos_skip_prologue, isi_skip_prologue): Use P_* macros, not octal
constants.
(delta68_in_sigtramp): New function.
(delta68_frame_args_address, delta68_frame_saved_pc): Ditto.
(m68k_skip_prologue): Use P_* macros, not hex constants.
(m68k_find_saved_regs): Do not expect a fixed sequence of register save
instructions, but accept them in any order; use P_* macros, not octal
or hex constants; recognize also `fmovemx to (fp + displacement)' and
`moveml to (fp + displacement)'.
* m68/tm-delta68.h (IN_SIGTRAMP): New macro.
(FRAME_SAVED_PC, FRAME_ARGS_ADDRESS): Ditto.
Andrew Cagney [Fri, 24 Mar 2000 07:30:07 +0000 (07:30 +0000)]
Fix texinfo-3.12 problems:
* annotate.texi (Annotations): When GDBN omit @chapter and @node entry.
* gdb.texinfo: Check for @ifinfo instead of @ifnottex.
(rluser.texinfo, inc-hist.texinfo, annotate.texi): Add local @chapter
and @node entries.
* gdb.texinfo: Link all top-level nodes.
* inc-hist.texinfo: When GDBN omit the chapter/node.
* rluser.texinfo (Command Line Editing): Ditto.
Andrew Cagney [Fri, 24 Mar 2000 07:27:24 +0000 (07:27 +0000)]
Create $(infodir) before trying to install info files.
Andrew Cagney [Fri, 24 Mar 2000 02:48:20 +0000 (02:48 +0000)]
Add Fernando to testsuite maintainers.
Daniel Berlin [Fri, 24 Mar 2000 01:51:13 +0000 (01:51 +0000)]
FIx regression
Michael Snyder [Fri, 24 Mar 2000 00:05:38 +0000 (00:05 +0000)]
2000-03-20 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.texinfo: Add new queries ThreadInfo and ThreadExtraInfo.
Fernando Nasser [Thu, 23 Mar 2000 23:50:51 +0000 (23:50 +0000)]
2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
From David Whedon <dwhedon@gordian.com>
* gdbint.texinfo : Added paragraphs about command deprecation.
Fernando Nasser [Thu, 23 Mar 2000 23:48:28 +0000 (23:48 +0000)]
2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
From David Whedon <dwhedon@gordian.com>
* gdb.base/commands.exp : Added command deprecator tests.
Fernando Nasser [Thu, 23 Mar 2000 23:43:19 +0000 (23:43 +0000)]
2000-03-23 Fernando Nasser <fnasser@cygnus.com>
From David Whedon <dwhedon@gordian.com>
* top.c (execute_command): Checks all commands beore executing
to see if the user needs to be warned that the command is
deprecated, warns user if appropriate.
(add_info), (add_info_alias), (add_com) , (add_com_alias): Changed
return values from void to struct cmd_list_element *.
* command.c (lookup_cmd_1): Check aliases before following link
in case user needs to be warned about a deprecated alias.
(deprecate_cmd): new exported function for command deprecation,
sets flags and posibly a replacement string.
(deprecated_cmd_warning): New exported funciton to warn user about
a deprecated command.
(lookup_cmd_composition): New exported function that determines
alias, prefix_command, and cmd based on a string. This is useful
is we want to full name of a command.
* command.h : Added prototypes for deprecate_cmd,
deprecated_warn_user and lookup_cmd_composition, added flags to
the cmd_list_element structure, changed return values for
add_com_* and add_info_* from void to cmd_list_element.
* maint.c : (maintenance_deprecate): New function to deprecate a
command. This exists only so that the testsuite can deprecate
commands at runtime and check the warning behavior.
(maintenance_undeprecate) : New function, drops deprecated flags.
(maintenance_do_deprecate): Actually does the (un)deprecation.
(initialize_maint_cmds): Added the above new deprecate commands.
Geoffrey Keating [Thu, 23 Mar 2000 23:37:38 +0000 (23:37 +0000)]
Add missing parts of ChangeLog entry for my change of 2000/02/19 00:59:26 to coff-rs6000.c.
Frank Ch. Eigler [Thu, 23 Mar 2000 23:28:43 +0000 (23:28 +0000)]
* memory corruption fix
Wed Mar 22 15:24:21 2000 glen mccready <gkm@pobox.com>
* wrapper.c (sim_open,sim_close): Copy into myname, free myname.
Daniel Berlin [Thu, 23 Mar 2000 23:21:27 +0000 (23:21 +0000)]
Added the apropos command
Michael Snyder [Thu, 23 Mar 2000 21:44:50 +0000 (21:44 +0000)]
2000-03-23 Michael Snyder <msnyder@cleaver.cygnus.com>
* sol-thread.c (ps_pglobal_lookup): Change argument type from
paddr_t to psaddr_t. This mistake appears to date from an
erroneous man page in Solaris 2.5 -- the correct type from the
system headers has always been psaddr_t.
(ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): ditto.
(rw_common): ditto.
Kevin Buettner [Thu, 23 Mar 2000 04:27:26 +0000 (04:27 +0000)]
HFA, function descriptor handling for IA-64.
Elena Zannoni [Thu, 23 Mar 2000 03:48:13 +0000 (03:48 +0000)]
2000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* event-loop.c (handle_file_event): Run through indent.
Elena Zannoni [Thu, 23 Mar 2000 03:45:13 +0000 (03:45 +0000)]
2000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From Philippe De Muyter <phdm@macqel.be>
* event-loop.c (sys/types.h): File now included unconditionally.
(use_poll): New variable..
(gdb_notifier): poll- and select-versions merged.
(add_file_handler): If HAVE_POLL, check whether poll is usable,
and reset `use_poll' if not.
(create_file_handler): Select poll- or select-version according to
`use_poll'.
(delete_file_handler, handle_file_event): Likewise.
(gdb_wait_for_event, poll_timers): Likewise.
Peter Schauer [Wed, 22 Mar 2000 20:55:15 +0000 (20:55 +0000)]
* printcmd.c (print_scalar_formatted): Truncate addresses to the
size of a target pointer before passing them to print_address.
Mark Kettenis [Wed, 22 Mar 2000 09:45:01 +0000 (09:45 +0000)]
2000-03-22 Mark Kettenis <kettenis@gnu.org>
* config/i386/tm-i386aix.h (I386_AIX_TARGET): Remove.
* config/i386/tm-linux.h (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM):
Remove
* i386-tdep.c (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): New defines.
(i386_extract_return_value): Rewritten. Correctly support all
floating-point types and large integer types on targets that use
the standard i386 GDB register layout and return floating-point
values in the FPU.
Andrew Cagney [Wed, 22 Mar 2000 04:19:35 +0000 (04:19 +0000)]
Don't include nrom in CONFIG_INITS.
J.T. Conklin [Wed, 22 Mar 2000 01:36:31 +0000 (01:36 +0000)]
2000-03-21 J.T. Conklin <jtc@redback.com>
* i386/nbsd.mh (NATDEPFILES): Change i386b-nat.o to i386nbsd-nat.o.
* i386nbsd-nat.c: New file.
* i386/tm-nbsd.h (NUM_REGS): Removed.
(HAVE_I387_REGS): Defined.
* i386/nm-nbsd.h (FLOAT_INFO): Removed.
* tm-nbsd.h (IN_SOLIB_CALL_TRAMPOLINE): Define if not
SVR4_SHARED_LIBS.
Andrew Cagney [Wed, 22 Mar 2000 00:21:30 +0000 (00:21 +0000)]
Add Jim Blandy to breakpoint maintainers. David taylor is the
Solaris/SPARC maintainer. Add Jonathan Larmour to the write after
approval list.
Kevin Buettner [Tue, 21 Mar 2000 23:01:49 +0000 (23:01 +0000)]
Test suite change for AIX 4.3.
Kevin Buettner [Tue, 21 Mar 2000 22:37:42 +0000 (22:37 +0000)]
Make sure section addresses from a shared object are correctly set in
a new struct objfile.
Frank Ch. Eigler [Tue, 21 Mar 2000 20:45:43 +0000 (20:45 +0000)]
* simplify eCos testing
2000-03-21 Frank Ch. Eigler <fche@redhat.com>
* interp.c (sim_open): Sort & extend dummy memory regions for
--board=jmr3904 for eCos.
Michael Snyder [Tue, 21 Mar 2000 20:41:39 +0000 (20:41 +0000)]
2000-03-21 Eli Zaretskii <eliz@is.elta.co.il>
* breakpoint.c (bpstat_stop_status): Don't stop if a read
watchpoint appears to break, but the watched value changed.
Jim Blandy [Tue, 21 Mar 2000 20:40:47 +0000 (20:40 +0000)]
*** empty log message ***
Jim Blandy [Tue, 21 Mar 2000 20:40:43 +0000 (20:40 +0000)]
* gdbarch.sh: Emit a definition and declaration for gdbarch_free,
a companion to gdbarch_alloc, which allows a gdbarch init function
to free partially-built gdbarch structures.
* gdbarch.c, gdbarch.h: Regenerated.
Kevin Buettner [Tue, 21 Mar 2000 06:18:23 +0000 (06:18 +0000)]
It turns out that 1.2 wasn't botched after all. (I was failing to take
into account all of the imports that had been done.)
Kevin Buettner [Tue, 21 Mar 2000 05:43:30 +0000 (05:43 +0000)]
Fixed botched commit in 1.2.
Kevin Buettner [Tue, 21 Mar 2000 05:26:31 +0000 (05:26 +0000)]
IA-64 changes.
Michael Snyder [Tue, 21 Mar 2000 01:27:34 +0000 (01:27 +0000)]
2000-03-20 Eli Zaretskii <eliz@is.elta.co.il>
* breakpoint.c (insert_breakpoints, remove_breakpoint)
(bpstat_stop_status, can_use_hardware_watchpoint): Don't insert,
remove, or check status of hardware watchpoints for entire structs
and arrays unless the user explicitly asked to watch that struct
or array.
(insert_breakpoints): Try to insert watchpoints for all the values
on the value chain, even if some of them fail to insert.
* values.c (value_primitive_field): Set the offset in struct value
we return when the field is a packed bitfield.
Michael Snyder [Tue, 21 Mar 2000 01:22:05 +0000 (01:22 +0000)]
2000-03-20 Michael Snyder <msnyder@cleaver.cygnus.com>
* remote.c (remote_threads_extra_info): new function.
Implement the extra thread info query for "info threads".
(remote_threads_info): clean up a bit.
(use_threadinfo_query, use_threadextra_query): new variables.
Control whether GDB will use the new or old protocol for
thread info queries.
(remote_open_1): initialize new variables.
(remote_async_open_1): ditto.
(remote_cisco_open): ditto.
Kevin Buettner [Tue, 21 Mar 2000 00:11:10 +0000 (00:11 +0000)]
New files for IA-64 port.
Michael Snyder [Mon, 20 Mar 2000 22:51:36 +0000 (22:51 +0000)]
2000-03-20 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.texinfo: Add white space to prevent overprinting in
two places.
Kevin Buettner [Mon, 20 Mar 2000 22:15:58 +0000 (22:15 +0000)]
Fixes for floatformat_from_doublest().
Jim Blandy [Mon, 20 Mar 2000 20:38:29 +0000 (20:38 +0000)]
* i386-linux-nat.c: No need to #include "frame.h" any more.
(LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, linux_sigtramp_code,
LINUX_SIGTRAMP_LEN, i386_linux_sigtramp_start,
LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1,
linux_rt_sigtramp_code, LINUX_RT_SIGTRAMP_LEN,
i386_linux_rt_sigtramp_start, i386_linux_in_sigtramp,
i386_linux_sigcontext_addr, LINUX_SIGCONTEXT_PC_OFFSET,
i386_linux_sigtramp_saved_pc, LINUX_SIGCONTEXT_SP_OFFSET,
i386_linux_sigtramp_saved_sp): Deleted. Folks rightly pointed
out that these are target-dependent, and useful in non-native
configurations. Moved to...
* i386-linux-tdep.c: ... Here, a new file.
* Makefile.in (ALLDEPFILES): Add i386-linux-tdep.c.
(i386-linux-tdep.o): New rule.
(i386-linux-nat.o): We no longer depend on frame.h.
* config/i386/linux.mt (TDEPFILES): Add i386-linux-tdep.o.
Elena Zannoni [Mon, 20 Mar 2000 19:59:38 +0000 (19:59 +0000)]
2000-03-04 Eli Zaretskii <eliz@is.elta.co.il>
* event-loop.c (top-level) [NO_FD_SET]: Deprecate this branch.
Print an error at compile time if we are to use select, but FD_SET
is not available.
(SELECT_MASK, NBBY, FD_SETSIZE, NFDBITS, MASK_SIZE): Define only
if HAVE_POLL is not defined and NO_FD_SET *is* defined.
(create_file_handler) [!HAVE_POLL]: Use FD_SET and FD_CLR.
(delete_file_handler) [!HAVE_POLL]: Use FD_CLR and FD_ISSET.
(gdb_wait_for_event) [!HAVE_POLL]: Copy fd_set sets directly
instead of using memcpy and memset. Use FD_ISSET.
* config/i386/xm-go32.h (fd_mask): Remove typedef.
Andrew Cagney [Mon, 20 Mar 2000 09:19:45 +0000 (09:19 +0000)]
Document requirements on adding a ``!'' command.
Andrew Cagney [Mon, 20 Mar 2000 07:28:05 +0000 (07:28 +0000)]
Add sh2 to list of known architectures.
Andrew Cagney [Mon, 20 Mar 2000 06:41:24 +0000 (06:41 +0000)]
From John David Anglin:
Don't initialize HPUX thread twice.
Eli Zaretskii [Sun, 19 Mar 2000 12:30:38 +0000 (12:30 +0000)]
* event-top.c (_initialize_event_loop): If instream is not
connected to a terminal device, turn editing off.
Eli Zaretskii [Sun, 19 Mar 2000 11:53:24 +0000 (11:53 +0000)]
Support for building GDB with DJGPP, and running the test suite on
it:
* config/djgpp/djconfig.sh: New file.
* config/djgpp/config.sed: New file.
* config/djgpp/README: New file.
* config/djgpp/fnchange.lst: New file.
* config/djgpp/djcheck.sh: New file.
Eli Zaretskii [Sun, 19 Mar 2000 11:26:30 +0000 (11:26 +0000)]
*** empty log message ***
Eli Zaretskii [Sun, 19 Mar 2000 11:24:41 +0000 (11:24 +0000)]
* ser-go32.c (ports): Make the initializers complete, to pacify
GCC 2.9X.
Jim Blandy [Sat, 18 Mar 2000 01:57:42 +0000 (01:57 +0000)]
*** empty log message ***
Jim Blandy [Sat, 18 Mar 2000 01:57:00 +0000 (01:57 +0000)]
* gdb_wait.h (WSETSTOP): Pass the appropriate number of arguments
to W_STOPCODE.
Jim Blandy [Sat, 18 Mar 2000 01:56:31 +0000 (01:56 +0000)]
* linux-thread.c (linuxthreads_attach, linuxthreads_detach,
linuxthreads_create_inferior): Fix typo in variable name: it's
linuxthreads_exit_status, not linux_exit_status.
Stan Shebs [Sat, 18 Mar 2000 00:40:12 +0000 (00:40 +0000)]
* gdb.texinfo: Many minor changes from Dmitry Sivachenko
<dima@Chg.RU>, also clarification of allowed content for
string constants.
Jim Blandy [Fri, 17 Mar 2000 20:12:51 +0000 (20:12 +0000)]
*** empty log message ***
Jim Blandy [Fri, 17 Mar 2000 20:12:23 +0000 (20:12 +0000)]
* solib.c (solib_add): Delete debugging code.
Michael Snyder [Fri, 17 Mar 2000 19:50:29 +0000 (19:50 +0000)]
2000-03-17 Mark Kettenis <kettenis@gnu.org>
* gdb_wait.h: add definitions of WSETSTOP and WSETEXIT for Linux.
* linux-thread.c: Use WSETSTOP instead of W_STOPCODE.
Philippe De Muyter [Fri, 17 Mar 2000 10:19:22 +0000 (10:19 +0000)]
* language.c (set_lang_str): Do not call `free' for a null pointer.
(set_type_str, set_range_str): Ditto.
Alan Modra [Fri, 17 Mar 2000 02:02:38 +0000 (02:02 +0000)]
Extend the allowed bitfield range (ie. that for which
complain_overflow_bitfield doesn't complain) from -2**(n-1)..2**n-1 to
-2**n..2**n. This might mean that some reloc overflows are no longer
caught, but it solves the address wrap problem for 16-bit relocs
nicely. In any case, ports that rely on complain_overflow_bitfield
for reloc overflow checking were not getting a very good check
previously. A bitfield range in a machine instruction is typically
either the signed or unsigned n bit numbers, not the overlap of these
two ranges.
Jim Blandy [Thu, 16 Mar 2000 23:53:35 +0000 (23:53 +0000)]
* i386-linux-nat.c (i386_linux_saved_pc_after_call): Lost in the
merge; reinstated.
Jim Blandy [Thu, 16 Mar 2000 23:13:18 +0000 (23:13 +0000)]
*** empty log message ***
Jim Blandy [Thu, 16 Mar 2000 23:12:42 +0000 (23:12 +0000)]
* solib.c (current_sos): Be more careful about freeing the new
so_list node if an error occurs.
Jim Blandy [Thu, 16 Mar 2000 22:51:49 +0000 (22:51 +0000)]
Doc fix.
Jim Blandy [Thu, 16 Mar 2000 22:46:30 +0000 (22:46 +0000)]
* i386-tdep.c (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, linux_sigtramp_code,
LINUX_SIGTRAMP_LEN, i386_linux_sigtramp_start,
LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1,
linux_rt_sigtramp_code, LINUX_RT_SIGTRAMP_LEN,
i386_linux_rt_sigtramp_start, i386_linux_in_sigtramp,
i386_linux_sigcontext_addr, LINUX_SIGCONTEXT_PC_OFFSET,
i386_linux_sigtramp_saved_pc, LINUX_SIGCONTEXT_SP_OFFSET,
i386_linux_sigtramp_saved_sp): Deleted. These all implement
Linux-specific signal trampoline detection, and should be moved to...
* i386-linux-nat.c: ... here.
* config/i386/tm-linux.h (I386_LINUX_SIGTRAMP): No need to define
this any more, since we're not enabling OS-specific code in a
OS-independent file.
Eli Zaretskii [Thu, 16 Mar 2000 12:05:12 +0000 (12:05 +0000)]
*** empty log message ***
Eli Zaretskii [Thu, 16 Mar 2000 11:40:53 +0000 (11:40 +0000)]
* gdb.texinfo (main menu): Add Annotations.
(File Options): Add @cindex entries for each command-line option.
Document --epoch, --annotate, --async, --interpreter, --write,
--statistics, and --version.
* annotate.texi: Convert to a chapter. Use @value{GDBN} instead
of GDB.
Eli Zaretskii [Thu, 16 Mar 2000 10:24:30 +0000 (10:24 +0000)]
Typo in spelling Makefile.in...
Eli Zaretskii [Thu, 16 Mar 2000 10:23:38 +0000 (10:23 +0000)]
(go32-nat.o): Add prerequisites.
(ALLDEPFILES): Add go32-nat.c.
Jeff Law [Wed, 15 Mar 2000 21:29:17 +0000 (21:29 +0000)]
* internal.h: Fix a typo in the comment for R_MOVL2.
Michael Snyder [Wed, 15 Mar 2000 19:43:57 +0000 (19:43 +0000)]
2000-03-15 Michael Snyder <msnyder@cleaver.cygnus.com>
From "Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de>
* symfile.c (reread_symbols): Clear msymbol hash table.
Jim Blandy [Wed, 15 Mar 2000 16:55:07 +0000 (16:55 +0000)]
Deal with the inferior unloading shared objects.
* solib.c (current_sos): New function, replacing find_solib.
(find_solib): Deleted.
(free_so): New function.
(clear_solib): Call free_so, instead of writing it out.
(solib_add): Rewritten: compare the inferior's current list of
shared objects with GDB's list, and do the required loads and
unloads.
(info_sharedlibrary_command, solib_address): Don't use find_solib
to walk the list of shared libraries: call solib_add, and then
walk the list at so_list_head normally.
* objfiles.c (free_objfile): Don't call CLEAR_SOLIB, and don't
detach the core target. These tasks are taken care of elsewhere.
* target.c (remove_target_sections): New function.
* target.h (remove_target_sections): New declaration.
* solib.c (symbol_add_stub): Check whether we've already created
an objfile for this shared object first, before doing all that
work to compute section addresses, etc.
* objfiles.c (unlink_objfile): Report an internal error if objfile
doesn't occur in the object_files list.
* solib.c (special_symbol_handling): Delete argument; it's not
used.
* solib.c (SOLIB_EXTRACT_ADDRESS): New macro to extract addresses
from solib structures. Use it throughout solib.c, get rid of all
CORE_ADDR casts.
(struct so_list): Change type of lmaddr to CORE_ADDR.
(first_link_map_member): Change return value type to CORE_ADDR,
update callers.
(solib_add_common_symbols): Change parameter type to CORE_ADDR,
update callers.
(open_symbol_file_object, find_solib): Change type of lm variable
to CORE_ADDR.
Eli Zaretskii [Wed, 15 Mar 2000 12:05:59 +0000 (12:05 +0000)]
[__GO32__]: Include <pc.h>.
Declare _rl_redisplay_after_sigwinch.
[__DJGPP__]: Don't declare term_buffer and term_string_buffer (they are
unused.)
(_rl_get_screen_size) [__DJGPP__]: Call ScreenRows and ScreenCols.
(_rl_init_terminal_io) [__GO32__]: Don't call them here. Instead, call
_rl_get_screen_size. Set terminal_name. Return 0, to be consistent with
the function's declaration.
(ding) [__GO32__]: Support visual bell by calling ScreenVisualBell.
Eli Zaretskii [Wed, 15 Mar 2000 11:59:45 +0000 (11:59 +0000)]
[__GO32__]: Don't undef HANDLE_SIGNALS for DJGPP v2.x.
Don't declare sigwinch_set_flag if SIGWINCH is undefined.
Eli Zaretskii [Wed, 15 Mar 2000 11:57:42 +0000 (11:57 +0000)]
[__GO32__]: Don't undef HANDLE_SIGNALS if __DJGPP__ is defined.
(prepare_terminal_settings, rl_prep_terminal, rl_deprep_terminal)
[__GO32__]: Don't bypass termios code if HAVE_TERMIOS_H is defined.
Eli Zaretskii [Wed, 15 Mar 2000 11:53:33 +0000 (11:53 +0000)]
[__GO32__]: If HAVE_TEMIOS_H is defined, declare readline_default_bindings.
Don't undef HANDLE_SIGNALS if __DJGPP__ is defined.
(readline_initialize_everything): [__GO32__]: Call readline_default_bindings
if HAVE_TERMIOS_H is defined.
(rl_refresh_line) [__GO32__]: Don't use this code if __DJGPP__ is defined.
Eli Zaretskii [Wed, 15 Mar 2000 11:47:46 +0000 (11:47 +0000)]
[__GO32__]: Include <pc.h> only if HAVE_SELECT is undefined.
(rl_unget_char, rl_getc) [__GO32__]: Use the go32-specific code only if
HAVE_SELECT is undefined.
Eli Zaretskii [Wed, 15 Mar 2000 11:44:17 +0000 (11:44 +0000)]
(read_history_range, history_truncate_file, history_do_write) [__MSDOS__]:
Allow for a `_' to replace the leading dot in hard-wrired file names.
Eli Zaretskii [Wed, 15 Mar 2000 11:41:26 +0000 (11:41 +0000)]
(_rl_move_vert) [__GO32__]: fflush the stream, to make sure cursor position
is up-to-date.
(space_to_eol) [__GO32__]: Clear the screen and home the cursor.
(insert_some_chars) [__GO32__]: Don't write directly to the screen in DJGPP
versions 2.x (it doesn't work).
(delete_chars) [__GO32__]: Ditto.
Eli Zaretskii [Wed, 15 Mar 2000 11:36:20 +0000 (11:36 +0000)]
(username_completion_function) [__GO32__]: Don't bypass getpw* calls.
(filename_completion_function): Handle drive-relative file names d:foo.
Eli Zaretskii [Wed, 15 Mar 2000 11:32:18 +0000 (11:32 +0000)]
(_rl_read_file): Use O_BINARY in open. Enable the test for incomplete
read. Strip the CR characters by hand after readin the file.
(rl_read_init_file): Allow for ~/_intputrc on 8+3 filesystems.
Eli Zaretskii [Wed, 15 Mar 2000 11:25:30 +0000 (11:25 +0000)]
Shared libraries are not supported on MS-DOS.
Eli Zaretskii [Wed, 15 Mar 2000 11:13:49 +0000 (11:13 +0000)]
*** empty log message ***
Eli Zaretskii [Wed, 15 Mar 2000 11:11:41 +0000 (11:11 +0000)]
* ser-go32.c (dos_noop, dos_raw, dos_noflush_set_tty_state)
(dos_print_tty_state, dos_info, _initialize_ser_dos): Convert
to ISO C. Use ATTRIBUTE_UNUSED to avoid compiler warnings.
(dos_info): Avoid compiler warning when printing a ptrdiff_t.
Eli Zaretskii [Wed, 15 Mar 2000 11:10:52 +0000 (11:10 +0000)]
* ser-go32.c (dos_get_tty_state): Fail if the (fake) handle was
not opened by dos_open, but let the 3 standard handles go through
unharmed.
Jim Blandy [Tue, 14 Mar 2000 19:58:02 +0000 (19:58 +0000)]
Formatting fix.
Catherine Moore [Tue, 14 Mar 2000 18:16:05 +0000 (18:16 +0000)]
* elf32-m32r.c (m32r_elf_lo16_reloc): Rewrite.
Jeff Law [Tue, 14 Mar 2000 17:50:00 +0000 (17:50 +0000)]
* reloc16.c (bfd_coff_reloc16_relax_section): Count the total number
of shrinks properly, including the last reloc.
Elena Zannoni [Tue, 14 Mar 2000 17:01:05 +0000 (17:01 +0000)]
2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* eval.c (evaluate_subexp_with_coercion): Add call to
check_typedef, to handle typedeffed vars correctly.
* gdb.base/printcmds.c: Add typedeffed arrays.
* gdb.base/printcmds.exp (test_print_typedef_arrays): New
procedure to test arrays that are typedef'd.
Andrew Cagney [Tue, 14 Mar 2000 06:14:07 +0000 (06:14 +0000)]
Add missing ChangeLog entry for:
gdb.base/long_long.exp revision 1.2
date: 2000/03/09 21:55:40; author: scottb; state: Exp; lines: +187 -99
Andrew Cagney [Tue, 14 Mar 2000 05:02:03 +0000 (05:02 +0000)]
Point MI testsuite files at MI testsuite ChangeLog.
Andrew Cagney [Tue, 14 Mar 2000 04:49:02 +0000 (04:49 +0000)]
remove typo
Andrew Cagney [Tue, 14 Mar 2000 02:37:25 +0000 (02:37 +0000)]
Almost, but not quite, deprecate STREQ, STREQN, STRCMP and QUIT.
Jeff Law [Mon, 13 Mar 2000 23:57:25 +0000 (23:57 +0000)]
* coff-h8300.c (h8300_reloc16_extra_cases): Fix the sanity
check for R_MOVL2.