~ubuntu-branches/debian/jessie/gdb/jessie

« back to all changes in this revision

Viewing changes to bfd/aoutx.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Jacobowitz
  • Date: 2010-03-20 01:21:29 UTC
  • mfrom: (1.3.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100320012129-t7h25y8zgr8c2369
Tags: 7.1-1
* New upstream release, including:
  - PIE support (Closes: #346409).
  - C++ improvements, including static_cast<> et al, namespace imports,
    and bug fixes in printing virtual base classes.
  - Multi-program debugging.  One GDB can now debug multiple programs
    at the same time.
  - Python scripting improvements, including gdb.parse_and_eval.
  - Updated MIPS Linux signal frame layout (Closes: #570875).
  - No internal error stepping over _dl_debug_state (Closes: #569551).
* Update to Standards-Version: 3.8.4 (no changes required).
* Include more relevant (and smaller) docs in the gdbserver package
  (Closes: #571132).
* Do not duplicate documentation in gdb64, gdb-source, and libgdb-dev.
* Fix crash when switching into TUI mode (Closes: #568489).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1808
1808
                  bfd_boolean copy)
1809
1809
{
1810
1810
  bfd_boolean hash;
1811
 
  bfd_size_type index;
 
1811
  bfd_size_type str_index;
1812
1812
 
1813
1813
  /* An index of 0 always means the empty string.  */
1814
1814
  if (str == 0 || *str == '\0')
1820
1820
  if ((abfd->flags & BFD_TRADITIONAL_FORMAT) != 0)
1821
1821
    hash = FALSE;
1822
1822
 
1823
 
  index = _bfd_stringtab_add (tab, str, hash, copy);
 
1823
  str_index = _bfd_stringtab_add (tab, str, hash, copy);
1824
1824
 
1825
 
  if (index != (bfd_size_type) -1)
 
1825
  if (str_index != (bfd_size_type) -1)
1826
1826
    /* Add BYTES_IN_WORD to the return value to account for the
1827
1827
       space taken up by the string table size.  */
1828
 
    index += BYTES_IN_WORD;
 
1828
    str_index += BYTES_IN_WORD;
1829
1829
 
1830
 
  return index;
 
1830
  return str_index;
1831
1831
}
1832
1832
 
1833
1833
/* Write out a strtab.  ABFD is already at the right location in the
3284
3284
            {
3285
3285
              int skip = 0;
3286
3286
 
3287
 
              switch (info->common_skip_ar_aymbols)
 
3287
              switch (info->common_skip_ar_symbols)
3288
3288
                {
3289
3289
                case bfd_link_common_skip_text:
3290
3290
                  skip = (type == (N_TEXT | N_EXT));