[Simulavr-devel] [bug #25939] src/simulavr: option '--gdbserver' requires an argument

2009-03-20 Thread anonymous

URL:
  http://savannah.nongnu.org/bugs/?25939

 Summary: src/simulavr: option '--gdbserver' requires an
argument
 Project: Simulavr: an AVR simulator
Submitted by: None
Submitted on: ven 20 mar 2009 11:57:57 UTC
Category: None
Severity: 3 - Normal
  Item Group: None
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: ah...@baizid.org
 Open/Closed: Open
 Discussion Lock: Any

___

Details:

Hello,

When I run:
 $ src/simulavr -datmega128 --verbose --gdbserver
I get:
 src/simulavr: option '--gdbserver' requires an argument

I attach a patch.



___

File Attachments:


---
Date: ven 20 mar 2009 11:57:57 UTC  Name:
gdbserver_requires_an_argument.patch  Size: 587 o   By: None

http://savannah.nongnu.org/bugs/download.php?file_id=17741

___

Reply to this item at:

  http://savannah.nongnu.org/bugs/?25939

___
  Message posté via/par Savannah
  http://savannah.nongnu.org/



___
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/simulavr-devel


[Simulavr-devel] kbdgentables

2009-03-20 Thread Weddington, Eric
Hi All,

So I see that the executable kbdgentables(.exe) is installed in /bin.

What is this used for? Is it used only for the examples? Why is it installed?

Also, we never decided if the examples should be installed and where. (I sent a 
previous email about this.)

Eric Weddington


___
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/simulavr-devel


Re: [Simulavr-devel] kbdgentables

2009-03-20 Thread Joel Sherrill

Weddington, Eric wrote:

Hi All,

So I see that the executable kbdgentables(.exe) is installed in /bin.

What is this used for? Is it used only for the examples? Why is it installed?

  

If that is all it is used for and not needed if the examples are
installed, then it should be marked noinst.  This patch does
that and I can apply it if you want.

Index: src/Makefile.am
===
RCS file: /sources/simulavr/simulavrxx/src/Makefile.am,v
retrieving revision 1.31
diff -u -r1.31 Makefile.am
--- src/Makefile.am16 Mar 2009 17:56:23 -1.31
+++ src/Makefile.am20 Mar 2009 17:02:24 -
@@ -15,7 +15,8 @@
endif
endif

-bin_PROGRAMS= simulavr kbdgentables
+bin_PROGRAMS= simulavr
+noinst_PROGRAMS = kbdgentables

if USE_TCL
TCL_WRAP_SRC = simulavr_wrap.cxx


Also, we never decided if the examples should be installed and where. (I sent a 
previous email about this.)

  

I have no particular opinion on this.  If installed, we will
have to decide if we are installing test source, binaries,
etc and that they work.

Eric Weddington


___
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/simulavr-devel
  



--
Joel Sherrill, Ph.D. Director of Research  Development
joel.sherr...@oarcorp.comOn-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
  Support Available (256) 722-9985




___
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/simulavr-devel


RE: [Simulavr-devel] kbdgentables

2009-03-20 Thread Weddington, Eric
 

 -Original Message-
 From: Joel Sherrill [mailto:joel.sherr...@oarcorp.com] 
 Sent: Friday, March 20, 2009 11:04 AM
 To: Weddington, Eric
 Cc: simulavr-devel@nongnu.org
 Subject: Re: [Simulavr-devel] kbdgentables
 
 Weddington, Eric wrote:
  Hi All,
 
  So I see that the executable kbdgentables(.exe) is 
 installed in /bin.
 
  What is this used for? Is it used only for the examples? 
 Why is it installed?
 

 If that is all it is used for and not needed if the examples are
 installed, then it should be marked noinst.  This patch does
 that and I can apply it if you want.

From looking at the automake Makefile it seems that kbdgentables is used (with 
a couple of .dat data files) to generate a header file, which is dependency of 
keyboard.cpp, which in turn is part of the libsim library. So to my eyes it 
should not installed.

However, if these data files (keynumber_to_scancode.dat and 
xcode_to_keynumber.dat) never change, hence the header file never changes, then 
why don't we just check in the generated header file and be done with it? Why 
continue to build the generator program kbdgentables.exe?

Eric Weddington


___
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/simulavr-devel


Re: [Simulavr-devel] kbdgentables

2009-03-20 Thread Joel Sherrill

Weddington, Eric wrote:
 

  

-Original Message-
From: Joel Sherrill [mailto:joel.sherr...@oarcorp.com] 
Sent: Friday, March 20, 2009 11:04 AM

To: Weddington, Eric
Cc: simulavr-devel@nongnu.org
Subject: Re: [Simulavr-devel] kbdgentables

Weddington, Eric wrote:


Hi All,

So I see that the executable kbdgentables(.exe) is 
  

installed in /bin.

What is this used for? Is it used only for the examples? 
  

Why is it installed?

  
  

If that is all it is used for and not needed if the examples are
installed, then it should be marked noinst.  This patch does
that and I can apply it if you want.



From looking at the automake Makefile it seems that kbdgentables is used (with 
a couple of .dat data files) to generate a header file, which is dependency of 
keyboard.cpp, which in turn is part of the libsim library. So to my eyes it 
should not installed.

However, if these data files (keynumber_to_scancode.dat and 
xcode_to_keynumber.dat) never change, hence the header file never changes, then 
why don't we just check in the generated header file and be done with it? Why 
continue to build the generator program kbdgentables.exe?

  

I had similarly wondered about the output of swig.  Does it ever
change?

These look like things that there should be a --enable-maintainer-mode
added and the results checked in and not generated as part of a normal
build.

Eric Weddington
  



--
Joel Sherrill, Ph.D. Director of Research  Development
joel.sherr...@oarcorp.comOn-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
  Support Available (256) 722-9985




___
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/simulavr-devel