projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some get_last_target_status tweaks
[deliverable/binutils-gdb.git]
/
gdb
/
bfd-target.c
diff --git
a/gdb/bfd-target.c
b/gdb/bfd-target.c
index 6138d450d967362135d8efdd9ddc4cae82298a59..b75abd7fb0e62952865862503c48f528b95a1c08 100644
(file)
--- a/
gdb/bfd-target.c
+++ b/
gdb/bfd-target.c
@@
-1,6
+1,6
@@
/* Very simple "bfd" target, for GDB, the GNU debugger.
/* Very simple "bfd" target, for GDB, the GNU debugger.
- Copyright (C) 2003-20
18
Free Software Foundation, Inc.
+ Copyright (C) 2003-20
20
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-40,6
+40,8
@@
public:
const target_info &info () const override
{ return target_bfd_target_info; }
const target_info &info () const override
{ return target_bfd_target_info; }
+ strata stratum () const override { return file_stratum; }
+
void close () override;
target_xfer_status
void close () override;
target_xfer_status
@@
-92,7
+94,6
@@
target_bfd::get_section_table ()
target_bfd::target_bfd (struct bfd *abfd)
: m_bfd (gdb_bfd_ref_ptr::new_reference (abfd))
{
target_bfd::target_bfd (struct bfd *abfd)
: m_bfd (gdb_bfd_ref_ptr::new_reference (abfd))
{
- this->to_stratum = file_stratum;
m_table.sections = NULL;
m_table.sections_end = NULL;
build_section_table (abfd, &m_table.sections, &m_table.sections_end);
m_table.sections = NULL;
m_table.sections_end = NULL;
build_section_table (abfd, &m_table.sections, &m_table.sections_end);
This page took
0.025344 seconds
and
4
git commands to generate.