~ubuntu-branches/ubuntu/vivid/remake/vivid

« back to all changes in this revision

Viewing changes to debugger/command/setq.h

  • Committer: Package Import Robot
  • Author(s): Yaroslav Halchenko
  • Date: 2012-10-04 10:45:49 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20121004104549-vvltb5m3vutmvjy0
Tags: 3.82+dbg0.9+dfsg-1
* Fresh upstream release
  - dropped emacs mode (moved into a separate project
    https://github.com/rocky/emacs-dbgr)
* Switched to use +dfsg to assure proper version
  comparison going e.g. from 0.9+dfsg to 0.9.1+dfsg
* Moved .gbp.conf under debian/gbp.conf
* Added '-b debian' for Vcs-Git field since we ship Debian
  packaging within upstream repository
* Boosted policy to 3.9.4
* Switched to source package 3.0 (quilt) format
* Switched to minimalistic dh 9.0 debian/rules
  - use dh-autoreconf (added also needed for it 'autopoint' build-dependency)
    (Closes: #536004)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright (C) 2011 R. Bernstein  <rocky@gnu.org>
 
2
This file is part of GNU Make (remake variant).
 
3
 
 
4
GNU Make is free software; you can redistribute it and/or modify
 
5
it under the terms of the GNU General Public License as published by
 
6
the Free Software Foundation; either version 2, or (at your option)
 
7
any later version.
 
8
 
 
9
GNU Make is distributed in the hope that it will be useful,
 
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
GNU General Public License for more details.
 
13
 
 
14
You should have received a copy of the GNU General Public License
 
15
along with GNU Make; see the file COPYING.  If not, write to
 
16
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
17
Boston, MA 02111-1307, USA.  */
 
18
 
 
19
/* Set a variable definition without variable references but don't 
 
20
   expand variable references in the value part of psz_string. */
 
21
static debug_return_t 
 
22
dbg_cmd_setq(char *psz_string) 
 
23
{
 
24
  dbg_cmd_set_var(psz_string, 0);
 
25
  return debug_readloop;
 
26
}
 
27
 
 
28
static void
 
29
dbg_cmd_setq_init(unsigned int c) 
 
30
{
 
31
  short_command[c].func = &dbg_cmd_setq;
 
32
  short_command[c].use  = _("setq VARIABLE VALUE");
 
33
  short_command[c].doc  = 
 
34
    _("Set MAKE variable VARIABLE to VALUE. Variable definitions\n"
 
35
      "\tinside VALUE are not expanded before assignment occurs.");
 
36
}
 
37
 
 
38
 
 
39
 
 
40
/* 
 
41
 * Local variables:
 
42
 * eval: (c-set-style "gnu")
 
43
 * indent-tabs-mode: nil
 
44
 * End:
 
45
 */
 
46