public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/18922] New: Changing value of a convenience variable to a longer string fails
@ 2015-09-04 14:35 eush77 at gmail dot com
  2023-12-11 16:05 ` [Bug gdb/18922] " ssbssa at sourceware dot org
  0 siblings, 1 reply; 2+ messages in thread
From: eush77 at gmail dot com @ 2015-09-04 14:35 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18922

            Bug ID: 18922
           Summary: Changing value of a convenience variable to a longer
                    string fails
           Product: gdb
           Version: 7.9
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: eush77 at gmail dot com
  Target Milestone: ---

Changing value of a convenience variable from a shorter string to some other
longer string fails.

```
set $out="short"
set $out="longer"
```

I get this error:

```
Too many array elements
```

Simple workaround:

```
set $out="short"
set $out=0
set $out="longer"
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug gdb/18922] Changing value of a convenience variable to a longer string fails
  2015-09-04 14:35 [Bug gdb/18922] New: Changing value of a convenience variable to a longer string fails eush77 at gmail dot com
@ 2023-12-11 16:05 ` ssbssa at sourceware dot org
  0 siblings, 0 replies; 2+ messages in thread
From: ssbssa at sourceware dot org @ 2023-12-11 16:05 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18922

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.1
                 CC|                            |ssbssa at sourceware dot org
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Hannes Domani <ssbssa at sourceware dot org> ---
This was fixed some time ago by this commit:
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=55708e99aca33f2ee9036732d778cd5899d2a2b0

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-11 16:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-04 14:35 [Bug gdb/18922] New: Changing value of a convenience variable to a longer string fails eush77 at gmail dot com
2023-12-11 16:05 ` [Bug gdb/18922] " ssbssa at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).