aboutsummaryrefslogtreecommitdiff
path: root/gdb/TODO
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-07-14 07:48:06 +0000
committerJohn Gilmore <gnu@cygnus>1991-07-14 07:48:06 +0000
commit36b9d39cf464e3511c08399cbce1da7e098fde69 (patch)
tree81a828cb99995b744be558d385040734173ea9f3 /gdb/TODO
parent116a34785af00cec25f3db9427b5abb84e8e408e (diff)
downloadgdb-36b9d39cf464e3511c08399cbce1da7e098fde69.zip
gdb-36b9d39cf464e3511c08399cbce1da7e098fde69.tar.gz
gdb-36b9d39cf464e3511c08399cbce1da7e098fde69.tar.bz2
* findvar.c (find_var_value): Handle &function better.
* TODO: Document work needed on &fn and &array. * printcmd.c (print_address_symbolic): New arg is the prefix to print if a name is printed. (print_address_demangle): Honor "set print address" now. Use new arg above to improve spacing of output. * valprint.c (val_print): When printing function pointers, print symbolic form too. * breakpoint.c (breakpoint_1): Use new print_address_symbolic.
Diffstat (limited to 'gdb/TODO')
-rw-r--r--gdb/TODO9
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/TODO b/gdb/TODO
index 93dce62..45b780f 100644
--- a/gdb/TODO
+++ b/gdb/TODO
@@ -316,9 +316,16 @@ struct with a field name that matches the superclass name. This can
happen when the struct was defined before the superclass (before the
name became a typedef).
-For "float point[15];":
+Handling of "&" address-of operator needs some serious overhaul
+for ANSI C and consistency on arrays and functions.
+ For "float point[15];":
ptype &point[4] ==> Attempt to take address of non-lvalue.
p &point[4] ==> Dereferences point[4] rather than giving you point+4.
+ For "char *malloc();":
+ptype malloc ==> "char *()"; should be same as
+ptype &malloc ==> "char *(*)()"
+call printf ("%x\n", malloc) ==> wierd value, should be same as
+call printf ("%x\n", &malloc) ==> correct value
Fix symbol reading in the presence of interrupts. It currently leaves a
cleanup to blow away the entire symbol table when a QUIT occurs.