diff options
author | Per Bothner <per@bothner.com> | 1994-06-05 01:43:40 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1994-06-05 01:43:40 +0000 |
commit | e10cfcaa374a1a493e5aa68dc251534800d38124 (patch) | |
tree | d383531402da1319216a25ca121bef26f3610d54 /gdb/ch-lang.h | |
parent | c4d7d826d72aeabda9a30bf836a2734033c476e3 (diff) | |
download | gdb-e10cfcaa374a1a493e5aa68dc251534800d38124.zip gdb-e10cfcaa374a1a493e5aa68dc251534800d38124.tar.gz gdb-e10cfcaa374a1a493e5aa68dc251534800d38124.tar.bz2 |
Fix value_print, which used to be ostensibly langauge-indepentdent,
but would print pointers and arrays in C syntax. Instead, call
a language-specific function. See ChangeLog for details.
Diffstat (limited to 'gdb/ch-lang.h')
-rw-r--r-- | gdb/ch-lang.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ch-lang.h b/gdb/ch-lang.h index 80c753e..0fcb8d6 100644 --- a/gdb/ch-lang.h +++ b/gdb/ch-lang.h @@ -17,6 +17,10 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifdef __STDC__ /* Forward decls for prototypes */ +struct value; +#endif + extern int chill_parse PARAMS ((void)); /* Defined in ch-exp.y */ @@ -31,6 +35,10 @@ chill_val_print PARAMS ((struct type *, char *, CORE_ADDR, GDB_FILE *, int, int, int, enum val_prettyprint)); extern int +chill_value_print PARAMS ((struct value *, GDB_FILE *, + int, enum val_prettyprint)); + +extern int chill_is_varying_struct PARAMS ((struct type *type)); |