URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [gdb-5.3/] [gdb/] [TODO] - Rev 1780
Go to most recent revision | Compare with Previous | Blame | View Log
If you find inaccuracies in this list, please send mail togdb-patches@sources.redhat.com. If you would like to work on anyof these, you should consider sending mail to the same address, tofind out whether anyone else is working on it.GDB 5.1 - Fixes===============Below is a list of problems identified during the GDB 5.0 releasecycle. People hope to have these problems fixed in 5.1.--Wow, three bug reports for the same problem in one day! We shouldprobably make fixing this a real priority :-).Anyway, thanks for reporting.The following patch will fix the problems with setting breakpoints indynamically loaded objects:http://sources.redhat.com/ml/gdb-patches/2000-05/msg00230.htmlThis patch isn't checked in yet (ping Michael/JimB), but I hope thiswill be in the next GDB release.There should really be a test in the testsuite for this problem, sinceit keeps coming up :-(. Any volunteers?Mark--GDB 5.1 - New features======================The following new features should be included in 5.1.--GDB 5.1 - Cleanups==================The following code cleanups will hopefully be applied to GDB 5.1.--GDB 5.1 - Known Problems========================--z8kThe z8k has suffered bit rot and is known to not build. The problemwas occuring in the opcodes directory.--The BFD directory requires bug-fixed AUTOMAKE et.al.AUTOMAKE 1.4 incorrectly set the TEXINPUTS environment variable. Itcontained the full path to texinfo.tex when it should have onlycontained the directory. The bug has been fixed in the currentAUTOMAKE sources. Automake snapshots can be found in:ftp://sources.redhat.com/pub/gdb/infrastructureand ftp://sources.redhat.com/pub/binutils--Solaris 8 x86 CURSES_H problemhttp://sources.redhat.com/ml/gdb/2000-07/msg00038.htmlThe original problem was worked around with:2000-06-06 Michael Snyder <msnyder@cygnus.com>* configure.in: Enable autoconf to find curses.h on Solaris 2.8.* configure: Regenerate.When building both GDB and SID using the same source tree the problemwill still occure. sid/component/configure.in mis-configures<curses.h> and leaves wrong information in the config cache.--GDB 5.2 - Fixes===============--GDB 5.2 - New features======================--GCC 3.0 ABI support (but hopefully sooner...).--Objective C/C++ support (but hopefully sooner...).--Import of readline 4.2--GDB 5.2 - Cleanups==================The following cleanups have been identified as part of GDB 5.2.--Remove old code that does not use ui_out functions and all the related"ifdef"s. This also allows the elimination of -DUI_OUT fromMakefile.in and configure.in.--Compiler warnings.Eliminate warnings for all targets on at least one host for one of the-W flags. Flags up for debate include: -Wswitch -Wcomment -trigraphs-Wtrigraphs -Wunused-function -Wunused-label -Wunused-variable-Wunused-value -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual-Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes-Wmissing-prototypes -Wmissing-declarations -Wredundant-decls-Woverloaded-virtual -Winline--Deprecate, if not delete, the following:register[]register_valid[]REGISTER_BYTE()Replaced by, on the target sidesupply_register()and on core-gdb side:{read,write}_register_gen()Remote.c will need to use somethingother than REGISTER_BYTE() andREGISTER_RAW_SIZE() when unpacking[gG] packets.STORE_PSEUDO_REGISTERFETCH_PSEUDO_REGISTERNow handed by the methodsgdbarch_{read,write}_register()which sits between core GDB andthe register cache.REGISTER_CONVERTIBLEREGISTER_CONVERT_TO_RAWREGISTER_CONVERT_TO_VIRTUALI think these three are redundant.gdbarch_register_{read,write} cando any conversion it likes.REGISTER_VIRTUAL_SIZEMAX_REGISTER_VIRTUAL_SIZEREGISTER_VIRTUAL_TYPEI think these can be replaced bythe pair:FRAME_REGISTER_TYPE(frame, regnum)REGISTER_TYPE(regnum)DO_REGISTERS_INFOReplace withFRAME_REGISTER_INFO (frame, ...)REGISTER_SIM_REGNO()If nothing else rename this so thathow it relates to rawreg and theregnum is clear.REGISTER_BYTESThe size of the cache can be computedon the fly.IS_TRAPPED_INTERNALVARThe pseudo registers should eventually makethis redundant.--Obsolete the targets:arm*-wince-pemips*-*-pesh*-*-pe--Obsolete the protocols:RDB?``As of version 5.3, WindRiver has removed the RDB server (RDBprotocol support is built into gdb).'' -- Till.--Restructure gdb directory tree so that it avoids any 8.3 and 14filename problems.--Convert GDB build process to AUTOMAKE.See also sub-directory configure below.The current convention is (kind of) to use $(<header>_h) in alldependency lists. It isn't done in a consistent way.--GDB 5.2 - Known Problems========================--Code Cleanups: General======================The following are more general cleanups and fixes. They are not tiedto any specific release.New Features and Fixes======================These are harder than cleanups but easier than work involvingfundamental architectural change.--Language Support================New languages come onto the scene all the time.--Re: Various C++ thingsRTTI for g++ should be using the typeinfo functions rather than thevtables. The typeinfo functions are always at offset 4 from thebeginning of the vtable, and are always right. The vtables will haveweird names like E::VB sometimes. The typeinfo function will alwaysbe "E type_info function", or somesuch.value_virtual_fn_field needs to be fixed so there are no failures forvirtual functions for C++ using g++.Testsuite cases are the major priority right now for C++ support,since i have to make a lot of changes that could potentially breakeach other.--Symbol Support==============--Investiagate ways of reducing memory.--Investigate ways of improving load time.--Testsuite Support=================There are never to many testcases.--Better thread testsuite.--Better C++ testsuite.--Architectural Changes: General==============================These are harder than simple cleanups / fixes and, consequentlyinvolve more work. Typically an Architectural Change will be brokendown into a more digestible set of cleanups and fixes.--Architectural Change: Multi-arch et al.=======================================The long term objective is to remove all assumptions that there is asingle target with a single address space with a single instructionset architecture and single application binary interface.This is an ongoing effort. The first milestone is to enable``multi-arch'' where by all architectural decisions are made atruntime.It should be noted that ``gdbarch'' is really ``gdbabi'' and``gdbisa''. Once things are multi-arched breaking that down correctlywill become much easier.--Architectural Change: MI, LIBGDB and scripting languages========================================================See also architectural changes related to the event loop. LIBGDBcan't be finished until there is a generic event loop being used byall targets.The long term objective is it to be possible to integrate GDB intoscripting languages.--Architectural Change: Async===========================While GDB uses an event loop when prompting the user for input. Thatevent loop is not exploited by targets when they allow the targetprogram to continue. Typically targets still block in (target_wait())until the program again halts.The closest a target comes to supporting full asynchronous mode arethe remote targets ``async'' and ``extended-async''.--# Local Variables:# mode: text# End:
Go to most recent revision | Compare with Previous | Blame | View Log
