OSDN Git Service
juanito [Fri, 27 Jul 2001 16:38:32 +0000 (16:38 +0000)]
Added dependency of gdb/insight on tcl and tk libraries.
juanito [Fri, 27 Jul 2001 16:35:27 +0000 (16:35 +0000)]
Added dependency on tcl/tk libraries.
cgf [Fri, 27 Jul 2001 16:33:19 +0000 (16:33 +0000)]
* cygwin.din: Export sys_errlist, sys_nerr.
* include/cygwin/version.h: Bump minor version number.
hjl [Fri, 27 Jul 2001 16:16:06 +0000 (16:16 +0000)]
2001-07-27 H.J. Lu <hjl@gnu.org>
* binutils-all/windres/windres.exp: Don't set xfail for
bmpalign (compare) on none-ix86/pe targets.
corinna [Fri, 27 Jul 2001 09:17:56 +0000 (09:17 +0000)]
* security.cc (get_user_primary_group): Fix compiler warning.
(alloc_sd): Add DELETE permission for user when S_IWUSR is given.
amodra [Fri, 27 Jul 2001 08:35:55 +0000 (08:35 +0000)]
* read.c (s_set): Check for missing symbol name.
cgd [Fri, 27 Jul 2001 06:26:22 +0000 (06:26 +0000)]
2001-07-26 Chris Demetriou <cgd@broadcom.com>
* gas/mips/lif-empic.d: Add back dollar signs before floating
point register names.
ezannoni [Fri, 27 Jul 2001 03:29:08 +0000 (03:29 +0000)]
2001-07-26 Elena Zannoni <ezannoni@redhat.com>
* sh-tdep.c (sh_gdbarch_init): Use SH_DEFAULT_NUM_REGS instead of
NUM_REGS.
(SH_DEFAULT_NUM_REGS): Define.
gdbadmin [Fri, 27 Jul 2001 00:01:04 +0000 (00:01 +0000)]
*** empty log message ***
cgf [Thu, 26 Jul 2001 20:47:05 +0000 (20:47 +0000)]
* thread.cc (__pthread_equal): Invert return value so that true is returned
when threads are equal.
cgf [Thu, 26 Jul 2001 20:42:52 +0000 (20:42 +0000)]
Christopher Faylor <cgf@cygnus.com>
* cygwin.din: Export __signgam.
* include/cygwin/version.h: Bump minor version number.
cgf [Thu, 26 Jul 2001 19:22:23 +0000 (19:22 +0000)]
Throughout, reorganize header file inclusion to put security.h prior to
fhandler.h.
* fhandler.h (fhandler_base::get_inheritance): New method.
* fhandler_socket.cc (fhandler_socket::create_secret_event): Use proper
close-on-exec inheritance when creating.
(fhandler_socket::check_peer_secret_event): Create handle as non-inheritable.
cagney [Thu, 26 Jul 2001 18:38:29 +0000 (18:38 +0000)]
* gdbint.texinfo (libgdb): Rewrite.
jlarmour [Thu, 26 Jul 2001 16:11:16 +0000 (16:11 +0000)]
* library/prefs.tcl (pref_set_defaults): Add additional entry
points for eCos if main is not present.
eliz [Thu, 26 Jul 2001 14:41:16 +0000 (14:41 +0000)]
* go32-nat.c (read_memory_region): Make sure the segment limit was
indeed set, to work around a Windows 2000 bug.
dj [Thu, 26 Jul 2001 14:20:05 +0000 (14:20 +0000)]
* MAINTAINERS: Clarify libiberty merge rules and procedures.
dj [Thu, 26 Jul 2001 14:14:49 +0000 (14:14 +0000)]
merge from gcc
eliz [Thu, 26 Jul 2001 07:29:24 +0000 (07:29 +0000)]
Makefile.in (gdbgui.dvi, gdb-gui, gdbgui.info): Targets deleted.
eliz [Thu, 26 Jul 2001 07:26:01 +0000 (07:26 +0000)]
Removed.
amodra [Thu, 26 Jul 2001 04:14:44 +0000 (04:14 +0000)]
* gas/i386/relax.s: Test rs_space.
* gas/i386/relax.d: Update.
amodra [Thu, 26 Jul 2001 03:39:28 +0000 (03:39 +0000)]
* write.c (relax_segment <rs_space>): Account for fr_fix.
drow [Thu, 26 Jul 2001 02:23:57 +0000 (02:23 +0000)]
* infptrace.c (child_xfer_memory): Add cast to CORE_ADDR.
* infttrace.c (child_xfer_memory): Likewise.
* symm-nat.c (child_xfer_memory): Likewise.
* gdbserver/low-hppabsd.c (read_inferior_memory): Likewise.
(write_inferior_memory): Likewise.
* gdbserver/low-linux.c (read_inferior_memory): Likewise.
(write_inferior_memory): Likewise.
* gdbserver/low-lynx.c (read_inferior_memory): Likewise.
(write_inferior_memory): Likewise.
* gdbserver/low-nbsd.c (read_inferior_memory): Likewise.
(write_inferior_memory): Likewise.
* gdbserver/low-sparc.c (read_inferior_memory): Likewise.
(write_inferior_memory): Likewise.
* gdbserver/low-sun3.c (read_inferior_memory): Likewise.
(write_inferior_memory): Likewise.
cgf [Thu, 26 Jul 2001 00:10:52 +0000 (00:10 +0000)]
* syscalls.cc (setsid): Detach process from its console if the current
controlling tty is the console and already closed.
* dtable.h (class dtable): Add members to count descriptors referring to the
console.
* dtable.cc (dtable::dec_console_fds): New function to detach process from its
console.
(dtable::release): Decrement the counter of console descriptors.
(dtable::build_fhandler): Increment it.
* exception.cc (ctrl_c_handler): Send SIGTERM to myself when catch
CTRL_SHUTDOWN_EVENT.
gdbadmin [Thu, 26 Jul 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
rbcollins [Wed, 25 Jul 2001 23:46:25 +0000 (23:46 +0000)]
Tue 24 Jul 2001 02:28:00 PM Trevor Forbes <t4bs@hotmail.com>
* thread.cc (verifyable_object_isvalid): Don't validate
PTHREAD_MUTEX_INITIALIZER pointer as it will cause an exception
in IsBadWritePtr() when running GDB.
msnyder [Wed, 25 Jul 2001 23:16:40 +0000 (23:16 +0000)]
2001-07-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/consecutive.exp: New file. Test stepping over
breakpoints on consecutive instructions.
* gdb.base/consecutive.c: New file.
msnyder [Wed, 25 Jul 2001 22:45:25 +0000 (22:45 +0000)]
2001-07-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/call-rt-st.exp: Use double-backslash to quote
curly braces in regular expressions.
msnyder [Wed, 25 Jul 2001 22:41:43 +0000 (22:41 +0000)]
2001-07-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/ending-run.exp: Accept "Program exited normally" as
legitimate output from stepping out of main.
hjl [Wed, 25 Jul 2001 22:27:46 +0000 (22:27 +0000)]
2001-07-25 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (md_estimate_size_before_relax): Make sure
we treat weak like extern only for ELF.
(mips_fix_adjustable): Make sure we don't adjust extern/weak
symbols only for ELF.
corinna [Wed, 25 Jul 2001 21:58:21 +0000 (21:58 +0000)]
* localtime.c: Changed whole file to become C++ clean. Rename to
localtime.cc.
* localtime.cc (tzload): Preserve errno.
cgd [Wed, 25 Jul 2001 20:34:39 +0000 (20:34 +0000)]
2001-07-25 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c: Fix spelling error in comment.
brolley [Wed, 25 Jul 2001 15:25:11 +0000 (15:25 +0000)]
2001-07-25 Dave Brolley <brolley@redhat.com>
* objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
(SKIP_ZEROES_AT_END): Only define it if it is not already defined.
brolley [Wed, 25 Jul 2001 15:23:18 +0000 (15:23 +0000)]
2001-07-25 Dave Brolley <brolley@redhat.com>
* app.c (LEX_IS_PARALLEL_SEPARATOR): New macro.
(IS_PARALLEL_SEPARATOR): New macro.
(do_scrub_begin): Set up characters in tc_parallel_separator_chars
as LEX_IS_PARALLEL_SEPARATOR, if it is defined.
(do_scrub_chars): Handle LEX_PARALLEL_SEPARATOR chars like
LEX_LINE_SEPARATOR except that we go to state 1 (as if the label has
been seen).
eliz [Wed, 25 Jul 2001 14:58:38 +0000 (14:58 +0000)]
Mention how to make the PDF version of the manual.
eliz [Wed, 25 Jul 2001 14:46:46 +0000 (14:46 +0000)]
Update NEWS.
fche [Wed, 25 Jul 2001 14:23:11 +0000 (14:23 +0000)]
* build fix for suse linux
2001-07-25 Frank Ch. Eigler <fche@redhat.com>
From Corinna Vinschen <vinschen@redhat.com>
* configure.in (lcd_libs): Look for -lncurses too, if -lcurses
is not found.
kazu [Wed, 25 Jul 2001 01:42:14 +0000 (01:42 +0000)]
* d10v-dis.c: Fix formatting.
* d30v-dis.c: Likewise.
gdbadmin [Wed, 25 Jul 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
bje [Tue, 24 Jul 2001 22:59:26 +0000 (22:59 +0000)]
2001-07-24 Ben Elliston <bje@redhat.com>
* Makefile.am (install-data-local): Remove target.
ssmith [Tue, 24 Jul 2001 21:51:36 +0000 (21:51 +0000)]
Fixed email address and line spacing.
ciceron [Tue, 24 Jul 2001 20:40:39 +0000 (20:40 +0000)]
* tui-hooks.c: New file, gdb hooks for tui.
* tui-out.c: New file, image copied from cli-out.c.
(tui_field_int): Identify "line" fields and keep track of them.
(tui_field_string): Likewise for "file".
(tui_out_new): Use flags = 0 to avoid printing the sources.
ciceron [Tue, 24 Jul 2001 20:39:34 +0000 (20:39 +0000)]
Missed changelog entries for previous 2 commits
ssmith [Tue, 24 Jul 2001 20:13:19 +0000 (20:13 +0000)]
Added Stephen P. Smith to write after approval list in MAINTAINERS file.
ssmith [Tue, 24 Jul 2001 19:58:32 +0000 (19:58 +0000)]
Add Stephen P. Smith (ssmith@sources.redhat.com) to the write after approval
list.
hjl [Tue, 24 Jul 2001 19:24:08 +0000 (19:24 +0000)]
2001-07-24 H.J. Lu <hjl@gnu.org>
* binutils-all/windres/windres.exp: Set xfail on none-ix86/pe
targets.
ciceron [Tue, 24 Jul 2001 18:48:15 +0000 (18:48 +0000)]
* gdb.texinfo (TUI): New chapter, document the TUI.
(Mode Options): Document the -tui option.
graydon [Tue, 24 Jul 2001 18:22:56 +0000 (18:22 +0000)]
[sid/component/mapper]
2001-07-23 graydon hoare <graydon@redhat.com>
* compMapper.cxx (make_name_mapping): Support mapping
names with word size included as constant multiplier.
[sid/component/testsuite]
2001-07-23 graydon hoare <graydon@redhat.com>
* sidcomp.mapper/basicmapper.exp: Add tests for mapping
with word size specified in accessor name.
cagney [Tue, 24 Jul 2001 16:28:34 +0000 (16:28 +0000)]
Doco LE O32 sizeof(struct) < 4 problem.
fche [Tue, 24 Jul 2001 13:53:00 +0000 (13:53 +0000)]
* build cleanup
2001-07-24 Frank Ch. Eigler <fche@redhat.com>
* Makefile.am (ALLFAMLIBS*): New macros for family-specific
component libraries.
* configure.in: Call CY_SIDTARGET_CHECK.
* Makefile.in, aclocal.m4, configure: Regenerated.
amodra [Tue, 24 Jul 2001 11:09:20 +0000 (11:09 +0000)]
* ld-selective/selective.exp: Support g++ V3 ABI (along side
the old ABI). Make comparisons against normalized (to
V3-style) demangled nm output.
amodra [Tue, 24 Jul 2001 11:07:03 +0000 (11:07 +0000)]
* config/default.exp (ld_nm): Add "nmflags" arg.
* lib/ld-lib.exp (default_ld_nm): Likewise.
* ld-empic/empic.exp: Adjust call to ld_nm.
* ld-scripts/defined.exp: Likewise.
* ld-scripts/script.exp: Likewise.
* ld-scripts/sizeof.exp: Likewise.
* ld-selective/selective.exp: Likewise.
* ld-sh/sh.exp: Likewise.
kettenis [Tue, 24 Jul 2001 10:35:41 +0000 (10:35 +0000)]
* gdbint.texinfo (Host Definition): Remove description of
NEED_POSIX_SETPGID.
amodra [Tue, 24 Jul 2001 10:08:31 +0000 (10:08 +0000)]
Update dependencies with "make dep-am".
amodra [Tue, 24 Jul 2001 10:07:14 +0000 (10:07 +0000)]
* Makefile.am (DEP_FLAGS): Define, add -DOBJ_MAYBE_ELF.
(DEP1, DEPTC, DEPOBJ, DEP2): Use it.
Update dependencies with "make dep-am".
amodra [Tue, 24 Jul 2001 10:02:00 +0000 (10:02 +0000)]
Update dependencies with "make dep-am".
amodra [Tue, 24 Jul 2001 09:59:52 +0000 (09:59 +0000)]
Update dependencies with "make dep-am".
kazu [Tue, 24 Jul 2001 04:10:19 +0000 (04:10 +0000)]
* alpha-dis.c: Fix formatting.
* cris-dis.c: Likewise.
* m10300-dis.c: Likewise.
* tic54x-dis.c: Likewise.
ezannoni [Tue, 24 Jul 2001 01:33:17 +0000 (01:33 +0000)]
2001-07-23 Elena Zannoni <ezannoni@redhat.com>
* config/powerpc/aix.mh (MH_LDFLAGS): Don't set these, the Gnu linker
doesn't understand them.
kazu [Tue, 24 Jul 2001 00:48:04 +0000 (00:48 +0000)]
* m68k-dis.c: Fix formatting.
* pj-dis.c: Likewise.
* z8k-dis.c: Likewise.
gdbadmin [Tue, 24 Jul 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
ciceron [Mon, 23 Jul 2001 21:16:20 +0000 (21:16 +0000)]
* tuiIO.c (tui_cont_sig): Update cursor position on the screen to
leave it in the command window.
(tui_redisplay_readline): Save cursor position to restore the
cursor after we go back from background.
* tuiData.h (TuiCommandInfo): Add start_line member.
ciceron [Mon, 23 Jul 2001 21:13:57 +0000 (21:13 +0000)]
* tuiStack.c (tuiUpdateLocatorFilename): Use const char*.
* tuiStack.h (tuiUpdateLocatorFilename): Update prototype.
* tuiWin.c (_initialize_tuiWin): Don't cast table of enum in calls
to add_set_enum_cmd.
* tui.c (tui_show_source): New function.
(tuiGetLowDisassemblyAddress): Use CORE_ADDR for newLow.
(tui_switch_mode): Prep or deprep readline terminal;
make sure the \n we return does not redo the last command.
* tui.h (tui_show_source): Declare.
(tui_out_new, tui_install_hooks, tui_remove_hooks): Likewise.
(tui_active, tui_initialize_io, tui_initialize_readline): Likewise.
fche [Mon, 23 Jul 2001 20:37:08 +0000 (20:37 +0000)]
* regression fix
2001-07-23 Frank Ch. Eigler <fche@redhat.com>
* siddoc.in (listfiles): Adapt to new XML-origin .txt files.
ezannoni [Mon, 23 Jul 2001 19:53:08 +0000 (19:53 +0000)]
2001-07-23 Elena Zannoni <ezannoni@redhat.com>
* memattr.c (mem_info_command): Reformat output to look more like
'info break' output.
(_initialize_mem): Improve help.
kettenis [Mon, 23 Jul 2001 19:21:50 +0000 (19:21 +0000)]
* configure.in (AC_CHECK_FUNCS): Add setpggrp.
(AC_FUNC_SETPGRP): Add.
* aclocal.m4, configure, config.in: Regenerated.
* inflow.c (gdb_setpgid): Get rid of NEED_POSIX_SETPGID and
SETPGRP_ARGS. Always use setpgid if it is available, fall back on
setpgrp if it isn't. Use SETPGRP_VOID (defined by autoconf) to
distinguish between the two setpgrp flavours.
* config/xm-sysv4.h, config/arm/xm-linux.h,
config/i386/xm-i386aix.h, config/i386/xm-sco.h,
config/i386/xm-linux.h, config/i386/xm-ptx.h,
config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h,
config/ia64/xm-linux.h (NEED_POSIX_SETPGID): Remove.
* config/rs6000/xm-rs6000.h (SETPGRP_ARGS): Remove.
kseitz [Mon, 23 Jul 2001 19:02:28 +0000 (19:02 +0000)]
* lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
the empty string, do not run the tests.
eliz [Mon, 23 Jul 2001 16:10:24 +0000 (16:10 +0000)]
Add new DJGPP-specific commands and document them in the manual.
Make the function which reads memory regions be more defensive
about buggy DPMI providers.
kazu [Mon, 23 Jul 2001 14:02:11 +0000 (14:02 +0000)]
* config/tc-alpha.h: Fix formatting.
* config/tc-arc.c: Likewise.
* config/tc-d10v.h: Likewise.
* config/tc-hppa.c: Likewise.
* config/tc-i370.c: Likewise.
* config/tc-i386.h: Likewise.
* config/tc-i960.h: Likewise.
* config/tc-ia64.c: Likewise.
* config/tc-ia64.h: Likewise.
* config/tc-m32r.c: Likewise.
* config/tc-m68k.c: Likewise.
* config/tc-m88k.c: Likewise.
* config/tc-ns32k.c: Likewise.
* config/tc-pdp11.c: Likewise.
* config/tc-pj.h: Likewise.
* config/tc-s390.c: Likewise.
* config/tc-sparc.c: Likewise.
* config/tc-sparc.h: Likewise.
* config/tc-tic80.c: Likewise.
* config/tc-w65.h: Likewise.
kazu [Mon, 23 Jul 2001 13:41:14 +0000 (13:41 +0000)]
* s390-dis.c: Fix formatting.
amodra [Mon, 23 Jul 2001 13:03:38 +0000 (13:03 +0000)]
* symbols.c (S_GET_VALUE): Don't treat O_constant and local
symbols specially. Always resolve, adding fr_address to value.
* write.c (write_object_file): Don't add fr_address to sym values.
(relax_frag): Likewise.
(relax_segment): Likewise.
* config/obj-ieee.c (do_symbols): Likewise.
* config/tc-cris.c (md_convert_frag): Likewise.
* config/tc-fr30.c (md_convert_frag): Likewise.
* config/tc-i386.c (md_convert_frag): Likewise.
* config/tc-m32r.c (md_convert_frag): Likewise.
* config/tc-m68hc11.c (md_convert_frag): Likewise.
* config/tc-mcore.c (md_convert_frag): Likewise.
* config/tc-mips.c (mips16_extended_frag): Likewise.
* config/tc-ns32k.c (md_convert_frag): Likewise.
* config/tc-m68k.c (md_convert_frag_1): Likewise.
(BRANCHBWL, BRABSJUNC, BRABSJCOND, BRANCHBW, FBRANCH, DBCCLBR,
DBCCABSJ, PCREL1632, PCINDEX, ABSTOPCREL): Decrement.
(md_relax_table): Remove first four entries. Format.
(md_estimate_size_before_relax): Remove old_fix. Don't bother
setting fr_var. Simplify byte branch checks.
amodra [Mon, 23 Jul 2001 12:50:22 +0000 (12:50 +0000)]
* config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Remove
"isbranch" param as all calls have it set.
(pa_parse_neg_cmpsub_cmpltr): Likewise.
(pa_parse_nonneg_add_cmpltr): Likewise. Remember result of
strcasecmp in "nullify" var.
(pa_parse_neg_add_cmpltr): Likewise.
(pa_ip): Don't "save_s" unnecessarily. Update calls to above
functions. Don't print wrong conditions in error messages.
aj [Mon, 23 Jul 2001 10:21:22 +0000 (10:21 +0000)]
* config/tc-s390.c (s390_force_relocation): Removed.
* config/tc-s390.h: Remove double declaration of
TC_FORCE_RELOCATION.
amodra [Mon, 23 Jul 2001 07:54:03 +0000 (07:54 +0000)]
* ldcref.c (check_section_sym_xref): New function.
(check_nocrossrefs): Call it.
(check_nocrossref): Interate over h->refs here instead of..
(check_refs): ..here. Pass in the symbol name, section, and bfd
rather than hash_entry pointers.
(struct check_refs_info): Keep symbol name rather than hash entry.
Remove "same".
(check_reloc_refs): Tweak for above changes in check_refs_info.
Only report references to section syms when symname is NULL to
prevent duplicate messages for the same reloc.
amodra [Mon, 23 Jul 2001 07:43:09 +0000 (07:43 +0000)]
* gas/i386/opcode.d: Tweak lgdt for 2001-07-18 change.
* gas/i386/intel.d: Likewise.
gdbadmin [Mon, 23 Jul 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
kettenis [Sun, 22 Jul 2001 20:35:14 +0000 (20:35 +0000)]
* i386gnu-nat.c: Include "i387-nat.h".
(struct env387): Removed.
(reg_offset): Fix comment.
(fetch_fpregs): Use FCTRL_REGNUM and FOP_REGNUM instead of
FIRST_FPU_CONTROL_REGNUM and LAST_FPU_CONTROL_REGNUM. Rewrite to
use i387_supply_fsave.
(gnu_fetch_registers): Remove spurious whitespace.
(convert_to_env387): Remove.
(store_fpregs): Add argument regno. Use i387_fill_fsave instead
of convert_to_env387.
(gnu_store_registers): Remove spurious whitespace. Pass REGNO to
store_fpregs.
* config/i386/i386gnu.mt (TDEPFILES): Add i387-tdep.o.
* config/i386/i386gnu.mh (XDEPFILES): Remove i387-tdep.o.
(NATDEPFILES): Add i387-nat.o.
hjl [Sun, 22 Jul 2001 18:11:29 +0000 (18:11 +0000)]
2001-07-22 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (s_mips_end): Remove unused variables.
(s_mips_frame): Add ATTRIBUTE_UNUSED.
ciceron [Sun, 22 Jul 2001 12:41:49 +0000 (12:41 +0000)]
* Makefile.in (ALLDEPFILES): Add m68hc11-tdep.c.
(m68hc11-tdep.o): Define dependencies.
ciceron [Sun, 22 Jul 2001 12:37:02 +0000 (12:37 +0000)]
* m68hc11-tdep.c (m68hc11_gdbarch_init): Define int at 16-bits.
ciceron [Sun, 22 Jul 2001 12:33:58 +0000 (12:33 +0000)]
* Makefile.in (SIM_OBJS): Remove sim-resume.o
* interp.c (sim_resume): New function from sim-resume.c, install
the stepping event after having processed the pending ticks.
(has_stepped): Likewise.
(sim_info): Produce an output only if verbose or STATE_VERBOSE_P.
gdbadmin [Sun, 22 Jul 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
ciceron [Sat, 21 Jul 2001 22:35:40 +0000 (22:35 +0000)]
* tuiIO.c (tui_initialize_io): Install tui_cont_sig signal handler
if SIGCONT is defined.
(tui_cont_sig): New function when SIGCONT is defined.
(tui_setup_io): Save tty setting to restore by SIGCONT.
ciceron [Sat, 21 Jul 2001 22:31:13 +0000 (22:31 +0000)]
* utils.c (init_page_info): Use tui_get_command_dimension.
* printcmd.c (disassemble_command): Simplify tui specific code,
use tui_is_window_visible, tui_show_assembly.
ciceron [Sat, 21 Jul 2001 22:24:44 +0000 (22:24 +0000)]
* tui.h (tui_show_assembly): Declare.
(tui_is_window_visible): Declare.
* tui.c (tui_show_assembly): New function.
(tui_is_window_visible): New function.
(tui_get_command_dimension): New function.
ciceron [Sat, 21 Jul 2001 20:57:17 +0000 (20:57 +0000)]
* tuiWin.c (tuiRefreshAll): Use clearok to force a refresh.
ciceron [Sat, 21 Jul 2001 20:55:34 +0000 (20:55 +0000)]
* tui-file.c (tui_file_fputs): Use tui_puts.
ciceron [Sat, 21 Jul 2001 20:52:56 +0000 (20:52 +0000)]
* tuiStack.c (tuiSetLocatorInfo): Cleanup.
* tuiStack.h (tuiGetLocatorFilename): Declare.
* tuiRegs.h (tuiFirstRegElementNoInLine): Declare.
* tuiData.h (addToSourceWindows): Declare.
ciceron [Sat, 21 Jul 2001 20:49:56 +0000 (20:49 +0000)]
* tui.c (tui_change_windows): New function.
(tui_delete_other_windows): New function.
(tui_initialize_readline): Bind them to C-X 1 and C-X 2.
(tui_enable): Enable the keypad; call tui_update_variables.
(strcat_to_buf_with_fmt): Remove.
cgd [Sat, 21 Jul 2001 20:46:51 +0000 (20:46 +0000)]
2001-07-21 Chris Demetriou <cgd@broadcom.com>
* mips-opc.c (mips_builtin_opcodes): Sort c.le.s and c.lt.s
into the rest of the surrounding definitions.
kettenis [Sat, 21 Jul 2001 20:16:44 +0000 (20:16 +0000)]
* i386bsd-nat.c: Do not include <sys/sysctl.h>.
(_initialize_i386bsd_nat) [KERN_PS_STRINGS]: Move FreeBSD-specific
code to ...
* i386fbsd-nat.c: ... here. New file.
* config/i386/fbsd.mh (NATDEPFILES): Add i386-fbsd.o.
* config/i386/nm-fbsd.h (CHILD_RESUME): Define.
* Makefile.in (ALLDEPFILES): Add i386fbsd-nat.c.
(i386fbsd-nat.o): Add dependencies.
ciceron [Sat, 21 Jul 2001 19:59:14 +0000 (19:59 +0000)]
* tui.h: Remove old declarations, add the new ones.
* tui.c (tui_switch_mode): New function.
(tui_initialize_readline): New function.
(tui_enable): New function.
(tui_disable): New function.
(tuiGetLowDisassemblyAddress): Use CORE_ADDR, cleanup.
(tui_vSelectSourceSymtab): Remove.
(tuiInitWindows): Remove.
(_initialize_tui): Remove.
(_tuiReset): Keep but put arround #if 0.
ciceron [Sat, 21 Jul 2001 19:56:54 +0000 (19:56 +0000)]
* tuiIO.h: Remove old declarations and add the new ones.
* tuiIO.c: New management for curses and gdb terminal interactions.
(tui_tputs): Remove.
(tuiTermSetup, tuiTermUnsetup): Remove, must use normal curses ops.
(tuiBufferGetc, tui_vStartNewLines, _updateCommandInfo): Remove.
(tui_owns_terminal): Remove.
(tui_redisplay_readline): New function.
(tui_puts): New function.
(tui_prep_terminal): New function.
(tui_deprep_terminal): New function.
(tui_getc): Rename of tuiGetc, simplify and fix.
(tui_setup_io): New function.
(tui_initialize_io): New function.
ciceron [Sat, 21 Jul 2001 19:46:59 +0000 (19:46 +0000)]
* tuiRegs.c (tuiDisplayRegistersFrom): Call touchwin.
(_tuiRegisterFormat): Reduce size of format result.
ciceron [Sat, 21 Jul 2001 19:44:38 +0000 (19:44 +0000)]
* tuiGeneralWin.c (boxWin): Use the tui configuration variables.
* tuiWin.h: Declare the new variables.
* tuiWin.c (_initialize_tuiWin): Create TUI configuration variables.
(tui_update_variables): New function.
(translate): New function.
(tui_border_kind_enums, tui_border_mode_enums): New tables.
(tui_border_mode_translate): New table.
(tui_border_kind_translate_*): New tables.
(tui_active_border_mode): New variables.
(tui_border_*): New variables.
hunt [Sat, 21 Jul 2001 18:49:18 +0000 (18:49 +0000)]
2001-07-20 Martin M. Hunt <hunt@redhat.com>
* library/managedwin.itb: Revert to global to properly
initialize geometry with some window managers.
* library/managedwin.ith (shutdown): Remove _geometry.
hunt [Sat, 21 Jul 2001 18:44:03 +0000 (18:44 +0000)]
2001-07-21 Martin M. Hunt <hunt@redhat.com>
* library/interface.tcl (gdbtk_locate_main): Fix function
so that it returns either a null string or a valid location,
as documented.
hunt [Sat, 21 Jul 2001 18:43:34 +0000 (18:43 +0000)]
2001-07-21 Martin M. Hunt <hunt@redhat.com>
* library/variables.tcl (build_menu_helper): Set
the Format menu option to "disabled" initially.
cgf [Sat, 21 Jul 2001 03:20:00 +0000 (03:20 +0000)]
* cygheap.cc (cygheap_fixup_in_child): Attempt Win95 workaround.
* dtable.cc (dtable::dup_worker): Add debugging output.
(dtable::vfork_child_dup): Correctly set close_on_exec.
* fhandler.cc (fhandler_base::fork_fixup): Don't mess with handle if there is
no need to get it from the parent.
* fhandler_tty.cc (fhandler_tty_common::close): Add debugging output.
gdbadmin [Sat, 21 Jul 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
hunt [Fri, 20 Jul 2001 23:26:00 +0000 (23:26 +0000)]
2001-07-20 Martin M. Hunt <hunt@redhat.com>
* library/memwin.itb: Fix syntax to open a new window
using the "-force" flag.