* Makefile.in (GDBMI_DIR): New variable.
[deliverable/binutils-gdb.git] / gdb / TODO
index 928c677e0e0984e8f17f9262c8f98a8b83be391b..251ff8fbd6ff31ff469864bc8dd17a4b651a0b53 100644 (file)
--- a/gdb/TODO
+++ b/gdb/TODO
@@ -4,73 +4,57 @@ you should consider sending mail to the same address, to find out
 whether anyone else is working on it.
 
 
-TODO: GDB 5.0
-=============
-
-Here are _all_ the issues that have been raised vis-a-vis the 5.0
-release.  Also check the GDB, and other, mail archives
-(http://sourceware.cygnus.com/ml/gdb/).
-
-If, however, you fix something, then feel free to tweek this file
-(deleting the problem).  Just send a note to gdb-patches so that I see
-the change.
-
-The names in paren are those that might know more about the problem.
-They don't necessarily indicate the people that will fix the problem.
+Known problems in GDB 5.0
+=========================
 
---
-
-GDB 5.0: Must have
-------------------
+Below is a list of problems identified during the GDB 5.0 release
+cycle.  People hope to have these problems fixed in a follow-on
+release.
 
-These are things that have been identifed as must-have for this
-release of GDB.
+(The names in paren indicate people that posted the original problem.)
 
 --
 
-Solaris/x86 - which? (Nick Duffek, Peter Schauer, Michael Snyder?)
+GDB doesn't build under IRIX6.4
 
-Nick D's working through patches from Michael Snyder and Peter S.
-
---
-
-
-RFA: procfs.c: init_procfs_ops should set
-procfs_ops.to_has_[all]_memory (Peter Schauer, Andrew Cagney?)
-
-I am pretty sure that this is caused by some accidental deletion, but
-procfs.c:init_procfs_ops no longer sets procfs_ops.to_has_memory and
-procfs_ops.to_has_all_memory.
+Benjamin Gamsa wrote:
 
-http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg01057.html
+Has anyone successfully built the latest (from cvs) gdb on IRIX6.4 or
+later?  The first problem I hit is that proc-api.c includes
+sys/user.h, which no longer exists under IRIX6.4.  If I comment out
+that include, the next problem I hit is that PIOCGETPR and PIOCGETU
+are no longer defined in IRIX6.4 (presumably related to the
+disappearance of user.h).
 
 --
 
-GDB 5.0: Nice to have
----------------------
+gdb-cvs fails to build on freebsd-elf
+http://sourceware.cygnus.com/ml/gdb/2000-04/msg00004.html
 
-These are things that might make it in 5.0 but don't sit in the
-critical path.  If they miss the 5.0 cut then they definitly should
-make the follow-on release.
+Either the FreeBSD group need to contribute their local GDB changes
+back to the master sources or someone needs to provides a new
+(clean-room) implementation.  Since the former involves a fairly
+complicated assignment the latter may be easier. [cagney]
 
 --
 
-Generic: lin-thread cannot handle thread exit (Mark Kettenis, Michael Snyder)
-http://sourceware.cygnus.com/ml/gdb/2000-q1/msg00525.html
+Generic: lin-thread cannot handle thread exit (Mark Kettenis, Michael
+Snyder) http://sourceware.cygnus.com/ml/gdb/2000-q1/msg00525.html
 
 The thread_db assisted debugging code doesn't handle exiting threads
 properly, at least in combination with glibc 2.1.3 (the framework is
 there, just not the actual code).  There are at least two problems
 that prevent this from working.
 
-As an additional reference point, the pre thread_db code didn't work
+As an additional reference point, the pre thread_db code did not work
 either.
 
 --
 
 Java (Anthony Green, David Taylor)
 
-Anthony Green has started contributing late breaking Java patches:
+Anthony Green has a number of Java patches that did not make it into
+the 5.0 release.
 
 Patch: java tests
 http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00512.html
@@ -81,32 +65,24 @@ http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00515.html
 Patch: handle N_MAIN stab
 http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00527.html
 
-It should be able to squeeze these in.
-
 --
 
 Pascal (Pierre Muller, David Taylor)
 
-The pascal support patches nave been added to the patch data base.  I
-[cagney] strongly suspect that they are better suited for 5.1.
-
-Indent -gnu ?
-http://sourceware.cygnus.com/ml/gdb/2000-q1/msg00496.html
+Pierre Muller has contributed patches for adding Pascal Language
+support to GDB.
 
 2 pascal language patches inserted in database
 http://sourceware.cygnus.com/ml/gdb/2000-q1/msg00521.html
 
---
-
-Programs run under GDB have SIGCHLD masked.
-
-[I think this can be worked around by using the action command -
-cagney]
+Indent -gnu ?
+http://sourceware.cygnus.com/ml/gdb/2000-q1/msg00496.html
 
 --
 
 GNU/Linux/x86 and random thread signals (and Solaris/SPARC but not
-Solaris/x86)
+Solaris/x86).
+http://sourceware.cygnus.com/ml/gdb/2000-q1/msg00336.html
 
 Christopher Blizzard writes:
 
@@ -128,116 +104,64 @@ http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=9565
 
 --
 
-IRIX?
-
-Benjamin Gamsa wrote:
-
-Has anyone successfully built the latest (from cvs) gdb on IRIX6.4 or
-later?  The first problem I hit is that proc-api.c includes
-sys/user.h, which no longer exists under IRIX6.4.  If I comment out
-that include, the next problem I hit is that PIOCGETPR and PIOCGETU
-are no longer defined in IRIX6.4 (presumably related to the
-disappearance of user.h).
-
---
-
-Regressions (prologue) with devel GCC.
-
-The current head of the GCC branch doesn't co-operate well with GDB
-over debug information.
-
-Regressions problem (200 failures)
+Possible regressions with some devel GCCs.
 http://sourceware.cygnus.com/ml/gdb/2000-q1/msg00475.html
 
---
-
-RFA: infrun.c, breakpoint.c: Kludge for Solaris x86 hardware watchpoint support
-http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00664.html
+gcc-2.95.2 outputs a line note *before* the prologue (and one for the
+closing brace after the epilogue, instead of before it, as it used to
+be). By disabling the RTL-style prologue generating mechanism
+(undocumented GCC option -mno-schedule-prologue), you get back the
+traditional behaviour.
+http://sourceware.cygnus.com/ml/gdb/2000-q1/msg00510.html
 
-Unfortunately I'd need the following kludge to work around a Solaris
-x86 kernel problem with hardware watchpoint support.  See the comment
-in the patches for a description of the problem.
+This should now be fixed.
 
 --
 
-RFD: infrun.c: No bpstat_stop_status call after proceed over break ?
+RFD: infrun.c: No bpstat_stop_status call after proceed over break?
+(Peter Schauer)
 http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00665.html
 
-I am currently trying to fix a GDB bug with missing watchpoint triggers
-after proceeding over a breakpoint on x86 targets.
+GDB misses watchpoint triggers after proceeding over a breakpoint on
+x86 targets.
 
 --
 
 x86 linux GDB and SIGALRM (???)
 http://sourceware.cygnus.com/ml/gdb/2000-q1/msg00803.html
 
---
-
-Migrate qfThreadInfo packet -> qThreadInfo. (Andrew Cagney)
-
-Add support for packet enable/disable commands with these thread
-packets.  General cleanup.
-
-[PATCH] Document the ThreadInfo remote protocol queries
-http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00832.html
+I know there are problems with single stepping through signal
+handlers.  These problems were present in 4.18.  They were just masked
+because 4.18 failed to recognize signal handlers.  Fixing it is not
+easy, and will require changes to handle_inferior_event(), that I
+prefer not to make before the 5.0 release.
 
-[PATCH] "info threads" queries for remote.c
-http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00831.html
-
---
-
-MI documentation in GDB user guide. (Andrew Cagney, Elena Zannoni,
-Stan Shebs, anyone else?)
-
-> (Are there plans to make gdbmi.texi be part of the manual as well?)
-
-I'd like to see it go in there sooner rather than later too.  Otherwise
-you're introducing discrepancies between the manual and the documentation,
-and everybody is confused - witness the lack of doc for the tracing
-commands still, some two years after they were added...
-
-Discussion on MI can be found on the thread: [PATCH] GDB command-line
-switches and annotations docs
-http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00639.html
+Mark
 
 --
 
 Revised UDP support (was: Re: [Fwd: [patch] UDP transport support])
 http://sourceware.cygnus.com/ml/gdb-patches/2000-04/msg00000.html
 
---
-
-problems loading shared libraries - with attached test case
-http://sourceware.cygnus.com/ml/gdb/2000-q1/msg00820.html
-
-Hi, I'm having problems loading shared libraries.  This is with a
-build of gdb out of cvs that I pulled and built on March 27th and has
-been there for at least a week.  I haven't gone back further than
-that.  This is with the gcc that is shipping with Red Hat 6.2:
-
-Reading specs from
-/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs gcc version
-egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
-
-I'm using "set auto-solib-add 0" after main has been called.  If I use
-"shar" to load a shared library manually once I can't use it again to
-load another shared library later.  Please see the attached log for an
-example of how to reproduce the problem.
+(Broken) support for GDB's remote protocol across UDP is to be
+included in the follow-on release.
 
 --
 
-GDB 5.0: Won't have
--------------------
+               ------------------------------------------------
+
+Code cleanups
+=============
 
-The following are on hold until GDB 5.0 is branched.  In general they
-won't go in as they unsettle the GDB sources.
+The following code cleanups are planned for the follow-on release to
+GDB 5.0.
 
 --
 
 ATTRIBUTE_UNUSED
 
 The need for this as almost been eliminated.  The next version of GCC
-(assuming cagney gets the revised patch approved) will be able to
+(assuming cagney gets the relevant patch committed) will be able to
 supress unused parameter warnings.
 
 --
@@ -256,7 +180,7 @@ Readline 4.? is out.  A merge wouldn't hurt.
 
 Purge PARAMS
 
-Something to do post 5.0 branch
+Eliminate all uses of PARAMS in GDB's source code.
 
 --
 
@@ -268,17 +192,6 @@ http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00814.html
 
 --
 
-Allow GDB to use installed regex.  Think about updating regex to more
-recent version (Andrew Cagney).
-
-Re: A new patch for regex
-http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00635.html
-
-A patch for gnu-regex
-http://sourceware.cygnus.com/ml/gdb/2000-q1/msg00568.html
-
---
-
 ChangeLog.mi vs ChangeLog-mi (Andrew Cagney)
 Needs further debate.
 
@@ -287,132 +200,80 @@ http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00811.html
 
 --
 
-Re: gdb-cvs fails on freebsd-elf
-http://sourceware.cygnus.com/ml/gdb/2000-04/msg00004.html
-
-FreeBSD haven't contributed their local GDB changes back to the master
-sources (they would at least need an FSF assignment by all
-individuales that contributed to the work).  Given the strong
-likelhood that this will never happen, I'd suggest that a better
-strategy would be for someone (with an FSF/GDD assignment) to do a new
-(clean-room) implementation.  That can then be accepted in time for
-GDB 5.1.
+Re: Various C++ things
 
---
+value_headof/value_from_vtable_info are worthless, and should be removed.
+The one place in printcmd.c that uses it should use the RTTI functions.
 
-GDB 5.0: Test results
----------------------
+RTTI for g++ should be using the typeinfo functions rather than the vtables.
+The typeinfo functions are always at offset 4 from the beginning of the vtable,
+and are always right. The vtables will have weird names like E::VB sometimes.
+The typeinfo function will always be "E type_info function", or somesuch.
 
-Please include:
+value_virtual_fn_field needs to be fixed so there are no failures for virtual
+functions for C++ using g++.
 
-       o       the output of `config.guess`
-       o       the date
-       o       the compiler
-       o       a note mentioning the reason
-               for any serious failures.
+Testsuite cases are the major priority right now for C++ support, since i have
+to make a lot of changes that could potentially break each other.
 
 --
 
-alpha-dec-osf4.0a, vendor compiler, 2000-03-04
-
-Still has many compile warnings (mostly relating back to PTR vs void*)
-but it did compile using:
-
-       CC=cc .../configure
-       make
-
-Test results are:
-
-# of expected passes            6223
-# of unexpected failures        103
-# of unexpected successes       2
-# of expected failures          196
-# of unresolved testcases       6
-# of unsupported tests          1
+GDBARCH cleanup (Andrew Cagney)
 
-Looking at the output it would appear that GDB is stepping into some
-functions instead of ``next'' ing over them:
+The non-generated parts of gdbarch.{sh,h,c} should be separated out
+into arch-utils.[hc].
 
-       35          dummy();
-       (gdb) next
-       dummy () at /home/cagney/GDB-DEJAGNU/src/gdb/testsuite/gdb.base/all-types.c:41
-       41      {
+The ``info architecture'' command should be replaced with a fixed
+``set architecture'' (implemented using the command.c enum code).
 
-Since there is no active maintainer, I'd consider this sufficient for
-5.0 :-/
+Document that gdbarch_init_ftype could easily fail because it didn't
+identify an architecture.
 
 --
 
-sparc-sun-solaris2.6, egcs-2.91.66, 2000-02-10
-http://sourceware.cygnus.com/ml/gdb-testers/2000-q1/msg00030.html
-
-There is a SIGTRAP problem that occures in ptrace.exp (Cagney to
-expand on).
-
-# of expected passes            6420
-# of unexpected failures        7
-# of expected failures          199
+Migrate qfThreadInfo packet -> qThreadInfo. (Andrew Cagney)
 
---
+Add support for packet enable/disable commands with these thread
+packets.  General cleanup.
 
-solaris 2.5.1 sparc?, 2.9-gnupro-99r1, 2000-02-10
-http://sourceware.cygnus.com/ml/gdb-testers/2000-q1/msg00032.html
+[PATCH] Document the ThreadInfo remote protocol queries
+http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00832.html
 
-# of expected passes            6420
-# of unexpected failures        6
-# of expected failures          199
+[PATCH] "info threads" queries for remote.c
+http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00831.html
 
 --
 
-sparc-unknown-netbsdelf1.4P, egcs-1.1.2+, 2000-03-01
-
-This is with a very recent kernel.
+Eliminate gdb/tui/Makefile.in.
+Cleanup configury support for optional sub-directories.
 
-# of expected passes            6055
-# of unexpected failures        88
-# of unexpected successes       1
-# of expected failures          190
-# of unresolved testcases       59
+Check how GCC handles multiple front ends for an example of how things
+could work.  A tentative first step is to rationalize things so that
+all sub directories are handled in a fashion similar to gdb/mi.
 
 --
 
-GNU/Linux PPC
-http://sourceware.cygnus.com/ml/gdb/2000-q1/msg00185.html
+[PATCH/5] src/intl/Makefile.in:distclean additions
+http://sourceware.cygnus.com/ml/gdb-patches/2000-04/msg00363.html
 
-Kevins merged it all in.
+Do not forget to merge the patch back into the trunk.
 
 --
 
-Unixware
-
-Builds ok.  Problems with some of the thread code.  Unfortunate but
-not a show stopper.  Nick D's still looking at it.
-
-Re: uw-threads issues
-http://sourceware.cygnus.com/ml/gdb/2000-q1/msg00025.html
-
+Re: [RFC] Change configure.in so -W arnings match reality
+http://sourceware.cygnus.com/ml/gdb-patches/2000-04/msg00350.html
 
-               ------------------------------------------------
+Some GCC compilers do not like -Wreturn-type.  (Going forward there
+may be more problems like that).  Need to check which of the warning
+options are valid.  Need to probably disable warnings by default.
 
+--
 
 General Wish List
 =================
 
 --
 
-GDBARCH cleanup (Andrew Cagney)
-
-The non-generated parts of gdbarch.{sh,h,c} should be separated out
-into gdbarch-utils.[hc] (Name ok).
-
-The ``info architecture'' command should be replaced with a fixed
-``set architecture'' (implemented using the command.c enum code).
-
-Document that gdbarch_init_ftype could easily fail because it didn't
-identify an architecture.
-
---
-
 Check that GDB can handle all BFD architectures (Andrew Cagney)
 
 There should be a test that checks that BFD/GDB are in sync with
This page took 0.0286 seconds and 4 git commands to generate.