diff options
author | Doug Evans <xdje42@gmail.com> | 2014-06-03 01:58:15 -0700 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-06-03 01:58:15 -0700 |
commit | 06eb158633faa8746dd39f19ce784448bb7ece00 (patch) | |
tree | af106d0dafb2da97a959d2008a02abe3b0e61e4d /gdb/Makefile.in | |
parent | aef392c4aee243fe0fe2897d8847aebbbff6abdb (diff) | |
download | gdb-06eb158633faa8746dd39f19ce784448bb7ece00.zip gdb-06eb158633faa8746dd39f19ce784448bb7ece00.tar.gz gdb-06eb158633faa8746dd39f19ce784448bb7ece00.tar.bz2 |
Add parameter support for Guile.
* Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
(SUBDIR_GUILE_SRCS): Add scm-param.c.
(scm-param.o): New rule.
* guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
(gdbscm_misc_error): Declare.
(gdbscm_canonicalize_command_name): Declare.
(gdbscm_scm_to_host_string): Declare.
(gdbscm_scm_from_host_string): Declare.
(gdbscm_initialize_parameters): Declare.
* guile/guile.c (initialize_gdb_module): Call
gdbscm_initialize_parameters.
* guile/lib/gdb.scm: Export parameter symbols.
* guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
cmdscm_canonicalize_name and made public. All callers updated.
* guile/scm-exception.c (gdbscm_misc_error): New function.
* guile/scm-param.c: New file.
* guile/scm-string.c (gdbscm_scm_to_string): Add comments.
(gdbscm_scm_to_host_string): New function.
(gdbscm_scm_from_host_string): New function.
* scm-utils.c (gdbscm_gc_dup_argv): New function.
testsuite/
* gdb.guile/scm-parameter.exp: New file.
doc/
* guile.texi (Guile API): Add entry for Parameters In Guile.
(GDB Scheme Data Types): Mention <gdb:parameter> object.
(Parameters In Guile): New node.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 6159918..c189ea3 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -297,6 +297,7 @@ SUBDIR_GUILE_OBS = \ scm-lazy-string.o \ scm-objfile.o \ scm-math.o \ + scm-param.o \ scm-ports.o \ scm-pretty-print.o \ scm-progspace.o \ @@ -322,6 +323,7 @@ SUBDIR_GUILE_SRCS = \ guile/scm-lazy-string.c \ guile/scm-objfile.c \ guile/scm-math.c \ + guile/scm-param.c \ guile/scm-ports.c \ guile/scm-pretty-print.c \ guile/scm-progspace.c \ @@ -2310,6 +2312,10 @@ scm-objfile.o: $(srcdir)/guile/scm-objfile.c $(COMPILE) $(srcdir)/guile/scm-objfile.c $(POSTCOMPILE) +scm-param.o: $(srcdir)/guile/scm-param.c + $(COMPILE) $(srcdir)/guile/scm-param.c + $(POSTCOMPILE) + scm-ports.o: $(srcdir)/guile/scm-ports.c $(COMPILE) $(srcdir)/guile/scm-ports.c $(POSTCOMPILE) |