projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* remote.c (remote_write_bytes): Take a const buffer argument.
[deliverable/binutils-gdb.git]
/
gdb
/
macroscope.c
diff --git
a/gdb/macroscope.c
b/gdb/macroscope.c
index b482068637cd05a4c53c1de26a8ad51bf62ffc9c..748ac53600843ca17d506df60578186197685ef1 100644
(file)
--- a/
gdb/macroscope.c
+++ b/
gdb/macroscope.c
@@
-1,5
+1,5
@@
/* Functions for deciding which macros are currently in scope.
/* Functions for deciding which macros are currently in scope.
- Copyright 2002 Free Software Foundation, Inc.
+ Copyright
(C)
2002 Free Software Foundation, Inc.
Contributed by Red Hat, Inc.
This file is part of GDB.
Contributed by Red Hat, Inc.
This file is part of GDB.
@@
-16,8
+16,8
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
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., 5
9 Temple Place - Suite 330
,
- Boston, MA 0211
1-1307
, USA. */
+ Foundation, Inc., 5
1 Franklin Street, Fifth Floor
,
+ Boston, MA 0211
0-1301
, USA. */
#include "defs.h"
#include "defs.h"
@@
-70,8
+70,8
@@
sal_macro_scope (struct symtab_and_line sal)
ms->line = -1;
complaint (&symfile_complaints,
ms->line = -1;
complaint (&symfile_complaints,
- "symtab found for `%s', but that file\n"
- "is not covered in the compilation unit's macro information",
+
_(
"symtab found for `%s', but that file\n"
+ "is not covered in the compilation unit's macro information"
)
,
sal.symtab->filename);
}
sal.symtab->filename);
}
@@
-87,8
+87,8
@@
default_macro_scope (void)
struct macro_scope *ms;
/* If there's a selected frame, use its PC. */
struct macro_scope *ms;
/* If there's a selected frame, use its PC. */
- if (selected_frame)
- sal = find_pc_line (
selected_frame->pc
, 0);
+ if (
deprecated_
selected_frame)
+ sal = find_pc_line (
get_frame_pc (deprecated_selected_frame)
, 0);
/* If the target has any registers at all, then use its PC. Why we
would have registers but no stack, I'm not sure. */
/* If the target has any registers at all, then use its PC. Why we
would have registers but no stack, I'm not sure. */
This page took
0.024706 seconds
and
4
git commands to generate.