Commit | Line | Data |
---|---|---|
3b53c82a FL |
1 | Tue Jul 29 10:12:44 1997 Felix Lee <flee@cygnus.com> |
2 | ||
3 | * Makefile.in (init.c): except some mswin files do need to be | |
4 | scanned. oh well. | |
5 | ||
ce4450fa FL |
6 | Mon Jul 28 14:04:39 1997 Felix Lee <flee@cygnus.com> |
7 | ||
8 | * Makefile.in (init.c): don't try to scan mswin for _initialize | |
9 | funcs. (generates misleading error message because files have | |
10 | .cpp suffix, not .c suffix) | |
11 | ||
12 | Mon Jul 28 13:27:21 1997 Felix Lee <flee@cygnus.com> | |
13 | ||
14 | * ser-e7kpc.c: <w32sut.h> -> "mswin/w32sut.h" | |
15 | ||
4e9e52ab PS |
16 | Mon Jul 28 02:54:31 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
17 | ||
18 | * xcoffread.c (coff_getfilename): Do not strip directory component | |
19 | of filename. | |
20 | ||
ce4450fa FL |
21 | Fri Jul 25 15:16:15 1997 Felix Lee <flee@cygnus.com> |
22 | ||
23 | * mon960-rom.c: removed unused #includes; no ioctl.h in Windows. | |
24 | * nindy-share/ttyflush.c: find sleep() for _MSC_VER. | |
25 | * remote-array.c: #include <ctype.h> for isascii(). | |
26 | * utils.c (notice_quit,pollquit): cleanup. _WIN32 -> _MSC_VER. | |
27 | ||
5959df8e JL |
28 | Fri Jul 25 16:48:18 1997 Jeffrey A Law (law@cygnus.com) |
29 | ||
30 | * top.c (execute_command): Force cleanup of alloca areas. | |
31 | * findvar.c (registers_changed): Likewise. | |
32 | ||
33 | start-sanitize-v850 | |
264b9de0 SG |
34 | Fri Jul 25 15:37:15 1997 Stu Grossman <grossman@cygnus.com> |
35 | ||
36 | * v850ice.c: Include <windows.h>. Support new v850 DLL interface. | |
37 | * Add defs for target status. | |
5959df8e JL |
38 | |
39 | end-sanitize-v850 | |
6bc5b2fa MH |
40 | start-sanitize-gdbtk |
41 | Tue Jul 22 19:45:37 1997 Martin M. Hunt <hunt@cygnus.com> | |
42 | ||
43 | * configure.in, aclocal.m4: Another fix to find the | |
44 | correct Tix library name. | |
45 | ||
46 | * configure: Rebuilt. | |
47 | ||
48 | end-sanitize-gdbtk | |
49 | ||
7631a23e MS |
50 | Tue Jul 22 12:11:48 1997 Michael Snyder (msnyder@cleaver.cygnus.com) |
51 | ||
52 | * config/mips/tm-mips64.h: longs, long longs, and pointers | |
53 | are all 64 bits on EABI mips targets. | |
54 | ||
e81e7912 MH |
55 | start-sanitize-gdbtk |
56 | Mon Jul 21 22:24:07 1997 Martin M. Hunt <hunt@cygnus.com> | |
57 | ||
58 | * aclocal.m4: Search for the correct tix library. | |
59 | end-sanitize-gdbtk | |
60 | ||
3822bab9 MS |
61 | Thu Jul 17 11:38:46 1997 Michael Snyder (msnyder@cleaver.cygnus.com) |
62 | ||
63 | * partial-stab.h (case N_BINCL): detect missing partial symtab. | |
64 | * dbxread.c: Add a complaint for N_BINCL without a corresponding | |
65 | partial symtab. Remove earlier change of 5/27/97. | |
66 | ||
0f5b751a MS |
67 | Wed Jul 16 10:38:03 1997 Michael Snyder (msnyder@cleaver.cygnus.com) |
68 | ||
69 | * sol-thread.c (sol_thread_[store, fetch]_registers): if | |
70 | inferior_pid is an LWP rather than a Solaris thread, let | |
71 | procfs handle the request. | |
72 | (rw_common, sol_thread_xfer_memory): procfs_xfer_memory will | |
73 | only work if inferior_pid points to an LWP (rather than a | |
74 | Solaris thread). Use procfs_first_available to find a good LWP. | |
75 | (info_solthreads): added a maintenance command to list all | |
76 | known Solaris threads and their attributes. | |
2aeedbf8 MS |
77 | * mips-tdep.c (mips_do_registers_info): Completely changed the |
78 | output format to be neat and columnar. Added the helper funcs | |
79 | do_fp_register_row and do_gp_register_row. Also small mods to | |
80 | mips_print_register, which is still used to print a single reg. | |
0f5b751a | 81 | |
f14465c3 MS |
82 | Mon Jul 14 18:02:53 1997 Michael Snyder (msnyder@cleaver.cygnus.com) |
83 | ||
84 | * procfs.c (wait_fd): Handle an fd that has "hung up" or | |
85 | otherwise terminated (Solaris threads). | |
86 | ||
2476848a MH |
87 | start-sanitize-gdbtk |
88 | Thu Jul 10 00:02:41 1997 Martin M. Hunt <hunt@cygnus.com> | |
89 | ||
90 | * Makefile.in, configure.in, aclocal.m4: Add Itcl, Tix, and | |
91 | IDE configuration information. | |
92 | ||
93 | * gdbtk.c (breakpoint_notify): Send address, linenumber and | |
94 | filename when a breakpoint is set. Avoids call to bp_info. | |
95 | (gdbtk_init): Call Tcl_FindExecutable(). Add code to handle | |
96 | Itcl, Tix and IDE initialization. | |
97 | ||
98 | * defs.h (init_ui_hook): Change prototype to accept one arg. | |
99 | ||
100 | * main.c (gdb_init): Change prototype to accept one arg. | |
101 | ||
102 | * top.c (gdb_init): Accepts one argument which it uses to | |
103 | call (*init_ui_hook), which will be gdbtk_init(). This is | |
104 | used for calling Tcl_FindExecutable(). | |
105 | ||
106 | * gdbtcl/breakpoint.tcl (gdbtk_tcl_breakpoint): Change to | |
107 | accept variable number of args for compatibility with | |
108 | cchanges in gdbtk.c. | |
109 | ||
110 | * configure: Regenerated. | |
111 | ||
112 | * gdbtcl/tclIndex: Regenerated. | |
113 | ||
114 | end-sanitize-gdbtk | |
115 | ||
f897ef47 ILT |
116 | Fri Jul 4 14:49:33 1997 Ian Lance Taylor <ian@cygnus.com> |
117 | ||
118 | * source.c (OPEN_MODE, FDOPEN_MODE): Define; value depends upon | |
119 | whether CRLF_SOURCE_FILES is defined. | |
120 | (open_source_file): Use OPEN_MODE with open and openp. | |
121 | (print_source_lines): Use FDOPEN_MODE with fdopen. If | |
122 | CRLF_SOURCE_FILES is defined, ignore \r characters. | |
123 | (forward_search_command): Use FDOPEN_MODE with fdopen. | |
124 | (reverse_search_command): Likewise. | |
125 | * config/i386/xm-cygwin32.h (CRLF_SOURCE_FILES): Define. | |
126 | (LSEEK_NOT_LINEAR): Don't define. | |
127 | ||
87910097 MS |
128 | Thu Jul 3 17:41:46 1997 Michael Snyder (msnyder@cleaver.cygnus.com) |
129 | ||
130 | * mips-tdep.c (mips_extract_return_value): align 4-byte float | |
131 | return values within the 8-byte FP register. | |
132 | ||
c430260c MS |
133 | Thu Jul 3 13:48:11 1997 Michael Snyder (msnyder@cleaver.cygnus.com) |
134 | ||
135 | * mips-tdep.c (mips_push_arguments): don't left-adjust 32-bit | |
136 | integers in 64-bit register parameters before function calls. | |
137 | ||
781a59b2 MS |
138 | Mon Jun 30 17:54:51 1997 Michael Snyder (msnyder@cleaver.cygnus.com) |
139 | ||
140 | * mips-tdep.c (mips_push_arguments): special-case handling for | |
141 | odd-sized struct parameters passed in registers / on stack. | |
142 | ||
158bda58 MS |
143 | Mon Jun 30 15:30:38 1997 Michael Snyder (msnyder@cleaver.cygnus.com) |
144 | ||
145 | * mips-tdep.c (mips_push_arguments): tweak alignment of small | |
146 | structs passed in registers for little-endian non-EABI mode. | |
147 | ||
71e09995 MS |
148 | Mon Jun 30 13:05:39 1997 Michael Snyder (msnyder@cleaver.cygnus.com) |
149 | ||
150 | * breakpoint.c (frame_in_dummy): use generic dummy if available. | |
151 | (check_duplicates, clear_command): compare sections only if | |
152 | doing overlay debugging. | |
153 | ||
609fd033 FF |
154 | Fri Jun 27 23:03:53 1997 Fred Fish <fnf@ninemoons.com> |
155 | ||
156 | * buildsym.h (struct subfile): Add debugformat member. | |
157 | (record_debugformat): Declare global function. | |
158 | * buildsym.c (start_subfile): Initialize debugformat member | |
159 | to NULL. | |
160 | (record_debugformat): New function to record the format. | |
161 | (end_symtab): Copy format into symtab debugformat member. | |
162 | (end_symtab): Free subfile debugformat member. | |
163 | * symmisc.c (free_symtab): Free debugformat when freeing | |
164 | symtab. | |
165 | * symfile.c (allocate_symtab): Initialize the new debugformat | |
166 | member for new symtabs. | |
167 | * symtab.h (struct symtab): Add debugformat member. | |
168 | * source.c (source_info): Print the debug format. | |
169 | ||
170 | * os9kread.c (os9k_process_one_symbol): Call record_debugformat | |
171 | with "OS9". | |
172 | * hpread.c (hpread_expand_symtab): Call record_debugformat | |
173 | with "HP". | |
174 | (hpread_process_one_debug_symbol): Ditto. | |
175 | * dbxread.c (process_one_symbol): Call record_debugformat | |
176 | with "stabs". | |
177 | * coffread.c (coff_start_symtab): Call record_debugformat | |
178 | with "COFF". | |
179 | * xcoffread.c (read_xcoff_symtab): Call record_debugformat | |
180 | with "XCOFF". | |
181 | * dwarfread.c (read_file_scope): Call record_debugformat | |
182 | with "DWARF 1". | |
183 | * dwarf2read.c (read_file_scope): Call record_debugformat | |
184 | with "DWARF 2". | |
185 | * dstread.c (dst_end_symtab): Set debugformat to be | |
186 | "Apollo DST". | |
187 | * mdebugread.c (new_symtab): Set debugformat to be "ECOFF". | |
188 | ||
08d8f995 MS |
189 | Fri Jun 27 21:05:45 1997 Michael Snyder (msnyder@cleaver.cygnus.com) |
190 | ||
191 | * mips-tdep.c (mips_push_arguments): handle alignment of | |
192 | integer and struct args on stack for mips64 big-endian. | |
193 | ||
0af60e03 MS |
194 | Fri Jun 27 19:19:12 1997 Michael Snyder (msnyder@cleaver.cygnus.com) |
195 | ||
196 | * config/mips/tm-mips.h (USE_STRUCT_CONVENTION): MIPS_EABI returns | |
197 | structs in a register wherever possible. | |
198 | * mips-tdep.c (mips_extract_return_value): handle structs. | |
199 | (mips_store_return_value): handle values smaller than MIPS_REGSIZE | |
200 | (including structs, if gdb ever allows it). | |
201 | ||
4a9d4495 FF |
202 | start-sanitize-sh4 |
203 | Fri Jun 20 17:58:34 1997 Fred Fish <fnf@cygnus.com> | |
204 | ||
205 | * sh-tdep.c (sh_skip_prologue): Also recognize fmov insns. | |
206 | (sh_frame_find_saved_regs): Recognize fmov insns and adjust | |
207 | stack push count accordingly. | |
208 | * sh-tdep.c (IS_FMOV, FPSCR_SZ): New defines | |
209 | ||
210 | end-sanitize-sh4 | |
9b91bc22 MA |
211 | Thu Jun 19 08:18:48 1997 Mark Alexander <marka@cygnus.com> |
212 | ||
213 | * utils.c (floatformat_from_doublest): Improve test for infinity. | |
214 | ||
705ebd92 FF |
215 | Wed Jun 18 13:47:52 1997 Fred Fish <fnf@cygnus.com> |
216 | ||
217 | * dwarfread.c (isreg, optimized_out, offreg, basereg): Move | |
218 | global variables into the struct dieinfo structure. | |
219 | (locval): Pass pointer to a dieinfo struct rather than a | |
220 | pointer to the raw location information. Change prototype. | |
221 | Set isreg, optimized_out, offreg and basereg as appropriate. | |
222 | (struct_type): Call locval with dieinfo struct pointer. | |
223 | (new_symbol): Ditto. | |
224 | (new_symbol): Call locval and save location before testing | |
225 | the values of the new dieinfo struct flags, set by locval. | |
226 | ||
b6823237 PS |
227 | Tue Jun 17 13:30:12 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
228 | ||
229 | * procfs.c (proc_set_exec_trap, procfs_init_inferior, procfs_wait, | |
230 | unconditionally_kill_inferior): Undo Oct 26 1996 and Apr 26 1997 | |
231 | changes to trace PRFS_STOPTERM and handle PR_DEAD. | |
232 | These changes tried to work around a problem with an early DU 4.0 | |
233 | release, but they trigger subtle timing dependent kernel bugs | |
234 | in older OSF/1 releases. | |
235 | ||
015e113c FF |
236 | Tue Jun 17 06:52:47 1997 Fred Fish <fnf@cygnus.com> |
237 | ||
238 | * dwarfread.c (new_symbol): Use SYMBOL_VALUE_ADDRESS, instead of | |
239 | SYMBOL_VALUE, to set the value of LOC_STATIC symbols. | |
240 | ||
f781fe93 MA |
241 | Mon Jun 16 18:38:28 1997 Mark Alexander <marka@cygnus.com> |
242 | ||
243 | * infrun.c (wait_for_inferior): Mark registers as invalid when | |
244 | stepping over an instruction that triggered a watchpoint. | |
245 | * remote-mips.c: Numerous changes to support hardware breakpoints | |
246 | and watchpoints on LSI MiniRISC and TinyRISC boards. | |
247 | * mips-tdep.c: Move MIPS16-related macros to config/mips/tm-mips.h. | |
248 | (mips_breakpoint_from_pc): Account for different breakpoint | |
249 | instructions used by PMON and IDT monitor. | |
250 | * config/mips/tm-embed.h: Enable hardware breakpoints on embedded | |
251 | MIPS targets. | |
252 | * config/mips/tm-mips.h: Define breakpoint instructions for | |
253 | PMON and IDT monitor. Move MIPS16-related macros here from | |
254 | mips-tdep.c. | |
255 | ||
00e40d11 MS |
256 | Fri Jun 13 13:44:47 1997 Michael Snyder (msnyder@cleaver.cygnus.com) |
257 | ||
258 | * config/mips/tm-tx39[l].h, tx39[l].mt: change r3900 target to tx39. | |
259 | ||
dd1c7d5f JL |
260 | Fri Jun 13 14:14:10 1997 Jeffrey A Law (law@cygnus.com) |
261 | ||
262 | * mn10300-tdep.c (mn10300_analyze_prologue): Fix some comments. | |
263 | Add missing return statements after finding an "add imm{16,32},sp" | |
264 | instruction. | |
265 | (mn10300_frame_chain): Add in size of our register save area to find | |
266 | our caller's frame if our caller does not have a frame pointer. | |
267 | ||
a6b6627b DE |
268 | Fri Jun 13 12:55:49 1997 Doug Evans <dje@canuck.cygnus.com> |
269 | ||
270 | * symfile.c (generic_load): Check return code of target_write_memory. | |
271 | ||
40b647e9 FF |
272 | Fri Jun 13 10:28:09 1997 Fred Fish <fnf@cygnus.com> |
273 | ||
274 | * config/i386/nm-linux.h: Enable prototypes that were #ifdef out. | |
275 | * config/tm-sysv4.h (in_plt_section): Add prototype. | |
276 | ||
277 | * maint.c (maintenance_translate_address): Avoid assignment | |
278 | inside if, per GNU coding standards. | |
00e40d11 MS |
279 | * symfile.c (simple_read_overlay_table): Avoid assignments inside if, |
280 | per GNU coding standards. | |
40b647e9 FF |
281 | |
282 | * monitor.c (parse_register_dump): Is really a void function. | |
283 | Add prototype. | |
284 | (monitor_read_memory): Remove unused variable "name". | |
285 | (monitor_read_memory): Remove unused variable "regbuf". | |
286 | (monitor_open): Remove unused variable "i". | |
287 | (get_hex_word): Apparently unused, #if away for now. | |
288 | (from_hex): Ditto. | |
289 | ||
290 | * i386v4-nat.c (supply_fpregset): Remove unused variable "regi". | |
291 | (fill_fpregset): Remove unused variables "regi", "to", "from" and | |
292 | "registers". | |
293 | ||
294 | * remote-e7000.c (ctype.h): Include. | |
295 | (e7000_insert_breakpoint): #if away unused arg used by unused expr. | |
296 | * frame.h (generic_get_saved_register): Add prototype. | |
297 | (enum lval_type): Add partial forward decl. | |
298 | * dsrec.c (make_srec): Remove unused variable "type_code". | |
299 | * remote-sim.c (gdbsim_wait): Handle sim_running and sim_polling | |
300 | cases by just ignoring them. | |
301 | (command.h): Include. | |
302 | ||
303 | * java-exp.y (parse_number): Remove unused variable "unsigned_p". | |
304 | * java-lang.c (gdbcore.h): Include for prototypes. | |
305 | (type_from_class): Remove unused variable "ftype". | |
306 | (type_from_class): Remove unused variable "name_length". | |
307 | (evaluate_subexp_java): Add default case to handle remaining | |
308 | enumerations. | |
309 | * java-valprint.c (c-lang.h): Include for prototypes. | |
310 | ||
311 | * symfile.c (simple_read_overlay_region_table): #if away | |
312 | unused function. | |
313 | (simple_free_overlay_region_table): Ditto. | |
314 | (overlay_is_mapped): Add default case to switch. | |
315 | (simple_read_overlay_region_table): Ditto. | |
316 | (simple_read_overlay_region_table): Add prototype. | |
317 | ||
318 | * symtab.c (fixup_symbol_section): Remove unused msym variable. | |
319 | (fixup_psymbol_section): Ditto. | |
320 | (find_pc_sect_symtab): Make distance a CORE_ADDR. | |
321 | ||
322 | * utils.c: Add comment about t_addr being either unsigned long or | |
323 | unsigned long long. | |
324 | (paddr): Change formats to match actual types args are cast to. | |
325 | (preg): Ditto. | |
326 | (paddr_nz): Ditto. | |
327 | (preg_nz): Ditto. | |
56e327b3 FF |
328 | |
329 | * defs.h (perror_with_name): Is a NORETURN function. | |
330 | * utils.c (perror_with_name): Is a NORETURN function. | |
331 | (error): Is NORETURN independently of ANSI_PROTOTYPES. | |
332 | ||
333 | * symtab.c (fixup_symbol_section): Remove prototype. | |
334 | * symtab.h: (fixup_symbol_section): Add prototype. | |
335 | * m32r-rom.c (report_transfer_performance): Add prototype. | |
336 | * sparclet-rom.c: Ditto. | |
337 | * dsrec.c: Ditto. | |
338 | ||
339 | * c-exp.y (parse_number): Cast args to float* or double* as | |
340 | appropriate for conversion format. | |
341 | * java-exp.y (parse_number): Ditto. | |
342 | ||
343 | * Makefile.in (c-exp.tab.c): Remove #line lines that refer | |
344 | to nonexistant y.tab.c file. | |
345 | (java-exp.tab.c): Ditto. | |
346 | (f-exp.tab.c): Ditto. | |
347 | (m2-exp.tab.c): Ditto. | |
348 | start-sanitize-gdbtk | |
349 | ||
350 | * gdbtk.c (gdbtk_init): Make truth value test explicit. | |
351 | Remove unused static variable "Gdbtk_Library". | |
352 | end-sanitize-gdbtk | |
353 | ||
cf2b165e FF |
354 | * sh-tdep.c (symfile.h): Include. |
355 | (gdb_string.h): Include. | |
356 | (sh_fix_call_dummy): Ifdef away, currently unused. | |
357 | * config/sh/tm-sh.h (pop_frame): Add prototype. | |
358 | * config/sh/tm-sh.h (sh_set_processor_type): Add prototype. | |
359 | ||
27f1958c PS |
360 | Sat Jun 7 02:34:19 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
361 | ||
362 | start-sanitize-gdbtk | |
363 | * gdbtk.c (gdb_get_breakpoint_info): Add string for new | |
364 | enumeration del_at_next_stop to bpdisp array. | |
365 | ||
366 | end-sanitize-gdbtk | |
367 | * eval.c (evaluate_subexp_for_sizeof): Handle dereferencing | |
368 | of non-pointer values. | |
369 | ||
370 | * symtab.c (gdb_mangle_name): Improve mangling of nested types, | |
371 | their physical names already include the class name. | |
372 | ||
373 | * valops.c (value_cast): Handle upcast of a class pointer. | |
374 | ||
375 | From Andreas Schwab (schwab@issan.informatik.uni-dortmund.de): | |
376 | * corelow.c (get_core_registers): Make secname big enough. | |
377 | ||
1e6479d4 KS |
378 | Fri Jun 6 14:43:23 1997 Keith Seitz <keiths@pizza.cygnus.com> |
379 | ||
380 | * config/sh/tm-sh.h: add define for FPSCR_REGNUM | |
381 | * sh-tdep.c (sh_show_regs): print out all registers for | |
382 | the current processor | |
383 | ||
aa02a0b0 AC |
384 | Fri Jun 6 13:01:55 1997 Andrew Cagney <cagney@b1.cygnus.com> |
385 | ||
386 | * remote-sim.c (gdbsim_kill): Remove call to depreciated function | |
387 | sim_kill. | |
388 | ||
389 | Thu Jun 5 11:39:03 1997 Ian Lance Taylor <ian@cygnus.com> | |
390 | ||
391 | Fixes for recent correction to PE format: | |
392 | * coffread.c (pe_file): New static variable. | |
393 | (struct find_targ_sec_arg): Change resultp from pointer to int to | |
394 | pointer to pointer to asection. | |
395 | (find_targ_sec): Just store the section in args->resultp, not the | |
396 | section offset value. | |
397 | (cs_to_section): Compute the section offset value from the | |
398 | section. | |
399 | (cs_section_address): New static function. | |
400 | (coff_symfile_read): Set pe_file. | |
401 | (read_one_sym): When reading a PE file, adjust the symbol value to | |
402 | include the section address if the symbol has an appropriate | |
403 | storage class. | |
404 | ||
3d400c09 | 405 | Tue Jun 3 16:24:46 1997 Michael Snyder (msnyder@cleaver.cygnus.com) |
aa02a0b0 | 406 | |
3d400c09 MS |
407 | * configure.tgt: add mipsr3900-elf target |
408 | * config/mips/r3900.mt r3900l.mt tm-r3900.h tm-r3900l.h: ditto | |
3d400c09 | 409 | |
f131deb1 TT |
410 | start-sanitize-gdbtk |
411 | Tue Jun 3 15:46:51 1997 Tom Tromey <tromey@cygnus.com> | |
412 | ||
413 | * Makefile.in (LIB_RUNTIME_DIR): New variable. | |
414 | ||
415 | end-sanitize-gdbtk | |
416 | Tue May 27 10:34:11 1997 Michael Snyder <msnyder@cleaver.cygnus.com> | |
417 | ||
418 | * dbxread.c: Check malloc's return for null, prevent segv. | |
419 | ||
badd64f2 BM |
420 | Fri May 23 14:45:02 1997 Bob Manson <manson@charmed.cygnus.com> |
421 | ||
422 | * infcmd.c (jump_command): Don't try to dereference sfn if it's | |
423 | NULL. | |
424 | ||
95edd7c1 AC |
425 | Fri May 23 13:51:57 1997 Andrew Cagney <cagney@b1.cygnus.com> |
426 | ||
427 | * top.c (init_cmd_lists): Always initialize endianlist. | |
428 | (init_main): Always define endian commands. | |
429 | (set_endian_big): Issue warning if endian not selectable. | |
430 | (set_endian_little): Ditto. | |
431 | (set_endian_auto): Ditto. | |
432 | ||
1fa0cc2d AC |
433 | Thu May 22 11:53:21 1997 Andrew Cagney <cagney@b1.cygnus.com> |
434 | ||
435 | * remote-sim.c (simulator_command): Restrict access to the | |
436 | simulator to periods when the simulator is open. | |
437 | ||
3780c337 MS |
438 | Wed May 21 16:03:25 1997 Michael Snyder <msnyder@cleaver.cygnus.com> |
439 | ||
440 | * procfs.c (init_procinfo): new function, abstracts some code | |
441 | shared by create_procinfo and do_attach; | |
442 | (procfs_set_inferior_syscall_traps): new function, abstracts | |
443 | some code needed by procfs_init_inferior, do_attach, and | |
444 | procfs_lwp_creation_handler; (procfs_first_available): new | |
445 | function, find any LWP that's runnable; (procfs_thread_alive): | |
446 | replace stub function with real implementation; | |
447 | (procfs_lwp_creation_handler): fix bug starting new child | |
448 | threads; (info_proc): bug fixes and enhancements for the | |
449 | "INFO PROCESSES" command; (close_procinfo_file): call new | |
450 | function "delete_thread" to cleanup GDB's thread database; | |
451 | (proc_init_failed): add new argument "kill", to control whether | |
452 | process is killed (so this function can be shared by | |
453 | create_procinfo and do_attach); (procfs_exit_handler): handle | |
454 | exit from an attached process, and cleanup procinfo handles | |
455 | when the process exits; (procfs_resume, procfs_wait): cleanup | |
456 | after a thread when it exits; (do_attach, do_detach): handle | |
457 | attached processes with multiple threads; plus some general | |
458 | improvements in the diagnostic output. | |
459 | * sol-thread.c (sol_thread_alive): replace stub with real | |
460 | implementation; (thread_to_lwp, lwp_to_thread): enhance to | |
461 | handle threads that may have exited; (sol_thread_attach): add | |
462 | startup setup stuff; (sol_thread_detach): add unpush_target | |
463 | call; (sol_thread_mourn_inferior): add unpush_target call; | |
464 | (sol_thread_wait, sol_thread_resume): enhance to deal with | |
465 | thread exit cleanly; (sol_thread_new_objfile, | |
466 | sol_thread_pid_to_str): detect unsuccessful startup and | |
467 | don't crash; plus some general cleanup. | |
468 | * thread.c (delete_thread): new function, allows targets to | |
469 | notify gdb when a thread is no longer valid. | |
470 | * infrun.c (wait_for_inferior): don't try to detect a new | |
471 | thread on receiving a TARGET_EXITED event. | |
472 | ||
473 | Tue May 20 09:32:02 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
474 | ||
475 | * remote-sim.c (gdbsim_open): Pass callback struct. | |
476 | (init_callbacks): Remove call to sim_set_callbacks. | |
477 | ||
4cc56716 PS |
478 | Thu May 15 07:56:50 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
479 | ||
480 | * config/rs6000/tm-rs6000.h (SIG_FRAME_LR_OFFSET): Define. | |
481 | * rs6000-tdep.c (frameless_function_invocation): Mark frames | |
482 | with a zero PC as frameless to improve backtraces from core dumps | |
483 | caused by dereferencing a NULL function pointer. | |
484 | (frameless_function_invocation, frame_saved_pc, rs6000_frame_chain): | |
485 | Handle frameless functions interrupted by a signal. | |
486 | ||
487 | * sparc-tdep.c (sparc_init_extra_frame_info, sparc_frame_saved_pc): | |
488 | Handle frameless functions interrupted by a signal. | |
489 | ||
c23cc10a JL |
490 | Wed May 14 08:58:55 1997 Jeffrey A Law (law@cygnus.com) |
491 | ||
4dbe5f8d JL |
492 | * mn10200-tdep.c (mn10200_analyze_prologue): Update prologue comments |
493 | to reflect current reality. Gross attempt at handling out of | |
494 | line prologues. | |
495 | ||
c23cc10a JL |
496 | * mn10200-tdep.c (mn10200_skip_prologue): Don't look at the debug |
497 | symbols to find the end of the prologue. | |
498 | * mn10300-tdep.c (mn10300_skip_prologue): Likewise. | |
499 | ||
60f0562b | 500 | start-sanitize-tic80 |
68cad8a2 AC |
501 | Wed May 14 12:04:49 1997 Andrew Cagney <cagney@b1.cygnus.com> |
502 | ||
503 | * config/tic80/tm-tic80.h (NUM_REGS): 38 not 37. | |
504 | ||
505 | end-sanitize-tic80 | |
506 | start-sanitize-tic80 | |
6e12c187 MA |
507 | Mon May 12 11:35:04 1997 Mark Alexander <marka@cygnus.com> |
508 | ||
509 | * tic80-tdep.c, config/tic80/tm-tic80.h: First cut at getting | |
510 | basic C80 features working. | |
511 | ||
60f0562b | 512 | end-sanitize-tic80 |
c14cabba AC |
513 | Thu May 8 08:42:47 1997 Andrew Cagney <cagney@b1.cygnus.com> |
514 | ||
515 | * configure.in (AC_TYPE_SIGNAL): Add | |
516 | * configure: Re-generate. | |
517 | * remote-sim.c: Signal returns RETSIGTYPE. | |
518 | ||
519 | start-sanitize-gdbtk | |
520 | Wed May 7 19:10:19 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
521 | ||
522 | * gdbtk.c (wrapped_call): New function - make actual call to tk | |
523 | worker function. | |
524 | (call_wrapper): Rewrite to use top.c:catch_errors. | |
525 | ||
526 | * gdbtk.c (gdb_stop): If No target_stop set quit flag and hope for | |
527 | best. | |
528 | ||
529 | end-sanitize-gdbtk | |
530 | Wed May 7 20:05:07 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
531 | ||
532 | * target.h (target_stop): Drop argument so it can be tested for | |
533 | NULL. | |
534 | ||
04a7708a MA |
535 | Sat May 3 20:51:48 1997 Mark Alexander <marka@cygnus.com> |
536 | ||
537 | * utils.c (floatformat_from_doublest): Handle infinity properly. | |
538 | ||
539 | Thu May 1 11:44:46 1997 Michael Snyder <msnyder@cleaver.cygnus.com> | |
540 | ||
541 | * Finalize merge from Hurd folk. | |
542 | Mon Oct 30 16:41:04 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
543 | * thread.c (thread_apply_command, thread_apply_all_command, | |
544 | thread_command): Make sure TP is alive. | |
545 | (thread_alive): New function. | |
546 | Tue Nov 14 14:31:03 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
547 | * infrun.c (sig_print_info): Deal better with long signal names. | |
548 | Wed Nov 22 15:23:35 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
549 | * thread.c (thread_id_to_pid): New function. | |
550 | Fri Dec 1 13:25:25 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
551 | * gnu-nat.c: (set_thread_cmd_list, show_thread_cmd_list, | |
552 | set_thread_default_cmd_list, show_thread_default_cmd_list): | |
553 | New variables. (set_thread_cmd, show_thread_cmd, | |
554 | set_thread_default_cmd, show_thread_default_cmd): New functions. | |
555 | Fri Apr 18 15:20:16 1997 Miles Bader <miles@gnu.ai.mit.edu> | |
556 | * gnu-nat.c (inf_startup): remove TASK parameter. | |
557 | (inf_set_task): replace with new function (inf_set_pid). | |
558 | * gdbthread.h: Add extern decl for thread_cmd_list. | |
559 | ||
b217c2d8 PS |
560 | Thu May 1 02:28:21 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
561 | ||
562 | * printcmd.c (disassemble_command): Adjust low function bound | |
563 | by FUNCTION_START_OFFSET. | |
564 | ||
7bd5c2e6 AC |
565 | start-sanitize-tic80 |
566 | Wed Apr 30 15:23:02 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
567 | ||
568 | * config/tic80/tm-tic80.h (BREAKPOINT): Set it to trap 73. | |
569 | ||
570 | end-sanitize-tic80 | |
571 | Mon Apr 28 21:25:32 1997 Michael Snyder <msnyder@cleaver.cygnus.com> | |
572 | ||
573 | * Makefile.in: Add rule for gnu-nat.o and i386gnu-nat.o (Gnu Hurd) | |
574 | * config/i386/i386gnu.mh: remove rules for [i386]gnu-nat.o, now | |
575 | in Makefile.in (as for other targets); add NATDEPFILE corelow.o to | |
576 | satisfy symbol dependancy in solib.c (core_ops). | |
577 | * target.[ch] conditionalize Mach-specific signals so that they | |
578 | won't show up in non-Mach gdb's! | |
04a7708a MA |
579 | * thread.c: change name of static function "thread_switch" to |
580 | "switch_to_thread", to avoid conflict with Mach global symbol; | |
581 | move thread_cmd_list to global scope so targets can add their | |
582 | own thread commands. | |
7bd5c2e6 AC |
583 | * infrun.c: sig_print_info: allow for long signal names. |
584 | * gnu-nat.[ch]: tidying up comments. | |
04a7708a | 585 | * gnu-nat.c: remove calls to prune_threads and renumber_threads; |
7bd5c2e6 AC |
586 | gnu_wait must not return -1 when inferior exits; |
587 | attach_to_child will modify inferior_pid in a way that allows | |
04a7708a MA |
588 | fork_inferior to remain unchanged; remove extra arg from |
589 | startup_inferior; move Mach thread commands here from thread.c. | |
7bd5c2e6 | 590 | |
75dc6b82 MS |
591 | Mon Apr 28 18:21:20 1997 Michael Snyder <msnyder@cleaver.cygnus.com> |
592 | ||
593 | * symtab.c: decode_line_1, replace the assignment to | |
594 | values.sals[0].pc which I accidentally left out on 4/3/97. | |
595 | ||
6a85a617 MS |
596 | Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com> |
597 | ||
d030f469 MS |
598 | * c-exp.y, java-exp.y: make parse_number reject "123DEADBEEF". |
599 | (fix by Bob Manson). | |
6a85a617 MS |
600 | * top.c: change "to enable to enable" to "to enable" in a couple |
601 | of help strings. | |
602 | ||
abcf64e7 MA |
603 | Mon Apr 28 09:01:59 1997 Mark Alexander <marka@cygnus.com> |
604 | ||
605 | * breakpoint.c (remove_breakpoint): Pass correct type to | |
606 | target_remove_watchpoint. | |
607 | * target.h: Improve comment for target_{remove,insert}_breakpoint. | |
608 | ||
fc362261 PS |
609 | Sat Apr 26 03:38:02 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
610 | ||
611 | * alpha-tdep.c (heuristic_proc_desc): Increase search limit | |
612 | for return address register, handle `ret' instruction. | |
95b71071 PS |
613 | |
614 | * corelow.c (get_core_registers): Initialize cf. | |
615 | ||
616 | * procfs.c: Minor changes to make pre-ANSI compilers happy. | |
617 | (procfs_notice_signals): Copy traced signal set back to | |
618 | pi->prrun.pr_trace. | |
619 | (unconditionally_kill_inferior): If PR_DEAD is defined, | |
620 | rerun inferior after killing it. | |
621 | ||
157d3d5d JL |
622 | Fri Apr 25 00:10:18 1997 Jeffrey A Law (law@cygnus.com) |
623 | ||
624 | * config/mn10300/tm-mn10300.h (EXTRACT_STRUCT_VALUE_ADDRESS): The | |
625 | structure value address is found in $a0 now. | |
626 | * config/mn10200/tm-mn10200.h (EXTRACT_STRUCT_VALUE_ADDRESS): Likewise. | |
627 | ||
726229db JL |
628 | Thu Apr 24 13:31:10 1997 Jeffrey A Law (law@cygnus.com) |
629 | ||
630 | * config/mn10300/tm-mn10300.h (STORE_RETURN_VALUE): Pointers are | |
631 | returned in $a0. | |
632 | (EXTRACT_RETURN_VALUE): Likewise. | |
633 | ||
634 | * mn10300-tdep.c (mn10300_analyze_prologue): Check for a return | |
635 | insn at "pc", not "fi->pc". | |
636 | ||
e5b9ee95 AC |
637 | start-sanitize-tic80 |
638 | Thu Apr 24 16:11:47 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
639 | ||
640 | * config/tic80/tm-tic80.h (NUM_REGS): Four 64bit accumulators. | |
641 | (REGISTER_BYTE, REGISTER_RAW_SIZE, REGISTER_SIZE, | |
642 | MAX_REGISTER_RAW_SIZE, REGISTER_VIRTUAL_TYPE): Adjust. | |
643 | (NPC_REGNUM): Tic80 has a delay slot. | |
644 | (R0_REGNUM, Rn_REGNUM, An_REGNUM): For sim, provide base/bound for | |
645 | register blocks. | |
646 | ||
647 | end-sanitize-tic80 | |
99c71408 JL |
648 | Wed Apr 23 11:18:45 1997 Jeffrey A Law (law@cygnus.com) |
649 | ||
650 | * config/mn10200/tm-mn10200.h (STORE_RETURN_VALUE): Pointers are | |
651 | returned in $a0. | |
652 | (EXTRACT_RETURN_VALUE): Likewise. | |
653 | ||
fc77ae8e FF |
654 | Tue Apr 22 11:58:15 1997 Fred Fish <fnf@cygnus.com> |
655 | ||
656 | * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Define to use | |
657 | floatformat_ieee_double_littlebyte_bigword for little endian | |
658 | target byte order. | |
659 | * utils.c (floatformat_to_doublest): Create local preswapped | |
660 | copy of input for floatformat_littlebyte_bigword formats. | |
661 | (get_field, put_field): Treat floatformat_littlebyte_bigword | |
662 | the same as floatformat_little. | |
663 | (floatformat_from_doublest): Postswap output words for | |
664 | the floatformat_littlebyte_bigwords format. | |
665 | ||
15c16493 AC |
666 | start-sanitize-tic80 |
667 | Mon Apr 21 22:44:47 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
668 | ||
669 | * config/tic80/tic80.mt (SIM): Link in simulator. | |
670 | ||
671 | end-sanitize-tic80 | |
253a70ff SG |
672 | Tue Apr 22 09:02:10 1997 Stu Grossman (grossman@critters.cygnus.com) |
673 | ||
178b282b SG |
674 | * config/alpha/alpha-osf3.mh config/i386/{i386gnu linux}.mh |
675 | config/mips/{embed embed64 embedl embedl64 vr4300 vr4300el vr5000 | |
676 | vr5000el}.mt config/powerpc/{aix aix4}.mh config/rs6000/{aix | |
677 | aix4}.mh config/sh/sh.mt config/sparc/sp64sim.mt: | |
678 | start-sanitize-v850 | |
679 | config/v850/v850.mt: | |
680 | end-sanitize-v850 | |
681 | Remove -lm. That's now handled by configure. | |
682 | ||
253a70ff SG |
683 | * Makefile.in (maintainer-clean): Add distclean to dependencies. |
684 | Remove duplicate rm's of files. | |
685 | ||
e4bb9027 DE |
686 | start-sanitize-gdbtk |
687 | Mon Apr 21 14:00:08 1997 Doug Evans <dje@canuck.cygnus.com> | |
688 | ||
689 | * gdbtk.c (gdb_disassemble): Store endian-ness in `di'. | |
690 | ||
691 | end-sanitize-gdbtk | |
3278ed0c SG |
692 | Mon Apr 21 09:49:25 1997 Stu Grossman (grossman@critters.cygnus.com) |
693 | ||
694 | * remote-pa.c: Remove. It's broken and no longer necessary. | |
695 | ||
75a947c6 PB |
696 | Sat Apr 19 11:56:10 1997 Per Bothner <bothner@deneb.cygnus.com> |
697 | ||
698 | * java-exp.y: Combine TRUE and FALSE into BOOLEAN_LITERAL. | |
699 | (Avoids name clash with broken AIX header files.) | |
700 | ||
211b564e PS |
701 | Sat Apr 19 01:49:37 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
702 | ||
64e6335a PS |
703 | * serial.c (serial_log_command): Fix fputs_unfiltered calls. |
704 | ||
211b564e PS |
705 | * config/powerpc/tm-ppc-aix4.h, config/rs6000/tm-rs6000-aix4.h |
706 | (DONT_RELOCATE_SYMFILE_OBJFILE): Removed. | |
707 | * xcoffsolib.h (struct vmap): Add new members tvma, toffs and dvma, | |
708 | remove tadj. | |
709 | * exec.c (bfdsec_to_vmap): Initialize new vmap members, initialize | |
710 | tstart and dstart with section VMA. | |
711 | * rs6000-nat.c (vmap_symtab): Relocate relative to the VMA in the | |
712 | object file. | |
713 | (vmap_ldinfo, xcoff_relocate_core): Adjust tstart by section offset | |
714 | of the text section, remove DONT_RELOCATE_SYMFILE_OBJFILE hack. | |
715 | (vmap_exec): Relocate relative to the VMA in the object file, | |
716 | relocate .bss section as well. | |
717 | (xcoff_relocate_core): No longer adjust section addresses by VMA. | |
718 | * rs6000-tdep.c (find_toc_address): Change type of tocbase | |
719 | to CORE_ADDR. | |
720 | * xcoffread.c (secnum_to_bfd_section): New routine to get | |
721 | BFD section from CS section number. | |
722 | (scan_xcoff_symtab): Make toc_offset section relative. | |
723 | ||
724 | * symtab.c (total_number_of_methods): Avoid core dump if | |
725 | baseclass type is still undefined. | |
726 | ||
4ce7ba51 SG |
727 | Fri Apr 18 17:25:10 1997 Stu Grossman (grossman@critters.cygnus.com) |
728 | ||
729 | * Makefile.in (SUBDIRS): Add mswin so that make cleanup cleans up | |
730 | that directory. | |
731 | * defs.h utils.c (error warning): Make message be const. | |
732 | * main.c (fputs_unfiltered): Only send gdb_stdout and gdb_stderr | |
733 | to hook. Otherwise send it to fputs. | |
734 | * monitor.c monitor.h (monitor_get_dev_name): New function. Does | |
735 | the obvious. | |
736 | * remote-e7000.c: Remove debugify stuff. Change printf, fprintf | |
737 | to _filtered forms to make output appear in GUIs. Replace all | |
738 | uses of SERIAL_READCHAR with readchar, which has better error | |
739 | checking. | |
740 | * (e7000_parse_device): Add prototype. | |
41e0a2b4 SS |
741 | (readchar): Improve doc. Handle random serial errors. |
742 | (expect): Disable notice_quit code. It's busted. Remove | |
4ce7ba51 SG |
743 | serial error handling (it's now handled in readchar). Remove |
744 | remote_debug echoing. That's handled in readchar as well. | |
41e0a2b4 | 745 | (e7000_parse_device): Remove serial_flag arg. It's not |
4ce7ba51 | 746 | necessary. |
41e0a2b4 | 747 | (e7000_open): Split into two pieces. Second part is |
4ce7ba51 SG |
748 | e7000_start_remote, and is error protected. Now, when we connect |
749 | to the target, we setup the initial frame and registers so that | |
750 | the user gets an immediate indication of where the target is. | |
41e0a2b4 SS |
751 | (gch): Remove debug output. That's handled by readchar. |
752 | (e7000_read_inferior_memory): Handle errors better. | |
753 | (_initialize_remote_e7000): Get rid of `<xxx>' things from | |
4ce7ba51 SG |
754 | command names. They show up when doing completion and confuse |
755 | things horribly. | |
41e0a2b4 SS |
756 | * ser-e7kpc.c: Get rid of the DLL's since we can access the device |
757 | directly from Win32s and Win95. Get rid of debugify crud. | |
4ce7ba51 SG |
758 | * serial.c: Remove debugify cruft. |
759 | * (serial_logchar serial_log_command serial_write serial_readchar | |
760 | serial_send_break serial_close): Merge common functionality into | |
761 | serial_logchar. Clean up rest of routines. | |
762 | * sparclet-rom.c: Disembowel. Leave only download routine. | |
763 | Download routine now switches to remote target automatically. | |
764 | * top.c (disconnect): Only define if SIGHUP is defined. Cleans | |
765 | up MSVC/Win32 problem. | |
766 | * utils.c (gdb_flush): Don't call hook unless it's for gdb_stdout | |
767 | or gdb_stderr. | |
768 | * config/sh/tm-sh.h: Define TARGET_SH for WinGDB. | |
769 | * config/sparc/tm-sparclet.h: Remove override for prompt. | |
770 | ||
0c4cec9f DE |
771 | Fri Apr 18 13:38:19 1997 Doug Evans <dje@canuck.cygnus.com> |
772 | ||
773 | * remote-sim.c (gdbsim_open): Only pass -E to sim_open if | |
774 | TARGET_BYTE ORDER_SELECTABLE. | |
775 | ||
8517f62b AC |
776 | Fri Apr 18 16:52:41 1997 Andrew Cagney <cagney@b1.cygnus.com> |
777 | ||
778 | * remote-sim.c (init_callbacks): Initialize poll_quit and magic | |
779 | fields of gdb_callback. | |
780 | (gdbsim_stop): Add gdbsim_stop to list of supported client | |
781 | operations. | |
782 | (gdbsim_wait, gdbsim_resume): Move call to sim_resume into | |
783 | sim_wait where gdb is in a position to handle a long running | |
784 | function. | |
785 | (gdbsim_cntrl_c): New function. Wrap the sim_resume call in a | |
786 | SIGINT handler. | |
787 | (gdb_os_poll_quit): New function. Check for a quit pending on the | |
788 | console. | |
789 | ||
790 | start-sanitize-gdbtk | |
791 | Wed Apr 16 12:33:06 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
792 | ||
793 | * Makefile.in (install-only): Make list of gdbtcl files to install | |
41e0a2b4 | 794 | explicit - was picking up files such as ChangeLog etc. |
8517f62b AC |
795 | (install-only): Don't blindly create the directory. |
796 | ||
797 | end-sanitize-gdbtk | |
7a9eb4c4 PB |
798 | Thu Apr 17 14:30:04 1997 Per Bothner <bothner@deneb.cygnus.com> |
799 | ||
800 | * defs.h (enum language): Add language_java. | |
801 | * java-exp.y, java-lang.c, java-lang.h, java-valprint.c: New files. | |
41e0a2b4 | 802 | * Makefile.in: Update for new files. |
7a9eb4c4 PB |
803 | * objfiles.c (allocate_objfile): Allow NULL bfd argument. |
804 | * symfile.c (deduce_language_from_filename): Recognize .java. | |
805 | ||
44cd79e4 DE |
806 | Thu Apr 17 02:20:23 1997 Doug Evans <dje@canuck.cygnus.com> |
807 | ||
d4d2dce5 DE |
808 | * m32r-stub.c (stash_registers): Rewrite. |
809 | (restore_registers): Renamed to restore_and_return. | |
810 | (cleanup_stash): New function. | |
811 | (process_exception): New function. | |
812 | (_catchException*): Rewrite. | |
813 | ||
44cd79e4 DE |
814 | * remote-sim.c (gdbsim_load): Update call to sim_load. |
815 | (gdbsim_create_inferior): No longer pass start_address to | |
816 | sim_create_inferior. | |
22003c91 | 817 | (gdbsim_open): Pass endian indicator as arg. |
44cd79e4 | 818 | |
1654a68d SS |
819 | Tue Apr 15 15:31:09 1997 Stan Shebs <shebs@andros.cygnus.com> |
820 | ||
821 | * remote.c (get_offsets): Don't use scanf for interpreting | |
822 | response to qOffsets. | |
823 | ||
591042f3 ILT |
824 | Tue Apr 15 14:51:04 1997 Ian Lance Taylor <ian@cygnus.com> |
825 | ||
826 | * gdbserver/Makefile.in (INSTALL_XFORM): Remove. | |
827 | (INSTALL_XFORM1): Remove. | |
828 | (install-only): Use $(program_transform_name) directly, rather | |
829 | than using $(INSTALL_XFORM) and $(INSTALL_XFORM1). | |
830 | (uninstall): Transform name. | |
831 | ||
832 | Mon Apr 14 17:06:27 1997 Mark Alexander <marka@cygnus.com> | |
833 | ||
834 | * remote-mips.c (mips_load): Ensure that PC gets updated | |
835 | after a load on LSI target. | |
836 | ||
234c4096 GN |
837 | Mon Apr 14 15:54:51 1997 Geoffrey Noer <noer@pizza.cygnus.com> |
838 | ||
839 | * procfs.c (notice_signals): fix typo | |
840 | ||
3ea58ef8 ILT |
841 | Mon Apr 14 16:25:10 1997 Ian Lance Taylor <ian@cygnus.com> |
842 | ||
843 | * gdbserver/Makefile.in (INSTALL): Change install.sh to | |
844 | install-sh. | |
845 | ||
5e127f76 GN |
846 | Mon Apr 14 11:55:27 1997 Geoffrey Noer <noer@pizza.cygnus.com> |
847 | ||
848 | * config/i386/cygwin32.mh: remove -lkernel32 from XM_CLIBS | |
849 | since gcc automatically includes it | |
850 | ||
234a732d GN |
851 | Thu Apr 10 13:20:53 1997 Geoffrey Noer <noer@cygnus.com> |
852 | ||
853 | * procfs.c: Substantial (but incomplete) changes to support | |
854 | sysv4.2mp procfs as implemented in UnixWare 2.1. The procinfo | |
855 | struct now has substructs like struct flt_ctl instead of | |
856 | just a fltset_t and has a ctl_fd, status_fd, as_fd, and | |
857 | map_fd instead of a single fd. Non-sysv4.2mp procfs models | |
858 | still have the structs and multiple fds, but don't use the | |
859 | entire struct and the four fds all point to the same thing. | |
860 | We use PROCFS_USE_READ_WRITE to decide whether to talk to | |
861 | procfs with reads/writes or use ioctl instead. We use | |
862 | HAVE_MULTIPLE_PROC_FDS to determine whether procfs really has | |
863 | multiple fds or not. PROC_NAME_FMT is split out into | |
864 | CTL_PROC_NAME_FMT, AS_PROC_NAME_FMT, MAP_PROC_NAME_FMT, | |
865 | STATUS_PROC_NAME_FMT. | |
866 | ||
867 | (procfs_notice_signals): now a necessary wrapper around | |
868 | (notice_signals): which are the new guts for noticing signals | |
869 | (open_proc_file): gets a new flag arg used in sysv4.2mp to | |
870 | determine whether or not to attempt to open the ctl_fd. | |
871 | (procfs_read_status): new local function, reads procfs status | |
872 | (procfs_write_pcwstop): new local function, writes a PCWSTOP | |
873 | (procfs_write_pckill): new local function, writes a PCKILL | |
874 | (unconditionally_kill_inferior): remove signo since we now | |
875 | just call procfs_write_pckill(). | |
876 | (procfs_xfer_memory): call lseek with SEEK_SET rather than 0 | |
877 | (proc_iterate_over_mappings): the whole function is ifdefed | |
878 | on UNIXWARE to keep things readable. | |
879 | ||
880 | Expanded the syscall_table to include new potential sysv4.2mp | |
881 | members. Note that all ifdefs of UNIXWARE should be eliminated | |
882 | if possible or renamed to describe what's being selected for a | |
883 | bit better. Sysv4.2mp and IRIX both have SYS_sproc so the | |
884 | IRIX specific code now also checks it's not UNIXWARE. | |
885 | ||
886 | * config/i386/tm-i386v42mp.h: also define HAVE_PSTATUS_T, | |
887 | HAVE_NO_PRRUN_T, PROCFS_USE_READ_WRITE, and UNIXWARE | |
888 | * config/mips/nm-irix4.h: set CTL_PROC_NAME_FMT et al to | |
889 | "/debug/%d" as PROC_NAME_FMT used to be | |
890 | ||
fc8d57c2 JL |
891 | Wed Apr 9 11:36:14 1997 Jeffrey A Law (law@cygnus.com) |
892 | ||
893 | * mn10300-tdep.c: Almost completely rewritten based on mn10200 | |
894 | port. | |
895 | * config/mn10300/tm-mn10300.h: Likewise. | |
896 | ||
524f442b SG |
897 | Tue Apr 8 10:45:24 1997 Stu Grossman (grossman@critters.cygnus.com) |
898 | ||
899 | * config/pa/{hppabsd.mt hppahpux.mt hppaosf.mt}: Remove | |
900 | remote-pa.o from TDEPFILES. Nobody uses it, and besides, it's a | |
901 | lousy out-of-date clone of remote.c. | |
902 | ||
0a325463 SG |
903 | Fri Apr 4 08:21:21 1997 Stu Grossman (grossman@critters.cygnus.com) |
904 | ||
a057f07b SG |
905 | * remote.c: Fix problems realized while showering. |
906 | * (hexnumlen): Add prototype. Use max, not min. | |
907 | * (remote_write_bytes remote_read_bytes): Fix max packet size | |
908 | calculations to properly account for packet overhead. Also handle | |
909 | (probably rare) case where remote_register_buf_size isn't set. | |
910 | ||
0a325463 SG |
911 | * remote.c: Fix doc for `C' and `S' commands to indicate full |
912 | address. | |
913 | * (remote_ops extended_remote_ops remote_desc remote_write_size): | |
914 | Make static. | |
915 | * (remote_fetch_registers remote_write_bytes remote_read_bytes): | |
916 | Record size of response to fetch registers command, use this to | |
917 | limit size of memory read and write commands. | |
918 | * (push_remote_target): New function to make it possible to have | |
919 | another target switch to the remote target. | |
920 | * target.h: Add prototype for push_remote_target. | |
921 | * sh-tdep.c (sh_frame_find_saved_regs): Fix sign extension bugs | |
922 | for hosts which default to unsigned chars (such as SGI's). | |
923 | * (_initialize_sh_tdep): Don't set remote_write_size. It's now | |
924 | handled automatically in remote.c. | |
925 | ||
b9580b81 MS |
926 | Thu Apr 3 15:10:30 1997 Michael Snyder <msnyder@cleaver.cygnus.com> |
927 | ||
928 | * blockframe.c: blockvector_for_pc_sect(), block_for_pc_sect(), | |
929 | find_pc_sect_function(), find_pc_sect_partial_function(): new | |
930 | functions for debugging overlays; pc without section is ambiguous. | |
931 | * breakpoint.[ch]: add section pointer to breakpoint struct; | |
932 | add section argument to check_duplicates(); check section as well | |
933 | as pc in [breakpoint_here_p(), breakpoint_inserted_here_p(), | |
934 | breakpoint_thread_match(), bpstat_stop_status()]; | |
935 | add section argument to describe_other_breakpoints(); | |
936 | use INIT_SAL() macro to zero-out new sal structures; | |
937 | make resolve_sal_pc() fix up the sal's section as well as its pc; | |
938 | match on section + pc in clear_command() and delete_breakpoint(); | |
939 | account for overlay sections in insert_breakpoints(), | |
940 | remove_breakpoint() and breakpoint_re_set_one(); | |
941 | all this to support overlays where a PC is not unique. | |
942 | * exec.c: change xfer_memory() to handle overlay sections. | |
943 | * findvar.c: change read_var_value() to handle overlay sections. | |
944 | * frame.h: declaration for block_for_pc_sect() [blockframe.c]. | |
945 | * infcmd.c: jump_command() warns against jumping into an overlay | |
946 | that's not in memory. Also use INIT_SAL() to initialize sals. | |
947 | * infrun.c: wait_for_inferior() sets a flag to invalidate cached | |
948 | overlay state information; Also use INIT_SAL() to init sals. | |
949 | * m32r-rom.c: modify load routines to use LMA instead of VMA. | |
950 | * m32r-stub.c: mask exit value down to 8 bits; screen out any | |
951 | memory read/writes in the range 600000 to a00000, and ff680000 | |
952 | to ff800000 (hangs because nothing is mapped there); fix strcpy(). | |
953 | * maint.c: maintenance command "translate-address" supports overlays. | |
954 | * minsyms.c: lookup_minimal_symbol_by_pc_sect() supports overlays. | |
955 | * objfiles.[ch]: add ovly_mapped field to the obj_section struct; | |
956 | this constitutes gdb's internal overlay mapping table. Add macro | |
957 | ALL_OBJSECTIONS() to loop thru the obj_structs and look at overlays. | |
958 | Add function find_pc_sect_section(). | |
959 | * printcmd.c: modify print_address_symbolic() with overlay smarts; | |
960 | modify address_info() with overlay smarts; add function sym_info() | |
961 | to support the INFO SYMBOL command (translate address to symbol(s)); | |
962 | modify disassemble_command() to work on unmapped overlays. | |
963 | * source.c: use INIT_SAL() to initialize sals. | |
964 | * symfile.[ch]: change generic_load() to use section's LMA address | |
965 | instead of VMA address, for overlay sections. | |
966 | Add numerous functions for finding a PC's section / overlay, | |
967 | translating between VMA and LMA address ranges, determining if an | |
968 | overlay section is mapped, etc. Add several user commands for | |
969 | overlay debugging. Add support for a "generic" form of automatically | |
970 | reading overlay mapping info from the inferior (based on the default | |
971 | (simple) overlay manager which Cygnus provides as an example). | |
972 | * symtab.[ch]: add functions find_pc_sect_symtab(), | |
973 | find_pc_sect_psymtab(), find_pc_sect_psymbol(), find_pc_sect_line() | |
974 | for lookup; modify lookup_symbol and decode_line_1() to use them; | |
975 | modify find_function_start_sal() to account for overlay sections; | |
976 | add macro INIT_SAL() for initializing struct symtab_and_line. | |
977 | * target.c: fix a comment in the declaration of target_ops. | |
978 | ||
4eb4b87e MA |
979 | Thu Apr 3 10:31:12 1997 Mark Alexander <marka@cygnus.com> |
980 | ||
981 | * mips-tdep.c (mips_in_call_stub, mips_in_return_stub, | |
982 | mips_skip_stub, mips_ignore_helper): New functions for dealing | |
983 | with MIPS16 call/return thunks. | |
984 | (mips_init_frame_pc_first): New function to implement | |
985 | INIT_FRAME_PC_FIRST macro; includes code from old macro plus | |
986 | new code to skip over MIPS16 thunks. | |
987 | (mips_frame_chain): Skip over MIPS16 thunks. | |
988 | * config/mips/tm-mips.h (mips_in_call_stub, mips_in_return_stub, | |
989 | mips_skip_stub, mips_ignore_helper): Declare. | |
990 | (IN_SOLIB_CALL_TRAMPOLINE, IN_SOLIB_RETURN_TRAMPOLINE, | |
991 | SKIP_TRAMPOLINE_CODE, IGNORE_HELPER_CALL): New macros that invoke | |
992 | the above functions. | |
993 | (INIT_FRAME_PC_FIRST): Change to invoke mips_init_frame_pc. | |
994 | (mips_init_frame_pc): Declare. | |
995 | * infrun.c (wait_for_inferior): Use new IGNORE_HELPER_CALL macro | |
996 | to decide if certain library function calls should be ignored. | |
997 | ||
99097077 DE |
998 | Wed Apr 2 14:16:51 1997 Doug Evans <dje@canuck.cygnus.com> |
999 | ||
1000 | * remote-sim.c (gdbsim_open): Check return code from sim_open. | |
78077ce6 | 1001 | Update call to sim_open (new arg SIM_OPEN_DEBUG). |
99097077 DE |
1002 | |
1003 | start-sanitize-gdbtk | |
1004 | Tue Apr 1 15:04:21 1997 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
1005 | ||
1006 | * configure.in (gdbtcl): Create soft-link for gdbtcl/ directory instead | |
1007 | of gdbtk.tcl. | |
1008 | ||
1009 | end-sanitize-gdbtk | |
0cb7d01d ILT |
1010 | Mon Mar 31 14:55:53 1997 Ian Lance Taylor <ian@cygnus.com> |
1011 | ||
1012 | * gdbinit.in: New file. | |
1013 | * .gdbinit: Remove. | |
1014 | * configure.in: Generate .gdbinit from gdbinit.in. | |
1015 | * configure: Rebuild. | |
1016 | ||
538fd878 FF |
1017 | start-sanitize-tic80 |
1018 | Sun Mar 30 12:28:24 1997 Fred Fish <fnf@cygnus.com> | |
1019 | ||
1020 | * config/tic80/tic80.mt: Disable using the simulator | |
1021 | until it is ready. | |
1022 | ||
1023 | end-sanitize-tic80 | |
681a0ade FF |
1024 | Sat Mar 29 13:57:20 1997 Fred Fish <fnf@cygnus.com> |
1025 | ||
1026 | * COPYING: Install new version of file from FSF. | |
1027 | * copying.c (show_copying_command): Update FSF address. | |
1028 | ||
cd6a4409 ILT |
1029 | Fri Mar 28 18:33:41 1997 Ian Lance Taylor <ian@cygnus.com> |
1030 | ||
1031 | * Makefile.in (distclean): Remove .gdbinit. | |
1032 | ||
7fcf0be5 | 1033 | start-sanitize-tic80 |
7c0cb2b7 | 1034 | Fri Mar 28 15:37:30 1997 Fred Fish <fnf@cygnus.com> |
7fcf0be5 FF |
1035 | |
1036 | * config/tic80/tm-tic80.h (NAMES_HAVE_UNDERSCORE): Define. | |
1037 | ||
1038 | end-sanitize-tic80 | |
1039 | Fri Mar 28 15:38:04 1997 Mike Meissner <meissner@cygnus.com> | |
1040 | ||
1041 | * remote-sim.c (gdb_os_{,e}vprintf_filtered): Change stdarg type | |
1042 | to va_list from void *, since va_list might not be a pointer | |
1043 | type. | |
1044 | ||
253c591b JM |
1045 | start-sanitize-gdbtk |
1046 | Fri Mar 28 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
1047 | ||
1048 | * Makefile.in (gdbtk.o): look for GDBTK_LIBRARY in $(datadir) by | |
1049 | default, not $(srcdir). | |
1050 | ||
1051 | end-sanitize-gdbtk | |
b68b9783 MA |
1052 | Thu Mar 27 14:21:46 1997 Mark Alexander <marka@cygnus.com> |
1053 | ||
1054 | * remote-mips.c: Clean up comment and extraneous semicolon | |
1055 | for mips_monitor_prompt variable. | |
1056 | ||
8e493b61 MA |
1057 | Thu Mar 27 12:46:58 1997 Mark Alexander <marka@cygnus.com> |
1058 | ||
1059 | * remote-mips.c: Add `set monitor-prompt' command. | |
1060 | ||
1061 | Wed Mar 26 06:47:44 1997 Mark Alexander <marka@cygnus.com> | |
1062 | ||
1063 | Fix from Peter Schauer: | |
1064 | * mdebugread.c (parse_procedure): Set address of procedure to | |
1065 | block start; this fixes problems with shared libraries introduced | |
1066 | by change of Mar 21. | |
1067 | ||
2f472f92 GN |
1068 | Mon Mar 24 19:43:16 1997 Geoffrey Noer <noer@cygnus.com> |
1069 | ||
1070 | * symtab.c (find_pc_symtab): change to support the case | |
1071 | where the objfile is reordered and contains both coff and | |
1072 | stabs debugging info (continue on if a psymtab isn't found). | |
1073 | ||
87ee3602 MA |
1074 | Sun Mar 23 16:19:20 1997 Mark Alexander <marka@cygnus.com> |
1075 | ||
2f472f92 | 1076 | Fixes from Peter Schauer: |
87ee3602 MA |
1077 | * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE, |
1078 | REGISTER_CONVERT_FROM_TYPE): Swap words if target, not host, | |
1079 | is big-endian and if registers are 32 bits. | |
1080 | * mips-tdep.c (mips_print_register, mips_extract_return_value, | |
1081 | mips_store_return_value): Fix floating-point word-order problems on | |
1082 | little-endian targets introduced by changes of Mar 21. | |
1083 | ||
a9b9b407 SS |
1084 | Sun Mar 23 15:43:27 1997 Stan Shebs <shebs@andros.cygnus.com> |
1085 | ||
1086 | * remote.c (target_resume_hook, target_wait_loop_hook): New | |
1087 | globals. | |
1088 | (remote_resume, remote_wait): Use them. | |
1089 | * d10v-tdep.c: Set the above hooks. | |
1090 | (tracesource): New GDB variable, controls source display in | |
1091 | traces. | |
1092 | (display_trace): Find and display source line if requested. | |
1093 | (trace_info): Mention empty trace buffer if appropriate. | |
1094 | (tdisassemble_command): Robustify argument handling. | |
94626fd1 SS |
1095 | |
1096 | * configure.host: Remove extra bogus Linux case. | |
1097 | ||
12967062 FF |
1098 | Sat Mar 22 16:41:35 1997 Fred Fish <fnf@cygnus.com> |
1099 | ||
1100 | * remote-sim.c (simulator_command): Add comment about dealing with | |
1101 | NULL or empty args. | |
1102 | start-sanitize-tic80 | |
1103 | * Makefile.in (tic80-tdep.o): Add target. | |
1104 | * configure.tgt: Add tic80 case. | |
1105 | * tic80-tdep.c: New file. | |
1106 | * config/tic80/{tic80.mt, tm-tic80.h}: New files. | |
1107 | end-sanitize-tic80 | |
1108 | ||
07422705 PS |
1109 | Sat Mar 22 02:48:11 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1110 | ||
1111 | * c-exp.y (yylex): Handle nested template parameter lists. | |
1112 | * symtab.c (decode_line_2): Fix test for valid choice number. | |
1113 | ||
c81a76b3 MA |
1114 | Fri Mar 21 19:10:05 1997 Mark Alexander <marka@cygnus.com> |
1115 | ||
1116 | * mips-tdep.c (mips_push_arguments): On non-EABI architectures, | |
1117 | copy first two floating point arguments to general registers, so that | |
1118 | MIPS16 functions will receive the arguments correctly. | |
1119 | (mips_print_register): Print double registers correctly on | |
1120 | little-endian hosts. | |
1121 | (mips_extract_return_value): Return double values correctly | |
1122 | on little-endian hosts. | |
1123 | ||
1124 | * mdebugread.c (parse_procedure): Adjust address of procedure relative | |
1125 | to address in file descriptor record; this accounts for constant | |
1126 | strings that may precede functions in the text section. Remove | |
1127 | now-useless lowest_pdr_addr from argument list and all calls. | |
1128 | ||
23e92f3f MM |
1129 | Fri Mar 21 15:36:25 1997 Michael Meissner <meissner@cygnus.com> |
1130 | ||
1131 | * configure.tgt (powerpc*-{eabi,linux,sysv,elf}*): Determine | |
1132 | whether the simulator will be built by whether the Makefile in the | |
1133 | simulator directory was built. | |
1134 | ||
1135 | * configure.in (--enable-sim-powerpc): Delete switch. | |
1136 | * configure: Regenerate. | |
1137 | ||
011fa671 JL |
1138 | Thu Mar 20 20:52:04 1997 Jeffrey A Law (law@cygnus.com) |
1139 | ||
fe380dcc JL |
1140 | * mn10200-tdep.c (mn10200_analyze_prologue): Look for save of "a1" |
1141 | in the prologue too. | |
1142 | ||
011fa671 JL |
1143 | * remote-sim.c (gdb_os_vprintf_filtered): Fix to work with non-ANSI |
1144 | compilers. | |
1145 | (gdb_os_evprintf_filtered): Similarly. | |
1146 | ||
1147 | Wed Mar 19 16:13:22 1997 Geoffrey Noer <noer@pizza.cygnus.com> | |
1148 | ||
1149 | New UnixWare 2.1 configuration | |
1150 | * config/i386/i386v42mp.mt: new | |
1151 | * config/i386/i386v42mp.mh: new | |
1152 | * config/i386/tm-i386v42mp.h: new | |
1153 | * config/i386/nm-i386v42mp.h: new | |
1154 | * configure.tgt: added new entries | |
1155 | * configure.host: added new entries | |
1156 | ||
8a19b35a | 1157 | start-sanitize-gdbtk |
23e92f3f | 1158 | Wed Mar 19 15:16:17 1997 Martin M. Hunt <hunt@onions.cygnus.com> |
8a19b35a MH |
1159 | |
1160 | * Makefile.in: Install gdbtcl dir instead of gdbtk.tcl. | |
1161 | ||
1162 | * gdbtk.c: Added some ifdefs for Windows. Changed GDBTK_FILENAME | |
1163 | to GDBTK_LIBRARY, which is now a path to search. | |
1164 | (gdb_path_conv): New function. Convert Cygwin32 pathname to | |
1165 | DOS-style pathname. | |
1166 | ||
23e92f3f | 1167 | * {aclocal.m4,configure.in}: Changes for Windows builds. |
8a19b35a MH |
1168 | |
1169 | * configure: Rebuilt. | |
1170 | ||
1171 | end-sanitize-gdbtk | |
3295179c C |
1172 | Mon Mar 17 17:52:00 1997 J.T. Conklin <jtc@cygnus.com> |
1173 | ||
1174 | * dsrec.c (load_srec): Print leading zeroes when printing section | |
1175 | addresses. | |
1176 | ||
48ae8057 AC |
1177 | Mon Mar 17 15:00:16 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
1178 | ||
1179 | * remote-sim.h: Delete - moved to ../include/remote-sim.h. | |
1180 | ||
1181 | * Makefile.in (remote_utils_h): Update path to remote-sim.h. | |
1182 | ||
1183 | Fri Mar 7 20:55:28 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1184 | ||
1185 | * remote-sim.c (flush_stdout, write_stderr, flush_stderr, | |
1186 | vprintf_filtered, evprintf_filtered): Callbacks that accept | |
1187 | varargs. | |
1188 | ||
ac7a8760 PS |
1189 | Sat Mar 15 00:50:46 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1190 | ||
1191 | * breakpoint.c (insert_breakpoints, watchpoint_check, | |
1192 | bpstat_stop_status): Do not disable watchpoints going out of scope. | |
1193 | (insert_breakpoints): Make sure that the current frame is valid | |
1194 | before calling find_frame_addr_in_frame_chain. | |
1195 | ||
1196 | * top.c (setup_user_args): Handle quotes and backslashes. | |
1197 | (print_gdb_version): Update copyright year. | |
1198 | ||
a3ee56ec ILT |
1199 | Fri Mar 14 15:44:03 1997 Ian Lance Taylor <ian@cygnus.com> |
1200 | ||
1201 | * Makefile.in (elfread.o): Depend upon elf-bfd.h and elf/mips.h. | |
1202 | ||
46964086 TT |
1203 | start-sanitize-gdbtk |
1204 | Fri Mar 14 10:01:29 1997 Tom Tromey <tromey@cygnus.com> | |
1205 | ||
1206 | * configure: Regenerated. | |
1207 | * configure.in (LIBS): Re-reverse order of TCL_LIBS and TK_LIBS. | |
1208 | ||
1209 | end-sanitize-gdbtk | |
35a78bd0 DP |
1210 | Thu Mar 13 22:51:00 1997 Dawn Perchik <dawn@cygnus.com> |
1211 | ||
a3ee56ec ILT |
1212 | * utils.c (pollquit, notice_quit): If _WIN32, limit test for |
1213 | cntl-C to wingdb. | |
35a78bd0 DP |
1214 | (initialize_utils): If _WIN32, don't call ScreenRows and ScreenCols |
1215 | except under wingdb. (Contributed by Martin Hunt). | |
1216 | ||
f02156cf TT |
1217 | Thu Mar 13 12:40:49 1997 Tom Tromey <tromey@cygnus.com> |
1218 | ||
1219 | * configure: Regenerated. | |
1220 | * configure.in: Run AC_CONFIG_AUX_DIR before AC_CANONICAL_SYSTEM. | |
1221 | ||
286f83b4 DE |
1222 | Thu Mar 13 11:00:22 1997 Doug Evans <dje@canuck.cygnus.com> |
1223 | ||
1224 | * remote-sim.h (sim_state, SIM_DESC): New types. | |
1225 | (sim_open): Return a `descriptor' as result. | |
1226 | (*): New argument of descriptor result from sim_open. | |
1227 | * remote-sim.c (gdbsim_desc): Renamed from gdbsim_open_p. | |
1228 | (gdbsim_open): Record result of sim_open in gdbsim_desc. | |
1229 | Pass argv list to sim_open, argv[0] = pseudo program name. | |
1230 | (*): Pass gdbsim_desc to sim_foo fns. | |
1231 | ||
f02156cf TT |
1232 | Wed Mar 12 14:40:06 1997 Tom Tromey <tromey@cygnus.com> |
1233 | ||
1234 | * config.in: Regenerated. | |
1235 | ||
1236 | * acconfig.h (START_INFERIOR_TRAPS_EXPECTED, sys_quotactl, | |
1237 | HAVE_HPUX_THREAD_SUPPORT): Define. | |
1238 | ||
1239 | start-sanitize-gdbtk | |
1240 | Wed Mar 12 14:29:52 1997 Tom Tromey <tromey@cygnus.com> | |
1241 | ||
1242 | * gdbtk.c (x_event): Use Tcl_DoOneEvent, TCL_DONT_WAIT, | |
1243 | TCL_ALL_EVENTS. | |
1244 | ||
1245 | * configure: Regenerated. | |
1246 | * configure.in (ENABLE_GDBTK): Put TCL_LIBS after TK_LIBS in | |
1247 | LIBS. | |
1248 | ||
1249 | end-sanitize-gdbtk | |
286f83b4 DE |
1250 | Tue Mar 11 07:25:27 1997 Mark Alexander <marka@cygnus.com> |
1251 | ||
1252 | First cut at supporting simulators in gdbserver: | |
1253 | ||
1254 | * configure, configure.in: Allow gdbserver to be configured | |
1255 | for cross-target environments. | |
1256 | * gdbserver/Makefile.in: Add simulator support. | |
1257 | * gdbserver/configure.in: Eliminate assumption that host == target. | |
1258 | Simplify using gdb/configure.tgt and gdb/configure.host. | |
1259 | Fix other minor configuration errors. | |
1260 | * gdbserver/low-sparc.c: Fix compile error. | |
1261 | * gdbserver/remote-utils.c: Eliminate assumption that registers | |
1262 | and addresses are four bytes. Fix minor compile errors and warnings. | |
1263 | * gdbserver/server.c: Rewrite numerous instances of identical code | |
1264 | for starting inferior processes to call new function start_inferior. | |
1265 | Eliminate assumption that registers and addresses are four bytes. | |
1266 | * gdbserver/server.h: Add missing prototypes to eliminate compiler | |
1267 | warnings. | |
1268 | * gdbserver/low-sim.c: New file to mate gdbserver with simulators. | |
1269 | * config/mips/vr5000.mt: Add Vr5000 simulator support to gdbserver. | |
1270 | * config/i386/linux.mh: Eliminate gdbserver support as a first step | |
1271 | in moving such support from host to target makefile fragments. | |
1272 | * config/i386/linux.mt: Move gdbserver support here from linux.mh. | |
1273 | ||
b18f1777 MS |
1274 | Mon Mar 10 12:27:47 1997 Michael Snyder <msnyder@cleaver.cygnus.com> |
1275 | ||
1276 | * symtab.h (INIT_SAL): New macro to initialize symtab_and_line, | |
1277 | to insure consistant initialization of unused fields to zero. | |
1278 | * symtab.c: replace initializations of sals with new macro INIT_SAL. | |
1279 | * breakpoint.c: ditto. | |
1280 | * infrun.c: ditto. | |
1281 | * infcmd.c: ditto. | |
1282 | * source.c: add call to INIT_SAL macro. | |
1283 | ||
a8d38bc5 PS |
1284 | Sat Mar 8 00:16:37 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1285 | ||
1286 | * sparc-tdep.c (isbranch): Always handle v9 branch instructions, | |
1287 | they might get used on 32 bit targets as well. | |
1288 | ||
db38473a BM |
1289 | Wed Mar 5 19:34:09 1997 Bob Manson <manson@charmed.cygnus.com> |
1290 | ||
1291 | * remote-mips.c (mips_exit_debug): Some IDT boards don't | |
1292 | send the full exit string. | |
1293 | ||
fc5c7595 JL |
1294 | Wed Mar 5 12:59:27 1997 Jeffrey A Law (law@cygnus.com) |
1295 | ||
1296 | * mn10200-tdep.c (mn10200_push_arguments): Handle new calling | |
1297 | conventions. | |
1298 | (mn10200_store_struct_return): Likewise. | |
1299 | ||
1300 | Tue Mar 4 10:31:02 1997 Mark Alexander <marka@cygnus.com> | |
1301 | ||
1302 | * mips-tdep.c (mips_fetch_instruction): New function; replace | |
1303 | common code throughout with calls to it. | |
1304 | (mips_find_saved_regs): Examine MIPS16 entry instruction to determine | |
1305 | correct saved addresses of $s0 and $s1. | |
1306 | (mips_find_saved_regs, mips16_heuristic_proc_desc): Use MIPS_REGSIZE | |
1307 | instead of hardcoded 4. | |
1308 | (mips16_skip_prologue): Handle extended instructions correctly. | |
1309 | ||
ba5b9eba DE |
1310 | Mon Mar 3 12:29:20 1997 Doug Evans <dje@canuck.cygnus.com> |
1311 | ||
1312 | * defs.h (LONGEST): Move #ifndef LONGEST to outside. | |
1313 | Try BFD_HOST_64_BIT if ! CC_HAS_LONG_LONG. | |
1314 | ||
c1fc0935 MA |
1315 | Thu Feb 27 18:54:11 1997 Mark Alexander <marka@cygnus.com> |
1316 | ||
1317 | * mips-tdep.c (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR): | |
1318 | New macros for testing, setting, and clearing bit 0 of addresses. | |
1319 | Change numerous bits of code where bit 0 was being manipulated | |
1320 | to use these macros. | |
1321 | ||
d6ca85a8 MA |
1322 | Thu Feb 27 14:12:41 1997 Mark Alexander <marka@cygnus.com> |
1323 | ||
1324 | * remote-mips.c: Put back the form feeds. | |
1325 | ||
266454ca MA |
1326 | Thu Feb 27 12:04:24 1997 Mark Alexander <marka@cygnus.com> |
1327 | ||
1328 | * remote-mips.c: Remove form feeds (^L) from source. | |
1329 | (mips_initialize): LSI PMON doesn't support 'set regsize' command. | |
1330 | (pmon_wait): Don't need to exit and re-enter debug mode on LSI | |
1331 | PMON after a continue; it causes target program misbehavior. | |
1332 | (mips_fetch_register): Don't fetch unsupported registers; this | |
1333 | cuts down on wasted serial traffic. | |
1334 | ||
bfde4a67 SG |
1335 | Thu Feb 27 09:38:16 1997 Stu Grossman (grossman@critters.cygnus.com) |
1336 | ||
c4c9112a SG |
1337 | * configure.in configure (HPUX/OSF thread support): Enable this |
1338 | only when running GCC, since HP's thread header files use ANSI C | |
1339 | which is not supported by their default compiler. | |
1340 | ||
bfde4a67 SG |
1341 | * configure.host (i[3456]86-*-windows): Disable long long |
1342 | support for WinGDB. Add mswin to configdirs. | |
1343 | * configure.in configure: Move calls to configure.host and | |
1344 | configure.tgt to the top of configure.in to allow them to set | |
1345 | config variables before they are referenced. | |
1346 | ||
1347 | Tue Feb 25 20:21:52 1997 Stan Shebs <shebs@andros.cygnus.com> | |
1348 | ||
1349 | * configure.tgt (mips*-*-lnews*): New target. | |
1350 | ||
1351 | Mon Feb 24 16:35:00 1997 Jeffrey A Law (law@cygnus.com) | |
1352 | ||
1353 | * mn10200-tdep.c (mn10200_analyze_prologue): Don't fix fi->frame | |
1354 | if we're not the innermost frame. Fix minor typos. | |
1355 | ||
f3cc5a0e PS |
1356 | Sat Feb 22 03:39:50 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1357 | ||
1358 | * stabsread.c (read_type): Fix handling of template names | |
1359 | with template parameters containing `::'. | |
1360 | ||
1361 | * valops.c (search_struct_field, search_struct_method): | |
1362 | Pass correct valaddr parameter to baseclass_offset. | |
1363 | Prevent gdb crashes by making sure that the virtual base pointer | |
1364 | from an user object still points to accessible memory. | |
1365 | ||
6e5d087d MA |
1366 | Tue Feb 18 13:36:34 1997 Mark Alexander <marka@cygnus.com> |
1367 | ||
1368 | * maint.c: Eliminate -Wall warnings by including some header files. | |
1369 | ||
1387cba1 MA |
1370 | Tue Feb 18 13:06:30 1997 Mark Alexander <marka@cygnus.com> |
1371 | ||
1372 | * remote-sim.c (init_callbacks): Undo previous change. | |
1373 | ||
1374 | Tue Feb 18 11:13:00 1997 Dawn Perchik <dawn@cygnus.com> | |
1375 | ||
1376 | * maint.c: Fix dereference of pointer. | |
1377 | * remote-sim.c: Fix reference of structure member "last_error". | |
1378 | * debugify.c: Include config.h to get ANSI definitions. | |
1379 | ||
e1a51cc2 SG |
1380 | Sat Feb 15 17:43:46 1997 Stu Grossman (grossman@critters.cygnus.com) |
1381 | ||
41e0a2b4 SS |
1382 | * remote-vx.c (vx_attach): Remove code added by kung. It made no |
1383 | sense. | |
e1a51cc2 | 1384 | |
4fbc396d ILT |
1385 | Fri Feb 14 13:00:07 1997 Ian Lance Taylor <ian@cygnus.com> |
1386 | ||
1387 | * main.c (print_gdb_help): Make static to match declaration. | |
16a43bf4 | 1388 | |
e36491f4 DP |
1389 | Thu Feb 13 18:18:18 1997 Dawn Perchik <dawn@cygnus.com> |
1390 | ||
1391 | * remote-e7000.c, ser-e7kpc.c, serial.c: Remove // comments. | |
1392 | ||
8662603f DP |
1393 | Wed Feb 12 15:58:00 1997 Dawn Perchik <dawn@cygnus.com> |
1394 | ||
1395 | * debugify.c, debugify.h: Make safe for non-ansi compilers. | |
1396 | ||
2dec4933 DP |
1397 | Wed Feb 12 15:30:00 1997 Dawn Perchik <dawn@cygnus.com> |
1398 | ||
1399 | * defs.h: Fix prototypes for new cleanup functions. | |
1400 | ||
27e81a4e DP |
1401 | Wed Feb 12 15:08:47 1997 Dawn Perchik <dawn@cygnus.com> |
1402 | ||
1403 | * debugify.c, debugify.h: Fix for general gnu use. Remove C++ | |
1404 | comment, add PARAMS, add license info and fix indentation. | |
1405 | ||
4659e3b3 DP |
1406 | Wed Feb 12 14:42:47 1997 Dawn Perchik <dawn@cygnus.com> |
1407 | ||
27e81a4e | 1408 | * debugify.c, debugify.h: New files. Provide common macros |
4659e3b3 DP |
1409 | for writing debug info to a log file or stdio. |
1410 | ||
be733f58 DP |
1411 | Wed Feb 12 02:44:39 1997 Dawn Perchik <dawn@cygnus.com> |
1412 | ||
1413 | * c-valprint.c (c_val_print): Fix printing for arrays defined | |
d9263d5f | 1414 | with 0 length. |
be733f58 | 1415 | |
16a43bf4 DP |
1416 | Tue Feb 11 22:24:39 1997 Dawn Perchik <dawn@cygnus.com> |
1417 | ||
1418 | * defs.h: Fix cntl-C to read from the Windows message queue. | |
1419 | Add prototypes for make_final_cleanup (and the other cleanup | |
1420 | routines. | |
1421 | * remote-e7000.c: Fix sync code to timeout if unable to sync. | |
1422 | Change sync code to report status while trying to sync-up | |
1423 | with hardware. Add debugging output and document. | |
1424 | * ser-e7kpc.c: Swap order of len & offset to match implementation. | |
1425 | Add debugging output and document. | |
1426 | * serial.c: Add debugging output. | |
1427 | * top.c: Add call to do_final_cleanups. | |
1428 | Remove conditionals preventing Win32 from getting SIGQUIT. | |
1429 | * utils.c: (*_cleanup): Modify cleanup routines to accept a cleanup | |
1430 | chain as a parameter. Extract this generic code from the cleanup | |
1431 | routines into separate funtions (*_my_cleanup). Keep old | |
1432 | functionality by passing "cleanup_chain" to the new funtions. | |
1433 | Define the cleanup chain "final_cleanup_chain" to be a cleanup | |
1434 | chain which will be executed only when gdb exits. Add functions | |
1435 | (*_final_cleanup) to match the original (*_cleanup) functions. | |
1436 | (pollquit, quit, notice_quit): Fix to read cntl-C from the | |
1437 | Windows message queue. | |
1438 | ||
46148567 DE |
1439 | Tue Feb 11 15:36:31 1997 Doug Evans <dje@canuck.cygnus.com> |
1440 | ||
1441 | * m32r-rom.c: #include <sys/types.h>. | |
1442 | #ifdef out new load support if wingdb. | |
1443 | * m32r/tm-m32r.h (TARGET_M32R): Define, for wingdb. | |
1444 | ||
25de138b JL |
1445 | Tue Feb 11 12:28:09 1997 Jeffrey A Law (law@cygnus.com) |
1446 | ||
8bd49d39 | 1447 | |
d601a41f JL |
1448 | * config/mn10200/tm-mn10200.h (STORE_STRUCT_RETURN): Fix. |
1449 | * mn10200-tdep.c (mn10200_store_struct_return): New function. | |
d601a41f | 1450 | |
527579ee JL |
1451 | * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE): Fix case when |
1452 | extracting a return value from a register pair. | |
1453 | ||
25de138b JL |
1454 | * mn10200-tdep.c (mn10200_push_arguments): Stack only needs to |
1455 | be two byte aligned. Round argument sizes up to two byte boundary. | |
1456 | Write out args in two byte hunks. | |
1457 | (mn10200_push_return_address): Implement. | |
1458 | * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE): Abort for | |
1459 | structures > 8 bytes (temporary). | |
1460 | (STORE_RETURN_VALUE): Likewise. | |
1461 | (CALL_DUMMY): No longer undefine. | |
1462 | (USE_STRUCT_CONVENTION): Use for args > 8 bytes. | |
1463 | (REG_STRUCT_HAS_ADDR): Define. | |
1464 | ||
276c2d7d GRK |
1465 | start-sanitize-r5900 |
1466 | Fri Feb 07 09:04:37 1997 Gavin Koch <gavin@cygnus.com> | |
1467 | ||
1468 | * configure.tgt: added r5900. | |
1469 | ||
1470 | end-sanitize-r5900 | |
7061bb0e MA |
1471 | Mon Feb 10 18:35:55 1997 Mark Alexander <marka@cygnus.com> |
1472 | ||
1473 | * mips-tdep.c (non_heuristic_proc_desc): New function. | |
1474 | (find_proc_desc): Move non-heuristic proc search code into separate | |
1475 | function. | |
1476 | (gdb_print_insn_mips): Use non-heuristic method to find procedure | |
1477 | descriptor, to avoid prologue examination when disassembling. | |
1478 | * remote-mips.c: Add support for new "lsi" target (LSI MiniRISC | |
1479 | aka MicroMeteor board). | |
1480 | (mips_exit_debug): Prevent protocol reinitialization if an error | |
1481 | occurs while exiting debug mode. | |
1482 | ||
efaf2b58 JL |
1483 | Mon Feb 10 16:11:57 1997 Jeffrey A Law (law@cygnus.com) |
1484 | ||
a698d0d0 JL |
1485 | * mn10200-tdep.c: Remove lots of debugging printfs, update/improve |
1486 | comments, formatting, etc. Plus other minor fixes for problems | |
1487 | I found during my first pass over the mn10200 port. | |
1488 | (mn10200_analyze_prologue): New function. | |
1489 | (mn10200_frame_chain, mn10200_init_extra_frame_info): Use it. | |
1490 | * config/mn10200/tm-mn10200.h: Lots of updates/improvements to | |
1491 | comments, formatting, etc. Minor fixes for problems I found during | |
1492 | my first pass over the mn10200 port. | |
1493 | (TARGET_*_BIT): Define appropriately for ints, long longs, doubles and | |
1494 | pointers. | |
1495 | (REGISTER_VIRTUAL_TYPE): Define as a long. | |
1496 | (EXTRACT_RETURN_VALUE): Rework to deal with long ints living | |
1497 | in register pairs. | |
1498 | (STORE_RETURN_VALUE): Similarly. | |
1499 | ||
efaf2b58 JL |
1500 | * blockframe.c (generic_get_saved_regs): Remove unused variable |
1501 | "addr". | |
1502 | * breakpoint.c (frame_in_dummy): Move struct breakpoint *b decl | |
1503 | inside #ifdef CALL_DUMMY. | |
1504 | (watch_command_1): Initialize target_resources_ok. | |
1505 | * command.c (do_setshow_command): Provide dummy initialization | |
1506 | for "match". | |
1507 | * valops.c (find_function_addr): Move function & prototype inside | |
1508 | #ifdef CALL_DUMMY. | |
1509 | (value_arg_coerce): Similarly. | |
1510 | (value_of_variable): Provide dummy initialization of "frame". | |
1511 | ||
41e0a2b4 | 1512 | start-sanitize-gdbtk |
40dffa42 SG |
1513 | Mon Feb 10 13:50:53 1997 Stu Grossman (grossman@critters.cygnus.com) |
1514 | ||
1515 | * gdbtk.c (call_wrapper): Clear running_now if an error occurs. | |
40dffa42 | 1516 | |
41e0a2b4 | 1517 | end-sanitize-gdbtk |
86fdcdaf FF |
1518 | Mon Feb 10 07:54:26 1997 Fred Fish <fnf@cygnus.com> |
1519 | ||
1520 | * xcoffread.c (RECORD_MINIMAL_SYMBOL): Add NULL asection* parameter | |
1521 | to prim_record_minimal_symbol_and_info call that was missed in Jan 3 | |
1522 | change. | |
1523 | (scan_xcoff_symtab): Ditto. | |
1524 | ||
32dab603 MA |
1525 | Sun Feb 09 09:23:26 1997 Mark Alexander <marka@cygnus.com> |
1526 | ||
1527 | * remote-mips.c (common_breakpoint): Prevent 64-bit addresses | |
1528 | from being sent to 32-bit targets by masking off upper bits. | |
1529 | * mips-tdep.c (heuristic_proc_start): Mask off upper 32 bits | |
1530 | of PC on 32-bit targets. | |
1531 | (mips16_heuristic_proc_desc): Recognize 'addiu s1,sp,n' as a | |
1532 | frame setup instruction. | |
1533 | (mips32_heuristic_proc_desc): Fix warning found by gcc -Wall. | |
1534 | (mips16_skip_prologue): Recognize 'addiu s1,sp,n' as a valid | |
1535 | prologue instruction. Fix warnings and bugs found by gcc -Wall. | |
1536 | * buildsym.c (finish_block): Improve handling of overlapping blocks; | |
1537 | fixes problem on MIPS16 printing function arguments. | |
1538 | ||
e7e98487 PS |
1539 | Sat Feb 8 01:14:43 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1540 | ||
1541 | * dwarf2read.c (dwarf2_linkage_name): New function to get | |
1542 | the linkage name of a die from DW_AT_MIPS_linkage_name or | |
1543 | DW_AT_name. | |
1544 | (read_func_scope, dwarf2_add_field, dwarf2_add_member_fn, | |
1545 | new_symbol): Use it instead of accessing DW_AT_name. | |
1546 | (read_partial_die): Use DW_AT_MIPS_linkage name as name of the | |
1547 | partial die if present. | |
1548 | (dwarf2_add_member_fn): Make a copy of physname on the type obstack. | |
1549 | ||
c301abbd JL |
1550 | Fri Feb 7 10:06:22 1997 Jeffrey A Law (law@cygnus.com) |
1551 | ||
1552 | * blockframe.c (generic_frame_chain_valid): If the new frame | |
1553 | is not INNER_THAN the old frame, then it's not valid. | |
1554 | ||
7d9e8fac MA |
1555 | Tue Feb 04 09:04:37 1997 Mark Alexander <marka@cygnus.com> |
1556 | ||
1557 | * mips-tdep.c (mips16_get_imm): Fix calculation of extended immediate. | |
1558 | (mips16_heuristic_proc_desc): Recognize jal(x) instruction. | |
1559 | ||
b348b9fd MA |
1560 | Mon Feb 03 17:57:58 1997 Mark Alexander <marka@cygnus.com> |
1561 | ||
1562 | * mips-tdep.c (mips16_decode_reg_save): Distinguish between | |
1563 | sd and sw instructions correctly. | |
1564 | (heuristic_proc_start): Add support for MIPS16. | |
1565 | (mips16_get_imm, mips16_heuristic_proc_desc, | |
1566 | mips32_heuristic_proc_desc): New helper functions for | |
1567 | heuristic_proc_desc. | |
1568 | (heuristic_proc_desc): Rewrite and reorganize to support MIPS16. | |
1569 | (mips_push_arguments): Don't align small arguments in EABI. | |
1570 | (mips32_skip_prologue): Attempt to shrink code size a little. | |
1571 | ||
fbfa4d54 MS |
1572 | Mon Feb 3 11:06:05 1997 Michael Snyder <msnyder@cleaver.cygnus.com> |
1573 | ||
1574 | * m32r-stub.c: New -- remote protocol support for M32R cpu. | |
1575 | * m32r-rom.c: Several experiments with improved download time. | |
fbfa4d54 | 1576 | |
20fa0902 MA |
1577 | Fri Jan 31 08:26:39 1997 Mark Alexander <marka@cygnus.com> |
1578 | ||
1579 | * mips-tdep.c (MIPS16_INSTLEN): Define. | |
1580 | (mips_find_saved_regs): Replace hardcoded 2's with MIPS16_INSTLEN. | |
1581 | (heuristic_proc_start): Recognize 'entry' pseudo-op as a start | |
1582 | of function on MIPS16. | |
1583 | (mips32_skip_prologue, mips16_skip_prologue): New helper functions | |
1584 | for mips_skip_prologue. | |
1585 | (mips_skip_prologue): Recognize both 16- and 32-bit prologues. | |
1586 | ||
7e2b3363 MM |
1587 | Wed Jan 29 12:45:54 1997 Michael Meissner <meissner@tiktok.cygnus.com> |
1588 | ||
1589 | * config/powerpc/ppc{,le}-sim.mt (SIM): Remove the library | |
1590 | ../sim/common/libcommon.a. | |
1591 | ||
b444216f MS |
1592 | Tue Jan 28 15:54:13 1997 Michael Snyder <msnyder@cleaver.cygnus.com> |
1593 | ||
1594 | * blockframe.c: fix a null pointer ref in generic_get_saved_register | |
1595 | ||
52c8ecee GN |
1596 | Tue Jan 28 15:39:50 1997 Geoffrey Noer <noer@cygnus.com> |
1597 | ||
bb6debca SS |
1598 | * mn10200-tdep.c (mn10200_frame_chain): Get basic backtracing |
1599 | working. | |
52c8ecee | 1600 | |
f9f8c14b MA |
1601 | Mon Jan 27 14:31:52 1997 Mark Alexander <marka@cygnus.com> |
1602 | ||
1603 | First set of changes for mips16: | |
1604 | * config/mips/tm-mips.h (MIPS16_BIG_BREAKPOINT, | |
1605 | MIPS16_LITTLE_BREAKPOINT, BREAKPOINT_FROM_PC): Define. | |
1606 | (ABOUT_TO_RETURN): Call new function mips_about_to_return. | |
1607 | (mips_breakpoint_from_pc, mips_about_to_return): Declare. | |
1608 | * mem-break.c (memory_breakpoint_from_pc): New function. | |
1609 | (memory_insert_breakpoint, memory_remove_breakpoint): Use | |
1610 | memory_breakpoint_from_pc to determine breakpoint contents and size. | |
1611 | * target.h (memory_breakpoint_from_pc): Declare. | |
1612 | * monitor.c (monitor_insert_breakpoint): Use memory_breakpoint_from_pc | |
1613 | to determine size of breakpoint instruction. | |
1614 | * mips-tdep.c (mips32_decode_reg_save, mips16_decode_reg_save): | |
1615 | New helper functions for mips_find_saved_regs. | |
1616 | (mips_find_saved_regs): Recognize mips16 prologues. | |
1617 | (mips_addr_bits_remove): Strip off upper 32 bits of address | |
1618 | when target CPU is 32 bits but CORE_ADDR is 64 bits. | |
1619 | (mips_step_skips_delay): No branch delay slot on mips16. | |
1620 | (gdb_print_insn_mips): Disassemble mips16 code. | |
1621 | (mips_breakpoint_from_pc, mips_about_to_return): New functions. | |
1622 | ||
ddc846e9 JL |
1623 | Mon Jan 27 10:34:03 1997 Jeffrey A Law (law@cygnus.com) |
1624 | ||
1625 | * tm-mn10200.h (NUM_REGS): Decrease to 12. | |
1626 | (REGISTER_NAMES): Elimination registers not found on the mn10200. | |
1627 | (PC_REGNUM, MDR_REGNUM, PSW_REGNUM): Corresponding changes. | |
1628 | (LIR_REGNUM, LAR_REGNUM): Delete. They don't exist on the mn10200. | |
1629 | ||
54995373 PS |
1630 | Sat Jan 25 00:07:59 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1631 | ||
1632 | * dwarf2read.c: Replace integral tag, name and form fields in | |
1633 | internal structure definitions with the corresponding enumeration | |
1634 | types from dwarf2.h. Add default cases to switches on enumerations | |
1635 | where appropriate. | |
1636 | Make quoting of string arguments in complaint messages consistent. | |
1637 | Check for NULL returns from DW_STRING. | |
1638 | (struct partial_die_info): Add sibling and has_type fields, remove | |
1639 | unused value field. | |
1640 | (DW_*): Move access macro definitions near the definition of the | |
1641 | attribute structure. | |
1642 | (struct field_info): New structure to pass information about fields | |
1643 | and member functions between die processing routines. | |
1644 | (dwarf2_build_psymtabs_hard): Set cu_header_offset. | |
1645 | (scan_partial_symbols): Do not enter DW_TAG_subprogram dies into | |
1646 | the partial symbol table if the DW_AT_*_pc attributes are missing. | |
1647 | Add file scope base type definitions to the partial symbol table. | |
1648 | Skip over child dies if the die has a sibling attribute. | |
1649 | (add_partial_symbol): Enter global variables with type attributes | |
1650 | and without location descriptors into the partial symbol table. | |
1651 | Store value of DW_TAG_variable dies in the partial symbol table. | |
1652 | Do not enter global variables into the minimal symbol table. | |
1653 | Add base type definitions to the partial symbol table. | |
1654 | (psymtab_to_symtab_1): Use dwarf2_get_pc_bounds to determine highpc. | |
1655 | (process_die): Move check for DW_AT_low_pc to read_func_scope. | |
1656 | Add a typedef symbol for base type definitions to the symbol table. | |
1657 | Ignore DW_TAG_inlined_subroutine tags for now. | |
1658 | (read_file_scope): Use dwarf2_get_pc_bounds to determine pc bounds. | |
1659 | (read_func_scope, read_lexical_block_scope): Use dwarf2_get_pc_bounds | |
1660 | to determine pc bounds, ignore dies with invalid bounds. | |
1661 | (dwarf2_get_pc_bounds): New routine to extract and validate the | |
1662 | DW_AT_*_pc attributes of a die. | |
1663 | (dwarf2_add_field, dwarf2_attach_fields_to_type, skip_member_fn_name, | |
1664 | dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type): | |
1665 | New functions to handle fields and member functions. | |
1666 | (read_structure_scope): Rewritten to use them. | |
1667 | (read_array_type): Renamed from dwarf_read_array_type. | |
1668 | Default upper array bound to describe an array with unspecified | |
1669 | length. | |
1670 | Create array types in backwards order, as dwarf2 puts out the array | |
1671 | dimensions from left to right. | |
1672 | (read_subroutine_type): Handle DW_TAG_unspecified_parameters, | |
1673 | DW_AT_artificial and DW_AT_prototyped. | |
1674 | (read_base_type): Make an unsigned type for DW_ATE_boolean. | |
1675 | Pass objfile to dwarf_base_type. | |
1676 | (read_partial_die): Use read_attribute to read in the attributes. | |
1677 | Handle DW_AT_sibling and DW_AT_type. | |
1678 | Follow references when determining DW_AT_name and DW_AT_external | |
1679 | attributes of the die. | |
1680 | Validate DW_AT_*_pc attributes. | |
1681 | (read_full_die): Use read_attribute to read in the attributes. | |
1682 | (read_attribute): New function to read an attribute described | |
1683 | by an abbreviated attribute. | |
1684 | (new_symbol): Relocate symbol value for DW_TAG_label with baseaddr. | |
1685 | Do not set SYMBOL_VALUE_ADDRESS for DW_TAG_subprogram, | |
1686 | SYMBOL_BLOCK_VALUE for the symbol will be set later by finish_block. | |
1687 | Change symbol class for global variables with a zero valued location | |
1688 | descriptor to LOC_UNRESOLVED. | |
1689 | Handle DW_AT_const_value attributes for DW_TAG_variable, | |
1690 | DW_TAG_formal_parameter and DW_TAG_enumerator. | |
1691 | Build a typedef symbol for DW_TAG_base_type. | |
1692 | (dwarf2_const_value): New routine to copy a constant value from an | |
1693 | attribute to a symbol. | |
1694 | (dwarf_base_type): Use passed in objfile, not current_objfile | |
1695 | when calling dwarf2_fundamental_type. | |
1696 | (dump_die): Use DW_* accessor macros to access values of attributes. | |
1697 | (decode_locdesc): Handle DW_OP_plus_uconst. | |
1698 | ||
879b9398 GN |
1699 | Wed Jan 22 01:31:16 1997 Geoffrey Noer <noer@cygnus.com> |
1700 | ||
bb6debca SS |
1701 | * mn10200-tdep.c: New file. |
1702 | * config/mn10200/tm-mn10200.h: New, REGISTER_SIZE is 24 bits not 32, | |
879b9398 | 1703 | SP_REGNUM and FP_REGNUM are different, also no lar or lir. |
bb6debca SS |
1704 | * config/mn10200/mn10200.mt: New file. |
1705 | * configure.tgt: add mn10200 entry. | |
879b9398 | 1706 | |
95b47547 SG |
1707 | Tue Jan 21 18:32:23 1997 Stu Grossman (grossman@lisa.cygnus.com) |
1708 | ||
1709 | * configure.in configure: Check if host has libdl if doing | |
1710 | Solaris threads. | |
1711 | ||
95efddf2 GN |
1712 | Tue Jan 21 17:03:26 1997 Geoffrey Noer <noer@cygnus.com> |
1713 | ||
bb6debca | 1714 | * mn10300-tdep.c: Wrote/fixed implementations of |
95efddf2 GN |
1715 | mn10300_frame_chain, mn10300_init_extra_frame_info, |
1716 | mn10300_frame_saved_pc | |
bb6debca SS |
1717 | * config/mn10300/tm-mn10300.h: Redefine INIT_EXTRA_FRAME_INFO |
1718 | and INIT_FRAME_PC macros. | |
95efddf2 | 1719 | |
ef6c51d1 SG |
1720 | Tue Jan 21 17:01:20 1997 Stu Grossman (grossman@lisa.cygnus.com) |
1721 | ||
1722 | * configure.in configure: Check if host has libm. Make sure we | |
1723 | are using gcc when using the -export-dynamic option. Fixes a | |
1724 | problem with building under Solaris/SunPro cc. | |
1725 | ||
f1536ab5 MA |
1726 | Mon Jan 20 13:52:13 1997 Mark Alexander <marka@cygnus.com> |
1727 | ||
1728 | * config/mips/{embed,embed64,embedl,embedl64}.mt: | |
1729 | Link in simulator on MIPS embedded targets. | |
1730 | ||
15cb042b PS |
1731 | Sat Jan 18 02:31:29 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1732 | ||
1733 | * blockframe.c (frameless_look_for_prologue): Mark frames | |
1734 | with a zero PC as frameless to improve backtraces from core dumps | |
1735 | caused by dereferencing a NULL function pointer. | |
1736 | ||
1bb1df85 GN |
1737 | Thu Jan 16 14:10:41 1997 Geoffrey Noer <noer@cygnus.com> |
1738 | ||
bb6debca | 1739 | * config/mn10300/tm-mn10300.h: fix BREAKPOINT definition. |
1bb1df85 GN |
1740 | |
1741 | Tue Jan 14 16:01:06 1997 Geoffrey Noer <noer@cygnus.com> | |
1742 | ||
1743 | * mn10300-tdep.c: made a lot more generic, ripping out code | |
1744 | from copied target (no more mn10300_scan_prologue, | |
1745 | init_extra_frame_info, and mn10300_fix_call_dummy calls) | |
1746 | * config/mn10300/tm-mn10300.h: undefine INIT_EXTRA_FRAME_INFO | |
1747 | and INIT_FRAME_PC macros | |
1748 | ||
afe56235 MS |
1749 | Thu Jan 9 11:44:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com> |
1750 | ||
1751 | * sparc-tdep.c (sparc_frame_find_saved_regs): Don't use | |
1752 | FP_REGISTER_BYTES to compute offsets into the saved frame, | |
1753 | since it fails for SPARC targets configured without any | |
1754 | FP regs. Instead, use DUMMY_STACK_REG_BUF_SIZE. | |
1755 | ||
34b22c5c SG |
1756 | Mon Jan 6 11:15:14 1997 Stu Grossman (grossman@critters.cygnus.com) |
1757 | ||
1758 | * symtab.c (fixup_symbol_section): Handle NULL symbols without | |
1759 | crashing. | |
1760 | ||
6c310da8 SG |
1761 | Fri Jan 3 12:08:16 1997 Stu Grossman (grossman@critters.cygnus.com) |
1762 | ||
1763 | * Makefile.in configure configure.in: Remove ENABLE_CLIBS, | |
1764 | ENABLE_OBS, and THREAD_DB_OBS. These are consolidated into LIBS | |
1765 | and CONFIG_OBS. | |
1766 | * configure configure.in: Clean up test cases around thread support. | |
1767 | start-sanitize-v850 | |
1768 | * configure.tgt (v850-*-*): Include v850ice.o and v850.lib if | |
1769 | host is Windows. | |
1770 | end-sanitize-v850 | |
1771 | * c-valprint.c ch-valprint.c cp-valprint.c eval.c expprint.c | |
1772 | printcmd.c valops.c value.h values.c: Add bfd_section arg to | |
1773 | value_at and value_at_lazy. | |
1774 | * coffread.c dbxread.c elfread.c mdebugread.c minsyms.c symtab.h: | |
1775 | Add bfd_section arg to prim_record_minimal_symbol_and_info. | |
1776 | * corefile.c gdbcore.h printcmd.c valops.c: Use read_memory_section | |
1777 | instead of read_memory. It takes a bfd_section arg. | |
1778 | * coffread.c dbxread.c elfread.c gdb-stabs.h objfiles.h: Remove | |
1779 | unnecessary cast for assignment of struct dbx_symfile_info. | |
1780 | Struct objfile now uses a real pointer instead of PTR for this | |
1781 | element. | |
1782 | * dbxread.c (dbx_symfile_init): Stash bfd section pointers for | |
1783 | text, data and bss into dbx_symfile_info. | |
1784 | * exec.c (xfer_memory): Handle transfers for user-specified | |
1785 | sections. | |
1786 | * findvar.c (read_var_value locate_var_value): Copy bfd section | |
1787 | from the symbol to the value. | |
1788 | * gdb-stabs.h: Add section pointers for text, data and bss | |
1789 | sections. | |
1790 | * maint.c (translate address command): Add test code for overlay | |
1791 | address translation. | |
1792 | * printcmd.c (do_examine do_one_display): Now takes a bfd section | |
1793 | arg. | |
1794 | * (print_formatted x_command): Record current section along with | |
1795 | current address for repeated commands. | |
1796 | * sparc-nat.c (fetch_inferior_registers): Change | |
1797 | target_xfer_memory to target_{read write}_memory to allow changes | |
1798 | to target_xfer_memory interface for section info. | |
1799 | * symmisc.c (dump_msymbols print_symbol): Print section | |
1800 | assocaited with symbol. | |
1801 | * symtab.c (fixup_symbol_section): New routine to | |
1802 | add section info to symbols returned by lookup_symbol. | |
1803 | * symtab.h (struct general_symbol_info): Add bfd section to | |
1804 | symbols. | |
1805 | * target.c target.h (target_xfer_memory): Add bfd section to | |
1806 | args. | |
1807 | * (target_read_memory_section): New routine to read data from a | |
1808 | specific section. | |
1809 | * (target_memory_bfd_section): New global variable to pass bfd | |
1810 | section in to targets. | |
1811 | * valarith.c (value_add value_addr value_array): Preserve bfd | |
1812 | section when computing new value. | |
1813 | * value.h (struct value): Add bfd section to values. | |
1814 | * values.c (allocate_value value_copy): Initialize/preserve bfd | |
1815 | section. | |
1816 | * (unpack_double): Clean up _MSC_VER conditionals to remove | |
1817 | duplicate code. | |
1818 | start-sanitize-v850 | |
1819 | * v850ice.c: New module to support communication with NEC's | |
1820 | PC-based ICE. | |
1821 | * config/v850/tm-v850.h (REGISTER_NAMES): Replace sp, gp, fp, and | |
1822 | ep names with rxx names. sp and fp are renamed via a different | |
1823 | mechanism. | |
1824 | end-sanitize-v850 | |
1825 | ||
3de76938 GN |
1826 | Fri Jan 3 14:20:05 1997 Geoffrey Noer <noer@cygnus.com> |
1827 | ||
bb6debca SS |
1828 | * mn10300-tdep.c (mn10300_push_arguments): rewrote, |
1829 | also removed code elsewhere that made use of RP_REGNUM. | |
4efc4045 GN |
1830 | * config/mn10300/tm-mn10300.h: ripped out RP_REGNUM, V0_REGNUM, |
1831 | ARG0_REGNUM, ARGLAST_REGNUM (all not appropriate for mn10300 | |
1832 | arch.), redefined SAVED_PC_AFTER_CALL, EXTRACT_RETURN_VALUE, | |
bb6debca | 1833 | EXTRACT_STRUCT_VALUE_ADDRESS, STORE_RETURN_VALUE. |
3dcd429f | 1834 | |
bb6debca | 1835 | For older changes see ChangeLog-96 |
bd5635a1 RP |
1836 | \f |
1837 | Local Variables: | |
1838 | mode: indented-text | |
1839 | left-margin: 8 | |
1840 | fill-column: 74 | |
1841 | version-control: never | |
1842 | End: |