OSDN Git Service

* generic/gdbtk-cmds.c (gdb_load_info): Use bfd_get_section_size
authorAlan Modra <amodra@bigpond.net.au>
Tue, 15 Jun 2004 01:01:44 +0000 (01:01 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Tue, 15 Jun 2004 01:01:44 +0000 (01:01 +0000)
instead of bfd_get_section_size_before_reloc.

gdb/gdbtk/ChangeLog
gdb/gdbtk/generic/gdbtk-cmds.c

index a3fc8cd..5300d7d 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * generic/gdbtk-cmds.c (gdb_load_info): Use bfd_get_section_size
+       instead of bfd_get_section_size_before_reloc.
+
 2004-06-11  Martin Hunt  <hunt@redhat.com>
 
        * generic/gdbtk-cmds.c (gdb_find_file_command): Use
index 32a1bac..f253e0b 100644 (file)
@@ -1,5 +1,5 @@
 /* Tcl/Tk command definitions for Insight.
-   Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003
+   Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004
    Free Software Foundation, Inc.
 
    Written by Stu Grossman <grossman@cygnus.com> of Cygnus Support.
@@ -896,7 +896,7 @@ gdb_load_info (ClientData clientData, Tcl_Interp *interp,
     {
       if (s->flags & SEC_LOAD)
        {
-         bfd_size_type size = bfd_get_section_size_before_reloc (s);
+         bfd_size_type size = bfd_get_section_size (s);
          if (size > 0)
            {
              ob[0] = Tcl_NewStringObj ((char *)