Add GDB 5.0 release criteria.
[binutils-gdb.git] / gdb / TODO
1 If you find inaccuracies in this list, please send mail to
2 bug-gdb@prep.ai.mit.edu. If you would like to work on any of these,
3 you should consider sending mail to the same address, to find out
4 whether anyone else is working on it.
5
6
7 TODO: GDB 5.0
8 =============
9
10 Here are _all_ the issues that have been raised vis-a-vis the 5.0
11 release. Also check the GDB, and other, mail archives
12 (http://sourceware.cygnus.com/ml/gdb/).
13
14 If, however, you fix something, then feel free to tweek this file
15 (deleting the problem). Just send a note to gdb-patches so that I see
16 the change.
17
18 The names in paren are those that might know more about the problem.
19 They don't necessarily indicate the people that will fix the problem.
20
21 --
22
23 GDB 5.0: Must have
24 ------------------
25
26 These are things that have been identifed as must-have for this
27 release of GDB.
28
29 --
30
31 Watch point related patches (Eli Zaretskii, Michael Snyder, ???)
32
33 Eli writes: This doesn't include the watchpoint-related patches I sent
34 beginning with August or September, and mentioned them again three
35 weeks ago. Here again are the pointers to the relevant messages:
36
37 Hardware breakpoints and watchpoints: patches
38 http://sourceware.cygnus.com/ml/gdb-patches/1999-q3/msg00173.html
39
40 Re: Hardware breakpoints and watchpoints: patches
41 http://sourceware.cygnus.com/ml/gdb-patches/1999-q3/msg00204.html
42
43 Re: Hardware breakpoints and watchpoints: patches
44 http://sourceware.cygnus.com/ml/gdb-patches/1999-q4/msg00200.html
45
46 Hardware watchpoints for bitfields
47 http://sourceware.cygnus.com/ml/gdb-patches/1999-q4/msg00201.html
48
49 --
50
51 Tom's speedups to GDB (Tom Tromey, Jim Blandy)
52
53 I believe that there was a late breaking fix that stopped a coredump.
54
55 http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00869.html
56
57 --
58
59 Solaris/x86 - which? (Nick Duffek, Peter Schauer, Michael Snyder?)
60
61 Nick D's working through patches from Michael Snyder and Peter S.
62
63 --
64
65 Texinfo broken/builds (Andrew Cagney, Stan Shebs)
66
67 Cagney probably botched a fix to a botch.
68
69 --
70
71 x86 linux GDB and SIGALRM
72 http://sourceware.cygnus.com/ml/gdb/2000-q1/msg00803.html
73
74 --
75
76 RFA: breakpoint.c: Minor output fixes for hardware watchpoints
77 http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00558.html
78
79 During implementation of hardware watchpoints on Solaris, I noticed the
80 following inconsistencies in breakpoint.c output between software and
81 hardware breakpoints.
82
83 --
84
85 GDB 5.0: Nice to have
86 ---------------------
87
88 These are things that might make it in 5.0 but don't sit in the
89 critical path. If they miss the 5.0 cut then they definitly should
90 make the follow-on release.
91
92 --
93
94 Generic: lin-thread cannot handle thread exit (Mark Kettenis, Michael Snyder)
95 http://sourceware.cygnus.com/ml/gdb/2000-q1/msg00525.html
96
97 The thread_db assisted debugging code doesn't handle exiting threads
98 properly, at least in combination with glibc 2.1.3 (the framework is
99 there, just not the actual code). There are at least two problems
100 that prevent this from working.
101
102 As an additional reference point, the pre thread_db code didn't work
103 either.
104
105 --
106
107 Java (Anthony Green, David Taylor)
108
109 Anthony Green has started contributing late breaking Java patches:
110
111 Patch: java tests
112 http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00512.html
113
114 Patch: java booleans
115 http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00515.html
116
117 Patch: handle N_MAIN stab
118 http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00527.html
119
120 It should be able to squeeze these in.
121
122 --
123
124 Pascal (Pierre Muller, David Taylor)
125
126 The pascal support patches nave been added to the patch data base. I
127 [cagney] strongly suspect that they are better suited for 5.1.
128
129 --
130
131 Programs run under GDB have SIGCHLD masked.
132
133 [I think this can be worked around by using the action command -
134 cagney]
135
136 --
137
138 GNU/Linux/x86 and random thread signals (and Solaris/SPARC but not
139 Solaris/x86)
140
141 Christopher Blizzard writes:
142
143 So, I've done some more digging into this and it looks like Jim
144 Kingdon has reported this problem in the past:
145
146 http://sourceware.cygnus.com/ml/bug-gdb/1999-10/msg00058.html
147
148 I can reproduce this problem both with and without Tom's patch. Has
149 anyone seen this before? Maybe have a solution for it hanging around?
150 :)
151
152 There's a test case for this documented at:
153
154 when debugging threaded applications you get extra SIGTRAPs
155 http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=9565
156
157 [There should be a GDB testcase - cagney]
158
159 --
160
161 IRIX?
162
163 Benjamin Gamsa wrote:
164
165 Has anyone successfully built the latest (from cvs) gdb on IRIX6.4 or
166 later? The first problem I hit is that proc-api.c includes
167 sys/user.h, which no longer exists under IRIX6.4. If I comment out
168 that include, the next problem I hit is that PIOCGETPR and PIOCGETU
169 are no longer defined in IRIX6.4 (presumably related to the
170 disappearance of user.h).
171
172 --
173
174 Regressions (prologue) with devel GCC.
175
176 The current head of the GCC branch doesn't co-operate well with GDB
177 over debug information.
178
179 Regressions problem (200 failures)
180 http://sourceware.cygnus.com/ml/gdb/2000-q1/msg00475.html
181
182 --
183
184 RFA: infrun.c, breakpoint.c: Kludge for Solaris x86 hardware watchpoint support
185 http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00664.html
186
187 Unfortunately I'd need the following kludge to work around a Solaris
188 x86 kernel problem with hardware watchpoint support. See the comment
189 in the patches for a description of the problem.
190
191 --
192
193 RFD: infrun.c: No bpstat_stop_status call after proceed over break ?
194 http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00665.html
195
196 I am currently trying to fix a GDB bug with missing watchpoint triggers
197 after proceeding over a breakpoint on x86 targets.
198
199 --
200
201 GDB 5.0: Won't have
202 -------------------
203
204 The following are on hold until GDB 5.0 is branched. In general they
205 won't go in as they unsettle the GDB sources.
206
207 --
208
209 ATTRIBUTE_UNUSED
210
211 The need for this as almost been eliminated. The next version of GCC
212 (assuming cagney gets the revised patch approved) will be able to
213 supress unused parameter warnings.
214
215 --
216
217 Delete macro TARGET_BYTE_ORDER_SELECTABLE.
218
219 Patches in the database.
220
221 --
222
223 Updated readline
224
225 Readline 4.? is out. A merge wouldn't hurt.
226
227 --
228
229 Purge PARAMS
230
231 Something to do post 5.0 branch
232
233 --
234
235 GDB 5.0: Test results
236 ---------------------
237
238 Please include:
239
240 o the output of `config.guess`
241 o the date
242 o the compiler
243 o a note mentioning the reason
244 for any serious failures.
245
246 --
247
248 alpha-dec-osf4.0a, vendor compiler, 2000-03-04
249
250 Still has many compile warnings (mostly relating back to PTR vs void*)
251 but it did compile using:
252
253 CC=cc .../configure
254 make
255
256 Test results are:
257
258 # of expected passes 6223
259 # of unexpected failures 103
260 # of unexpected successes 2
261 # of expected failures 196
262 # of unresolved testcases 6
263 # of unsupported tests 1
264
265 Looking at the output it would appear that GDB is stepping into some
266 functions instead of ``next'' ing over them:
267
268 35 dummy();
269 (gdb) next
270 dummy () at /home/cagney/GDB-DEJAGNU/src/gdb/testsuite/gdb.base/all-types.c:41
271 41 {
272
273 Since there is no active maintainer, I'd consider this sufficient for
274 5.0 :-/
275
276 --
277
278 sparc-sun-solaris2.6, egcs-2.91.66, 2000-02-10
279 http://sourceware.cygnus.com/ml/gdb-testers/2000-q1/msg00030.html
280
281 There is a SIGTRAP problem that occures in ptrace.exp (Cagney to
282 expand on).
283
284 # of expected passes 6420
285 # of unexpected failures 7
286 # of expected failures 199
287
288 --
289
290 solaris 2.5.1 sparc?, 2.9-gnupro-99r1, 2000-02-10
291 http://sourceware.cygnus.com/ml/gdb-testers/2000-q1/msg00032.html
292
293 # of expected passes 6420
294 # of unexpected failures 6
295 # of expected failures 199
296
297 --
298
299 sparc-unknown-netbsdelf1.4P, egcs-1.1.2+, 2000-03-01
300
301 This is with a very recent kernel.
302
303 # of expected passes 6055
304 # of unexpected failures 88
305 # of unexpected successes 1
306 # of expected failures 190
307 # of unresolved testcases 59
308
309 --
310
311 GNU/Linux PPC
312 http://sourceware.cygnus.com/ml/gdb/2000-q1/msg00185.html
313
314 Kevins merged it all in.
315
316 --
317
318 Unixware
319
320 Builds ok. Problems with some of the thread code. Unfortunate but
321 not a show stopper. Nick D's still looking at it.
322
323 Re: uw-threads issues
324 http://sourceware.cygnus.com/ml/gdb/2000-q1/msg00025.html
325
326
327 ------------------------------------------------
328
329
330 General Wish List
331 =================
332
333 This list is probably not up to date, and opinions vary about the
334 importance or even desirability of some of the items.
335
336 Document trace machinery.
337
338 Document overlay machinery.
339
340 Extend .gdbinit mechanism to specify name on command line, allow for
341 lists of files to load, include function of --tclcommand.
342
343 @c This does not work (yet if ever). FIXME.
344 @c @item --parse=@var{lang} @dots{}
345 @c Configure the @value{GDBN} expression parser to parse the listed languages.
346 @c @samp{all} configures @value{GDBN} for all supported languages. To get a
347 @c list of all supported languages, omit the argument. Without this
348 @c option, @value{GDBN} is configured to parse all supported languages.
349
350 Add an "info bfd" command that displays supported object formats,
351 similarly to objdump -i.
352
353 START_INFERIOR_TRAPS_EXPECTED need never be defined to 2, since that
354 is its default value. Clean this up.
355
356 It should be possible to use symbols from shared libraries before we know
357 exactly where the libraries will be loaded. E.g. "b perror" before running
358 the program. This could maybe be done as an extension of the "breakpoint
359 re-evaluation" after new symbols are loaded.
360
361 Make single_step() insert and remove breakpoints in one operation.
362
363 Speed up single stepping by avoiding extraneous ptrace calls.
364
365 Speed up single stepping by not inserting and removing breakpoints
366 each time the inferior starts and stops.
367
368 Breakpoints should not be inserted and deleted all the time. Only the
369 one(s) there should be removed when we have to step over one. Support
370 breakpoints that don't have to be removed to step over them.
371
372 Update gdbint.texinfo to include doc on the directory structure and
373 the various tricks of building gdb.
374
375 Do a tutorial in gdb.texinfo on how to do simple things in gdb.
376 E.g. how to set a breakpoint that just prints something and continues.
377 How to break on aborts. Etc.
378
379 Provide "voodoo" debugging of core files. This creates a zombie
380 process as a child of the debugger, and loads it up with the data,
381 stack, and regs of the core file. This allows you to call functions
382 in the executable, to manipulate the data in the core file.
383
384 GDB reopens the source file on every line, as you "next" through it.
385
386 Referencing the vtbl member of a struct doesn't work. It prints OK
387 if you print the struct, but it gets 0 if you try to deref it.
388
389 Persistent command history: A feature where you could save off a list
390 of the commands you did, so you can edit it into something that will bring
391 the target to the same place every time you source it.
392 This would also be useful for automated fast watchpointing; if you go
393 past the place where it watchpoints, you just start it over again and
394 do it more carefully.
395
396 Deal with the SunOS 4.0 and 4.1.1 ptrace bug that loses the registers if
397 the stack is paged out.
398
399 Finish the C++ exception handling stub routines. Lint points them out
400 as unused statics functions.
401
402 Perhaps "i source" should take an argument like that of "list".
403
404 See if core-aout.c's fetch_core_registers can be used on more machines.
405 E.g. MIPS (mips-xdep.c).
406
407 unpack_double() does not handle IEEE float on the target unless the host
408 is also IEEE. Death on a vax.
409
410 Set up interface between GDB and INFO so that you can hop into interactive
411 INFO and back out again. When running under Emacs, should use Emacs
412 info, else fork the info program. Installation of GDB should install
413 its texinfo files into the info tree automagically, including the readline
414 texinfo files.
415
416 "help address" ought to find the "help set print address" entry.
417
418 Remove the VTBL internal guts from printouts of C++ structs, unless
419 vtblprint is set.
420
421 Remove "at 0xnnnn" from the "b foo" response, if `print address off' and if
422 it matches the source line indicated.
423
424 The prompt at end of screen should accept space as well as CR.
425
426 Check STORE_RETURN_VALUE on all architectures. Check near it in tm-sparc.h
427 for other bogosities.
428
429 Check for storage leaks in GDB, I'm sure there are a lot!
430
431 vtblprint of a vtbl should demangle the names it's printing.
432
433 Backtrace should point out what the currently selected frame is, in
434 its display, perhaps showing "@3 foo (bar, ...)" or ">3 foo (bar,
435 ...)" rather than "#3 foo (bar, ...)".
436
437 "i program" should work for core files, and display more info, like what
438 actually caused it to die.
439
440 "x/10i" should shorten the long name, if any, on subsequent lines.
441
442 Check through the code for FIXME comments and fix them. dbxread.c,
443 blockframe.c, and plenty more. (I count 634 as of 940621 - sts)
444
445 "next" over a function that longjumps, never stops until next time you happen
446 to get to that spot by accident. E.g. "n" over execute_command which has
447 an error.
448
449 "set zeroprint off", don't bother printing members of structs which
450 are entirely zero. Useful for those big structs with few useful
451 members.
452
453 GDB does four ioctl's for every command, probably switching terminal modes
454 to/from inferior or for readline or something.
455
456 terminal_ours versus terminal_inferior: cache state. Switch should be a noop
457 if the state is the same, too.
458
459 ptype $i6 = void??!
460
461 Clean up invalid_float handling so gdb doesn't coredump when it tries to
462 access a NaN. While this might work on SPARC, other machines are not
463 configured right.
464
465 "b value_at ; commands ; continue ; end" stops EVERY OTHER TIME!
466 Then once you enter a command, it does the command, runs two more
467 times, and then stops again! Bizarre... (This behaviour has been
468 modified, but it is not yet 100% predictable when e.g. the commands
469 call functions in the child, and while there, the child is interrupted
470 with a signal, or hits a breakpoint.)
471
472 help completion, help history should work.
473
474 Check that we can handle stack trace through varargs AND alloca in same
475 function, on 29K.
476
477 wait_for_inferior loops forever if wait() gives it an error.
478
479 "i frame" shows wrong "arglist at" location, doesn't show where the args
480 should be found, only their actual values.
481
482 There should be a way for "set" commands to validate the new setting
483 before it takes effect.
484
485 A mess of floating point opcodes are missing from sparc-opcode.h.
486 Also, a little program should test the table for bits that are
487 overspecified or underspecified. E.g. if the must-be-ones bits
488 and the must-be-zeroes bits leave some fields unexamined, and the format
489 string leaves them unprinted, then point this out. If multiple
490 non-alias patterns match, point this out too. Finally, there should
491 be a sparc-optest.s file that tries each pattern out. This file
492 should end up coming back the same (modulo transformation comments)
493 if fed to "gas" then the .o is fed to gdb for disassembly.
494
495 Eliminate all the core_file_command's in all the xdep files.
496 Eliminate separate declarations of registers[] everywhere.
497
498 "ena d" is ambiguous, why? "ena delete" seems to think it is a command!
499
500 Perhaps move the tdep, xdep, and nat files, into the config
501 subdirectories. If not, at least straighten out their names so that
502 they all start with the machine name.
503
504 inferior_status should include stop_print_frame. It won't need to be
505 reset in wait_for_inferior after bpstat_stop_status call, then.
506
507 i line VAR produces "Line number not known for symbol ``var''.". I
508 thought we were stashing that info now!
509
510 We should be able to write to random files at hex offsets like adb.
511
512 Make "target xxx" command interruptible.
513
514 Handle add_file with separate text, data, and bss addresses. Maybe
515 handle separate addresses for each segment in the object file?
516
517 Handle free_named_symtab to cope with multiply-loaded object files
518 in a dynamic linking environment. Should remember the last copy loaded,
519 but not get too snowed if it finds references to the older copy.
520
521 Generalize and Standardize the RPC interface to a target program,
522 improve it beyond the "ptrace" interface, and see if it can become a
523 standard for remote debugging. (This is talking about the vxworks
524 interface. Seems unlikely to me that there will be "a standard" for
525 remote debugging anytime soon --kingdon, 8 Nov 1994).
526
527 Remove all references to:
528 text_offset
529 data_offset
530 text_data_start
531 text_end
532 exec_data_offset
533 ...
534 now that we have BFD. All remaining are in machine dependent files.
535
536 When quitting with a running program, if a core file was previously
537 examined, you get "Couldn't read float regs from core file"...if
538 indeed it can't. generic_mourn_inferior...
539
540 Have remote targets give a warning on a signal argument to
541 target_resume. Or better yet, extend the protocols so that it works
542 like it does on the Unix-like systems.
543
544 Sort help and info output.
545
546 Re-organize help categories into things that tend to fit on a screen
547 and hang together.
548
549 renote-nindy.c handles interrupts poorly; it error()s out of badly
550 chosen places, e.g. leaving current_frame zero, which causes core dumps
551 on the next command.
552
553 Add in commands like ADB's for searching for patterns, etc. We should
554 be able to examine and patch raw unsymboled binaries as well in gdb as
555 we can in adb. (E.g. increase the timeout in /bin/login without source).
556
557 Those xdep files that call register_addr without defining it are
558 probably simply broken. When reconfiguring this part of gdb, I could
559 only make guesses about how to redo some of those files, and I
560 probably guessed wrong, or left them "for later" when I have a
561 machine that can attempt to build them.
562
563 When doing "step" or "next", if a few lines of source are skipped between
564 the previous line and the current one, print those lines, not just the
565 last line of a multiline statement.
566
567 When searching for C++ superclasses in value_cast in valops.c, we must
568 not search the "fields", only the "superclasses". There might be a
569 struct with a field name that matches the superclass name. This can
570 happen when the struct was defined before the superclass (before the
571 name became a typedef).
572
573 Handling of "&" address-of operator needs some serious overhaul
574 for ANSI C and consistency on arrays and functions.
575 For "float point[15];":
576 ptype &point[4] ==> Attempt to take address of non-lvalue.
577 For "char *malloc();":
578 ptype malloc ==> "char *()"; should be same as
579 ptype &malloc ==> "char *(*)()"
580 call printf ("%x\n", malloc) ==> weird value, should be same as
581 call printf ("%x\n", &malloc) ==> correct value
582
583 Fix dbxread.c symbol reading in the presence of interrupts. It
584 currently leaves a cleanup to blow away the entire symbol table when a
585 QUIT occurs. (What's wrong with that? -kingdon, 28 Oct 1993).
586
587 Mipsread.c reads include files depth-first, because the dependencies
588 in the psymtabs are way too inclusive (it seems to me). Figure out what
589 really depends on what, to avoid recursing 20 or 30 times while reading
590 real symtabs.
591
592 value_add() should be subtracting the lower bound of arrays, if known,
593 and possibly checking against the upper bound for error reporting.
594
595 mipsread.c symbol table allocation and deallocation should be checked.
596 My suspicion is that it's full of memory leaks.
597
598 SunOS should have a target_lookup_symbol() for common'd things allocated
599 by the shared library linker ld.so.
600
601 When listing source lines, check for a preceding \n, to verify that
602 the file hasn't changed out from under us.
603
604 When listing source lines, eat leading whitespace corresponding to the
605 line-number prefix we print. This avoids long lines wrapping.
606
607 mipsread.c needs to check for old symtabs and psymtabs for the same
608 files, the way it happens for dbxread.c and coffread.c, for VxWorks
609 incremental symbol table reloading.
610
611 Get all the remote systems (where the protocol allows it) to be able to
612 stop the remote system when the GDB user types ^C (like remote.c
613 does). For ebmon, use ^Ak.
614
615 Possible feature: A version of the "disassemble" command which shows
616 both source and assembly code ("set symbol-filename on" is a partial
617 solution).
618
619 investigate "x/s 0" (right now stops early) (I think maybe GDB is
620 using a 0 address for bad purposes internally).
621
622 Make "info path" and path_command work again (but independent of the
623 environment either of gdb or that we'll pass to the inferior).
624
625 Make GDB understand the GCC feature for putting octal constants in
626 enums. Make it so overflow on an enum constant does not error_type
627 the whole type. Allow arbitrarily large enums with type attributes.
628 Put all this stuff in the testsuite.
629
630 Make TYPE_CODE_ERROR with a non-zero TYPE_LENGTH more useful (print
631 the value in hex; process type attributes). Add this to the
632 testsuite. This way future compilers can add new types and old
633 versions of GDB can do something halfway reasonable.
634
635 Clean up formatting of "info registers" on MIPS and 88k. See if it
636 is possible to do this generically across all target architectures.
637
638 GDB gets bfd/corefile.c and gdb/corefile.c confused (this should be easy to
639 repeat even with something more recent than GDB 4.9).
640
641 Check that unmatched RBRAC doesn't abort().
642
643 Fix mdebugread.c:parse_type to do fundamental types right (see
644 rs6000_builtin_type in stabsread.c for what "right" is--the point is
645 that the debug format fixes the sizes of these things and it shouldn't
646 depend on stuff like TARGET_PTR_BIT and so on. For mdebug, there seem
647 to be separate bt* codes for 64 bit and 32 bit things, and GDB should
648 be aware of that). Also use a switch statement for clarity and speed.
649
650 Investigate adding symbols in target_load--some targets do, some
651 don't.
652
653 Put dirname in psymtabs and change lookup*symtab to use dirname (so
654 /foo/bar.c works whether compiled by cc /foo/bar.c, or cd /foo; cc
655 bar.c).
656
657 Merge xcoffread.c and coffread.c. Use breakpoint_re_set instead of
658 fixup_breakpoints.
659
660 Fix byte order and int size sins in tm-a29k.h
661 (EXTRACT_RETURN_VALUE). Perhaps should reproduce bug and verify fix
662 (or perhaps should just fix it...).
663
664 Make a watchpoint on a constant expression an error (or warning
665 perhaps)
666
667 Make a watchpoint which contains a function call an error (it is
668 broken now, making it work is probably not worth the effort).
669
670 Re-do calls to signal() in remote.c, and inflow.c (set_sigint_trap and
671 so on) to be independent of the debugging target, using target_stop to
672 stop the inferior. Probably the part which is now handled by
673 interrupt_query in remote.c can be done without any new features in
674 the debugging target.
675
676 New test case based on weird.exp but in which type numbers are not
677 renumbered (thus multiply defining a type). This currently causes an
678 infinite loop on "p v_comb".
679
680 Nuke baseclass_addr.
681
682 Nuke USG define.
683
684 "source file more recent" loses on re-read
685
686 Fix 386 floating point so that floating point registers are real
687 registers (but code can deal at run-time if they are missing, like
688 mips and 68k). This would clean up "info float" and related stuff.
689
690 Look at Solaris bug in interrupt.exp. Can get out of syscall with
691 PRSABORT (syscall will return EINTR) but merely doing that leads to a
692 "can't read memory" error.
693
694 gcc -g -c enummask.c then gdb enummask.o, then "p v". GDB complains
695 about not being able to access memory location 0.
696
697 -------------------- enummask.c
698 enum mask
699 {
700 ANIMAL = 0,
701 VEGETABLE = 1,
702 MINERAL = 2,
703 BASIC_CATEGORY = 3,
704
705 WHITE = 0,
706 BLUE = 4,
707 GREEN = 8,
708 BLACK = 0xc,
709 COLOR = 0xc,
710
711 ALIVE = 0x10,
712
713 LARGE = 0x20
714 } v;
715
716 If try to modify value in file with "set write off" should give
717 appropriate error not "cannot access memory at address 0x65e0".
718
719 Why do we allow a target to omit standard register names (NO_STD_REGS
720 in tm-z8k.h)? I thought the standard register names were supposed to
721 be just that, standard.
722
723 Allow core file without exec file on RS/6000.
724
725 Make sure "shell" with no arguments works right on DOS.
726
727 Make gdb.ini (as well as .gdbinit) be checked on all platforms, so
728 the same directory can be NFS-mounted on unix or DOS, and work the
729 same way.
730
731 cd ~/tmp/<M-?> causes infinite loop (where ~/tmp is a directory).
732
733 Get SECT_OFF_TEXT stuff out of objfile_relocate (might be needed to
734 get RS/6000 to work right, might not be immediately relevant).
735
736 Clean up add_toc_to_loadinfo
737
738 Think about attached processes and sharing terminal.
739
740 John sez in reference to ignoring errors from tcsegpgrp if attach_flag:
741 set_tty_state should not have any trouble with attached processes.
742 Instead, the tty handling should leave the pgrp of the tty alone when
743 attaching to processes (perhaps pass terminal_init_inferior a flag
744 saying whether we're attaching).
745
746 PAGE_SIZE redefined warnings on AIX. Probably should be using
747 BFD_PAGE_SIZE throughout BFD.
748
749 Rewrite proceed, wait_for_inferior, and normal_stop to clean them up.
750 Suggestions:
751
752 1) Make each test in wait_for_inferior a seperate subroutine
753 call.
754 2) Combine wait_for_inferior and normal_stop to clean up
755 communication via global variables.
756 3) See if you can find some way to clean up the global
757 variables that are used; possibly group them by data flow
758 and information content?
759
760 Work out some kind of way to allow running the inferior to be done as
761 a sub-execution of, eg. breakpoint command lists. Currently running
762 the inferior interupts any command list execution. This would require
763 some rewriting of wait_for_inferior & friends, and hence should
764 probably be done in concert with the above.
765
766 Add function arguments to gdb user defined functions.
767
768 Add convenience variables that refer to exec file, symbol file,
769 selected frame source file, selected frame function, selected frame
770 line number, etc.
771
772 Add a "suspend" subcommand of the "continue" command to suspend gdb
773 while continuing execution of the subprocess. Useful when you are
774 debugging servers and you want to dodge out and initiate a connection
775 to a server running under gdb.
776
777 Add stab information to allow reasonable debugging of inline functions
778 (possibly they should show up on a stack backtrace? With a note
779 indicating that they weren't "real"?).
780
781 Modify the naked "until" command to step until past the current source
782 line, rather than past the current pc value. This is tricky simply
783 because the low level routines have no way of specifying a multi-line
784 step range, and there is no way of saying "don't print stuff when we
785 stop" from above (otherwise could just call step many times).
786
787 Modify the handling of symbols grouped through BINCL/EINCL stabs to
788 allocate a partial symtab for each BINCL/EINCL grouping. This will
789 seriously decrease the size of inter-psymtab dependencies and hence
790 lessen the amount that needs to be read in when a new source file is
791 accessed.
792
793 Do an "x/i $pc" after each stepi or nexti.
794
795 Modify all of the disassemblers to use printf_filtered to get correct
796 more filtering.
797
798 Modify gdb to work correctly with Pascal.
799
800 Add a command for searching memory, a la adb. It specifies size,
801 mask, value, start address. ADB searches until it finds it or hits
802 an error (or is interrupted).
803
804 Remove the range and type checking code and documentation, if not
805 going to implement.
806
807 # Local Variables:
808 # mode: text
809 # End: