Skip to content

Commit

Permalink
Merge pull request gimli-rs#535 from philipc/release
Browse files Browse the repository at this point in the history
Release 0.23.0
  • Loading branch information
philipc authored Oct 27, 2020
2 parents e046ca5 + 9ae6c2e commit d36fcf1
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 9 deletions.
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,42 @@

--------------------------------------------------------------------------------

## 0.23.0

Released 2020/10/27.

### Breaking changes

* Added more variants to `read::UnitType`.
Added `read::AttributeValue::DwoId`
[#521](https://github.com/gimli-rs/gimli/pull/521)

* Replaced `CompilationUnitHeader` and `TypeUnitHeader` with `UnitHeader`.
Replaced `CompilationUnitHeadersIter` with `DebugInfoUnitHeadersIter`.
Replaced `TypeUnitHeadersIter` with `DebugTypesUnitHeadersIter`.
[#523](https://github.com/gimli-rs/gimli/pull/523)


### Added

* Added read support for split DWARF.
[#527](https://github.com/gimli-rs/gimli/pull/527)
[#529](https://github.com/gimli-rs/gimli/pull/529)

* Added `read::Dwarf::attr_address`.
[#524](https://github.com/gimli-rs/gimli/pull/524)

* Added read support for `DW_AT_GNU_addr_base` and `DW_AT_GNU_ranges_base`.
[#525](https://github.com/gimli-rs/gimli/pull/525)

* dwarfdump: Display index values for attributes.
[#526](https://github.com/gimli-rs/gimli/pull/526)

* Added `name_to_register`.
[#532](https://github.com/gimli-rs/gimli/pull/532)

--------------------------------------------------------------------------------

## 0.22.0

Released 2020/07/03.
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gimli"
version = "0.22.0"
version = "0.23.0"
authors = ["Nick Fitzgerald <[email protected]>", "Philip Craig <[email protected]>"]
categories = ["development-tools::debugging", "development-tools::profiling", "parser-implementations"]
description = "A library for reading and writing the DWARF debugging format."
Expand Down Expand Up @@ -28,11 +28,11 @@ alloc = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-all
compiler_builtins = { version = '0.1.2', optional = true }

[dev-dependencies]
crossbeam = "0.7.1"
crossbeam = "0.8"
getopts = "0.2"
memmap = "0.7"
num_cpus = "1"
object = "0.20"
object = "0.22"
rayon = "1.0"
regex = "1"
test-assembler = "0.1.3"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
gimli = "0.22.0"
gimli = "0.23.0"
```

The minimum supported Rust version is 1.38.0.
Expand Down
2 changes: 1 addition & 1 deletion examples/dwarfdump.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

use fallible_iterator::FallibleIterator;
use gimli::{Section, UnitHeader, UnitOffset, UnitSectionOffset, UnitType, UnwindSection};
use object::{Object, ObjectSection};
use object::{Object, ObjectSection, ObjectSymbol};
use regex::bytes::Regex;
use std::borrow::{Borrow, Cow};
use std::cmp::min;
Expand Down
6 changes: 2 additions & 4 deletions src/read/unit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1654,12 +1654,10 @@ impl<R: Reader> Attribute<R> {
constants::DW_AT_str_offsets_base => {
stroffsetsptr!();
}
constants::DW_AT_addr_base |
constants::DW_AT_GNU_addr_base => {
constants::DW_AT_addr_base | constants::DW_AT_GNU_addr_base => {
addrptr!();
}
constants::DW_AT_rnglists_base |
constants::DW_AT_GNU_ranges_base => {
constants::DW_AT_rnglists_base | constants::DW_AT_GNU_ranges_base => {
rnglistsptr!();
}
constants::DW_AT_dwo_name => {
Expand Down

0 comments on commit d36fcf1

Please sign in to comment.