* i960-tdep.c: Include target.h.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
98506620
JK
1Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2
3 * i960-tdep.c: Include target.h.
4
658821b9
SS
5Fri Jan 14 17:12:28 1994 Stan Shebs (shebs@andros.cygnus.com)
6
7 * lynx-nat.c (sys/wait.h): Don't use absolute pathname.
8
9Fri Jan 14 11:06:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10
11 * lynx-nat.c (child_wait): Fix thinkos in struct target_waitstatus
12 changes (status -> ourstatus; declare status, etc.).
13 * config/nm-lynx.h: Fix child_wait prototype and include target.h.
14
4e8bc56f
JK
15Fri Jan 14 14:17:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
16
17 * Makefile.in (ALLPARAM): Add config/nm-lynx.h.
18
aeb145f8
ILT
19Fri Jan 14 11:49:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
20
21 * remote-mips.c (mips_request, mips_wait): Correct prototypes.
22
d253eb7a
JK
23Fri Jan 14 11:37:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24
25 * config/i386/xm-linux.h: Define HAVE_TERMIOS.
26
52b3045e
PS
27Fri Jan 14 01:04:36 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28
29 * config/alpha/tm-alpha.h (CALL_DUMMY): Improve comment.
30
ae682b80
JK
31Thu Jan 13 10:32:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32
d0acb092
JK
33 * remote-vx.c (vx_wait): Only call i960_fault_to_signal if I80960
34 is defined. Otherwise just report TARGET_SIGNAL_UNKNOWN.
35
36 * mips-tdep.c (mips_push_arguments): Byteswap struct_addr before
37 writing it.
38
63dcc380
JK
39 Add search to target vector (#if 0'd until after 4.12):
40 * target.h (to_search, target_search): Add.
41 * gdbcore.h, core.c (generic_search): Add.
42 * remote.c (remote_search): Add.
43 * a29k-tdep.c (init_frame_info): Use target_search to find traceback
44 tag.
45
d6596eee
JK
46 * printcmd.c (print_address_symbolic): If set print fast-symbolic-addr
47 is on, call find_pc_function rather than relying just on the minimal
48 symbols (probably only matters for symbol readers which don't put
49 statics in the minimal symbols, but changing this strikes me as
50 not conservative enough).
51 Initialize name_location in all cases.
52 If no symbol and no msymbol, don't print anything symbolic.
53
ae682b80
JK
54 * a29k-tdep.c (push_dummy_frame): Add comment about saving lr0.
55
314e6bf3
JG
56Wed Jan 12 20:53:16 1994 John Gilmore (gnu@cygnus.com)
57
58 * printcmd.c (print_address_symbolic): Make it search the
59 symtabs for variables as well as functions. Add `set print
60 fast-symbolic-addr' and default it to fast (the old way).
61 Print line numbers for data items as well as functions.
62
63 * symtab.c (find_addr_symbol): Return the symtab and the symbol
64 address, if a symbol is found (take two more args pointing to
65 where to store these results).
66
67 * symtab.h (find_addr_symbol): Add prototype.
68
470dfa0c
JK
69Wed Jan 12 19:32:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
70
71 * objfiles.h: Fix comments to reflect the fact that the phrase
72 "top of stack" always refers to where the pushing and popping takes
73 place, regardless of whether it is at the highest or lowest address.
74
a8c49897
PS
75Wed Jan 12 13:23:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
76
77 * mdebugread.c (parse_symbol): Do not set TYPE_TAG_NAME for
78 compiler generated tag names.
79 * mdebugread.c (parse_type): Handle cross references to qualified
80 aggregate types.
81 * valops.c (value_struct_elt): Improve error message if the
82 address of a method is requested from an object instance.
83 * valops.c (search_struct_method): Make name_matched non-static
84 to get it initialized correctly.
85 * config/i386/nm-i386sco.h (CANNOT_STORE_REGISTER): Define to
86 exclude segment register which are not writable on newer SCO versions.
87
4ad942bf
JK
88Wed Jan 12 14:44:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
89
90 * go32-xdep.c: Remove unused function uerror.
91 (sigsetmask): Declare return type. Declare argument (to match the
92 way it is called). Explicitly return 0.
93
21578747
JG
94Wed Jan 12 01:44:25 1994 John Gilmore (gnu@cygnus.com)
95
96 * symtab.h (struct symbol, general_symbol_info, minimal_symbol,
97 partial_symbol): Shrink the storage sizes of symbols, by making
98 enums into 1-byte bitfields when compiled __GNUC__, moving all the
99 enums and small ints to the end of each struct to improve
100 alignment, and switching the section number from int to unsigned
101 short.
102
e0ea0fbd
JG
103Wed Jan 12 00:16:26 1994 John Gilmore (gnu@cygnus.com)
104
105 * symtab.c (find_addr_symbol): New routine that will find the nearest
106 symbol associated with an address. It does so by exhaustive
107 search of the symtabs, so it's slow but complete.
108
011d4ed9
JG
109Tue Jan 11 23:57:30 1994 John Gilmore (gnu@cygnus.com)
110
111 * coffread.c (read_coff_symtab): Set PC bounds of _globals_ symtab
112 to [0,0] rather than [0, end of first source file]. This avoids
113 problems with other parts of GDB looking for linetables in the
114 _globals_ symtab. Eliminate variables num_object_files and
115 first_object_file_end.
116
eb5b74ca
JG
117Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com)
118
119 * a29k-tdep.c (init_frame_info): Cast null arg to examine_tag.
120 (pop_frame): Restore PC2 and LR0 from dummy frames.
121 (push_dummy_frame): Save PC2 and LR0 into dummy frames.
122 (setup_arbitrary_frame): Handle 3 args and set up real frames.
123 * config/a29k/tm-a29k.h (FRAME_NUM_ARGS): Update comments.
124 (DUMMY_FRAME_RSIZE): Add 2 longwords for PC2 and LR0.
125 (SETUP_ARBITRARY_FRAME): Define.
126
4d69cf57
JK
127Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
128
129 * infrun.c, config/mips/tm-irix5.h: Remove #if 0'd AT_FUNCTION_START.
130
6a69975f
ILT
131Tue Jan 11 14:27:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
132
133 * remote-udi.c (udi_resume): Correct prototype.
134
c598654a
JL
135Tue Jan 11 11:10:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
136
137 * config/pa/tm-hppa.h (FRAME_FIND_SAVED_REGS): Call
138 hppa_frame_find_saved_regs.
139 * hppa-tdep.c (dig_fp_from_stack): Delete function.
140 (prologue_inst_adjust_sp): New function.
141 (is_branch, inst_saves_gr, inst_saves_fr): New functions.
142 (skip_prologue): Completely rewrite to use unwind information.
143 (hppa_frame_find_saved_regs): Likewise.
144
6397809b
JK
145Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
146
f3fe8934
JK
147 * remote-mips.c (mips_wait): Use new function mips_signal_from_protocol
148 to convert a signal number with appropriate bounds checking.
149
6397809b
JK
150 * remote-mips.c (mips_wait): Fix typos (0x177 -> 0177, 0x377 -> 0377).
151
c369b6a3
JG
152Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com)
153
a31f4b90
JG
154 * stack.c (frame_info): If FRAME_FIND_SAVED_REGS isn't defined,
155 print a newline to end the display anyway.
156
c6d8db40
JG
157 * sparc-tdep.c (sparc_pop_frame): Pop the fsr and csr (float and
158 coprocessor status regs) when popping a frame. This fixes
159 float exceptions that occur after calling inferior functions.
160
c369b6a3
JG
161 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
162 Read and write the fsr (float status register) to/from the child
c6d8db40
JG
163 process along with the float regs. Remove Peter Schauer's change
164 of May 24 '93, which has higher overhead and doesn't solve the
165 real problem (which was that FSR wasn't being set).
c369b6a3 166
7b2bcbf5
JG
167Mon Jan 10 23:16:42 1994 John Gilmore (gnu@cygnus.com)
168
169 * a29k-tdep.c (examine_prologue): Don't worry if the ASGEQ
170 stack overflow check isn't right after the register stack
171 adjustment instruction. Metaware R2.3u compiler moves other
172 things in front of it. This fix isn't perfect but is what's
173 running.
174
6aaa61de
JK
175Mon Jan 10 20:08:23 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
176
85b8aa88
JK
177 * c-valprint.c (c_val_print): Treat TYPE_CODE_RANGE like TYPE_CODE_INT.
178
6aaa61de
JK
179 * config/alpha/alpha-netware.mt: Rename to alpha-nw.mt for 14
180 character filenames.
181 * configure.in: Change accordingly.
182
ef118278
TL
183Mon Jan 10 15:48:36 1994 Tom Lord (lord@rtl.cygnus.com)
184
185 * m68k-stub.c, sparc-stub.c: removed spurious introduction of
186 _filtered io routines from these two files.
187
9d51b3c5
PS
188Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
189
190 * config/i386/tm-i386v.h, config/m68k/tm-m68k.h, config/mips/tm-mips.h,
191 config/vax/tm-vax.h (CALL_DUMMY_BREAKPOINT_OFFSET): Define.
192 * mdebugread.c (parse_symbol): Handle enum sh.type produced by
193 DEC c89.
194 * mdebugread.c (add_line): Handle zero linenos produced by DEC c89.
195
11ebf939
JK
196Fri Jan 7 12:55:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
197
17d059d4
JK
198 * utils.c (print_sys_errmsg): Call gdb_flush (gdb_stdout) before
199 printing to gdb_stderr.
200
201 * remote-udi.c (udi_kill): Don't close the connection, just set
202 inferior_pid to zero.
203 (udi_mourn): Call remove_breakpoints.
204
205 * remote-udi.c: Remove obsolete need_artificial_traps comment.
206
11ebf939
JK
207 * i386b-nat.c (sregmap): If sEAX, etc., not defined, use tEAX, etc.
208
fcbc95a7
JK
209Thu Jan 6 07:17:53 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
210
d8a66e60
JK
211 * symtab.c (lookup_symbol): Don't try adding .c to the name.
212
e3a7e9d5
JK
213 * remote-bug.c: At the start of each section, reset srec_frame
214 back to 160.
215
fcbc95a7
JK
216 * target.h: Add TARGET_WAITKIND_LOADED and TARGET_WAITKIND_SPURIOUS.
217 * target.c (store_waitstatus): Add CHILD_SPECIAL_WAITSTATUS hook.
218 * infrun.c (wait_for_inferior): Replace SIGTRAP_STOP_AFTER_LOAD with
219 code which looks for those two waitkinds. Use switch statement.
220 * config/rs6000/tm-rs6000.h: Replace SIGTRAP_STOP_AFTER_LOAD with
221 CHILD_SPECIAL_WAITSTATUS.
222
223 * procfs.c (procfs_wait): Fix argument name to match 4 Jan changes.
224 * Move target_signal_from_host, target_signal_to_host, and
225 store_waitstatus from inftarg.c to target.c. procfs needs them.
226 * target.c: Include "wait.h" and <signal.h>.
227 * target.h, infrun.c (proceed), proceed callers: Pass new code
228 TARGET_SIGNAL_DEFAULT instead of -1. This avoids problems with
229 enums being treated as unsigned and is cleaner.
230 * infrun.c (signals_info): Don't print TARGET_SIGNAL_DEFAULT or
231 TARGET_SIGNAL_0.
232 * infcmd.c (signal_command), infrun.c (signals_info):
233 Don't allow user to specify numeric equivalent of
234 TARGET_SIGNAL_DEFAULT.
235
7f85a716
SG
236Tue Jan 4 15:34:36 1994 Stu Grossman (grossman@cygnus.com)
237
238 * config/alpha/alpha-netware.mt: New target support for Alpha
239 running Netware.
240 * configure.in: Add alpha-*-netware* target.
241
5efb3899
SS
242Tue Jan 4 14:51:35 1994 Stan Shebs (shebs@andros.cygnus.com)
243
244 * remote-mips.c (mips_wait): Fix ref to TARGET_WAITKIND_STOPPED.
245
67ac9759
JK
246Tue Jan 4 09:47:14 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
247
248 * target.h: Add enum target_waitkind, enum target_signal, and
249 struct target_waitstatus. Change status argument to target_wait to
250 be struct target_waitstatus * instead of int *.
251 * target.h, infrun.c, all targets: Change type of signal arguments
252 to resume(), proceed(), and target_resume() from int to enum
253 target_signal.
254 * All targets (*_wait, *_resume): Change accordingly.
255 * infcmd.c (program_info, signal_command), throughout infrun.c,
256 * fork-child.c, solib.c, hppa-tdep.c, osfsolib.c: Use this stuff.
257 * convex-xdep.c, convex-tdep.c: Add FIXME's (getting the Convex
258 signal code stuff right with the new signals would be non-trivial).
259 * inferior.h (stop_signal): Make it enum target_signal not int.
260 * target.c, target.h (target_signal_to_string, target_signal_to_name,
261 target_signal_from_name): New functions.
262 * inftarg.c, target.h (target_signal_to_host, target_signal_from_host,
263 store_waitstatus): New functions.
264 * procfs.c (procfs_notice_signals): Use them.
265 * i960-tdep.c (i960_fault_to_signal): New function, to replace
266 print_fault.
267 * config/i960/tm-i960.h: Don't define PRINT_RANDOM_SIGNAL.
268
269 * objfiles.c (build_objfile_section_table): Don't abort() if
270 objfile->sections is already set.
271
272 * objfiles.c (add_to_objfile_sections): Check SEC_ALLOC not SEC_LOAD
273 to match recent change to exec.c.
274
275 * Version 4.11.3.
276
277 * main.c (print_gdb_version): Change year to 1994.
278
279 * ChangeLog, ChangeLog-93: Split ChangeLog at 1994.
280 * Makefile.in (NONSRC): Add ChangeLog-93.
281
b35885f2
JK
282Mon Jan 3 11:57:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
283
4b404661
JK
284 * stabsread.c (read_type): Allow defining several type numbers
285 at once (e.g. "(1,2)=(3,4)="...).
286
eaba7fae
JK
287 * stabsread.c (read_enum_type): Use TARGET_INT_BIT not sizeof (int).
288
b35885f2
JK
289 * breakpoint.c (frame_in_dummy): Check PC as well as frame.
290
ae5c71d6
PS
291Mon Jan 3 02:47:03 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
292
293 * mdebugread.c (psymtab_to_symtab_1): Only pass N_STAB symbols
294 to process_one_symbol.
295 * symtab.c (find_pc_psymbol): Search global_psymbols as well to
296 avoid caching a bad endaddr in find_pc_partial_function.
297
d568b76a
JK
298Sun Jan 2 21:41:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
299
300 * config/m68k/tm-sun3.h: Don't define BELIEVE_PCC_PROMOTION.
301
9ddb33a8
PS
302Sat Jan 1 04:35:23 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
303
304 * infrun.c (wait_for_inferior): Do not step or step resume past
305 the end of a one-line function we just stepped into.
306
67ac9759 307For older changes see ChangeLog-93
bd5635a1
RP
308\f
309Local Variables:
310mode: indented-text
311left-margin: 8
312fill-column: 74
313version-control: never
314End:
This page took 0.226794 seconds and 4 git commands to generate.