diff options
author | Tristan Gingold <gingold@adacore.com> | 2013-07-02 09:42:25 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2013-07-02 09:42:25 +0000 |
commit | b1a49096efd23b4dbc04996bf6cf1ce3c3bb6830 (patch) | |
tree | 0bc3c0c9a3fb3abd58c8f89cdbd57fbb4abb37a7 /bfd/vms-alpha.c | |
parent | 9a1ada6cce2c42163bedbef54db6a016ff74e675 (diff) | |
download | gdb-b1a49096efd23b4dbc04996bf6cf1ce3c3bb6830.zip gdb-b1a49096efd23b4dbc04996bf6cf1ce3c3bb6830.tar.gz gdb-b1a49096efd23b4dbc04996bf6cf1ce3c3bb6830.tar.bz2 |
2013-07-02 Tristan Gingold <gingold@adacore.com>
* vms-alpha.c (_bfd_generic_find_nearest_line_discriminator): Define.
(_bfd_vms_find_nearest_line_discriminator): New function.
Diffstat (limited to 'bfd/vms-alpha.c')
-rw-r--r-- | bfd/vms-alpha.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c index 2d757da..aad36dc 100644 --- a/bfd/vms-alpha.c +++ b/bfd/vms-alpha.c @@ -4740,6 +4740,26 @@ _bfd_vms_find_nearest_dst_line (bfd *abfd, asection *section, return FALSE; } + +/* Likewise but with a discriminator. */ + +static bfd_boolean +_bfd_vms_find_nearest_line_discriminator (bfd *abfd, + asection *section, + asymbol **symbols, + bfd_vma offset, + const char **filename_ptr, + const char **functionname_ptr, + unsigned int *line_ptr, + unsigned int *discriminator) +{ + *discriminator = 0; + + return _bfd_vms_find_nearest_dst_line (abfd, section, symbols, offset, + filename_ptr, functionname_ptr, + line_ptr); +} + /* Canonicalizations. */ /* Set name, value, section and flags of SYM from E. */ @@ -9322,6 +9342,8 @@ bfd_vms_get_data (bfd *abfd) #define alpha_vms_find_inliner_info _bfd_nosymbols_find_inliner_info #define alpha_vms_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol #define alpha_vms_find_nearest_line _bfd_vms_find_nearest_dst_line +#define _bfd_generic_find_nearest_line_discriminator \ + _bfd_vms_find_nearest_line_discriminator #define alpha_vms_bfd_is_local_label_name vms_bfd_is_local_label_name /* Generic table. */ |